aws-sdk-cloudfront 1.50.0 → 1.54.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +20 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudfront.rb +2 -2
- data/lib/aws-sdk-cloudfront/client.rb +155 -26
- data/lib/aws-sdk-cloudfront/client_api.rb +68 -0
- data/lib/aws-sdk-cloudfront/types.rb +323 -168
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b5e8322778a18124d71bf6129a11f9d7b5b47604860044b0f9b00980c27bd3aa
|
4
|
+
data.tar.gz: 5c733587914f63e426d1419979068ab6975dc26d971b5790e0f9c54b4294a3f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87149987d7093e1922db62b6cdb411ac7307de5d10d3a948f4850effc1e0c0e7b2975960075ef73c527cd9da243a518ebadea6b882c373c08dccbf4368922655
|
7
|
+
data.tar.gz: bc28a9cdb2a437764a1950d2c94a9ea37da4daca091aae2d0f077614a7e863c098c433a5a6787ba5516d1ca09c65bc69928745e2a9f9f75371d3e4cd574090e2
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,26 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.54.0 (2021-07-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
8
|
+
|
9
|
+
1.53.0 (2021-07-07)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Amazon CloudFront now provides two new APIs, ListConflictingAliases and AssociateAlias, that help locate and move Alternate Domain Names (CNAMEs) if you encounter the CNAMEAlreadyExists error code.
|
13
|
+
|
14
|
+
1.52.0 (2021-06-23)
|
15
|
+
------------------
|
16
|
+
|
17
|
+
* Feature - Amazon CloudFront adds support for a new security policy, TLSv1.2_2021.
|
18
|
+
|
19
|
+
1.51.0 (2021-05-26)
|
20
|
+
------------------
|
21
|
+
|
22
|
+
* Feature - Documentation fix for CloudFront
|
23
|
+
|
4
24
|
1.50.0 (2021-04-30)
|
5
25
|
------------------
|
6
26
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.54.0
|
data/lib/aws-sdk-cloudfront.rb
CHANGED
@@ -29,7 +29,7 @@ require_relative 'aws-sdk-cloudfront/customizations'
|
|
29
29
|
# structure.
|
30
30
|
#
|
31
31
|
# cloud_front = Aws::CloudFront::Client.new
|
32
|
-
# resp = cloud_front.
|
32
|
+
# resp = cloud_front.associate_alias(params)
|
33
33
|
#
|
34
34
|
# See {Client} for more information.
|
35
35
|
#
|
@@ -49,6 +49,6 @@ require_relative 'aws-sdk-cloudfront/customizations'
|
|
49
49
|
# @!group service
|
50
50
|
module Aws::CloudFront
|
51
51
|
|
52
|
-
GEM_VERSION = '1.
|
52
|
+
GEM_VERSION = '1.54.0'
|
53
53
|
|
54
54
|
end
|
@@ -327,6 +327,50 @@ module Aws::CloudFront
|
|
327
327
|
|
328
328
|
# @!group API Operations
|
329
329
|
|
330
|
+
# Associates an alias (also known as a CNAME or an alternate domain
|
331
|
+
# name) with a CloudFront distribution.
|
332
|
+
#
|
333
|
+
# With this operation you can move an alias that’s already in use on a
|
334
|
+
# CloudFront distribution to a different distribution in one step. This
|
335
|
+
# prevents the downtime that could occur if you first remove the alias
|
336
|
+
# from one distribution and then separately add the alias to another
|
337
|
+
# distribution.
|
338
|
+
#
|
339
|
+
# To use this operation to associate an alias with a distribution, you
|
340
|
+
# provide the alias and the ID of the target distribution for the alias.
|
341
|
+
# For more information, including how to set up the target distribution,
|
342
|
+
# prerequisites that you must complete, and other restrictions, see
|
343
|
+
# [Moving an alternate domain name to a different distribution][1] in
|
344
|
+
# the *Amazon CloudFront Developer Guide*.
|
345
|
+
#
|
346
|
+
#
|
347
|
+
#
|
348
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move
|
349
|
+
#
|
350
|
+
# @option params [required, String] :target_distribution_id
|
351
|
+
# The ID of the distribution that you’re associating the alias with.
|
352
|
+
#
|
353
|
+
# @option params [required, String] :alias
|
354
|
+
# The alias (also known as a CNAME) to add to the target distribution.
|
355
|
+
#
|
356
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
357
|
+
#
|
358
|
+
# @example Request syntax with placeholder values
|
359
|
+
#
|
360
|
+
# resp = client.associate_alias({
|
361
|
+
# target_distribution_id: "string", # required
|
362
|
+
# alias: "string", # required
|
363
|
+
# })
|
364
|
+
#
|
365
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/AssociateAlias2020_05_31 AWS API Documentation
|
366
|
+
#
|
367
|
+
# @overload associate_alias(params = {})
|
368
|
+
# @param [Hash] params ({})
|
369
|
+
def associate_alias(params = {}, options = {})
|
370
|
+
req = build_request(:associate_alias, params)
|
371
|
+
req.send_request(options)
|
372
|
+
end
|
373
|
+
|
330
374
|
# Creates a cache policy.
|
331
375
|
#
|
332
376
|
# After you create a cache policy, you can attach it to one or more
|
@@ -750,7 +794,7 @@ module Aws::CloudFront
|
|
750
794
|
# iam_certificate_id: "string",
|
751
795
|
# acm_certificate_arn: "string",
|
752
796
|
# ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
|
753
|
-
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
|
797
|
+
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019, TLSv1.2_2021
|
754
798
|
# certificate: "string",
|
755
799
|
# certificate_source: "cloudfront", # accepts cloudfront, iam, acm
|
756
800
|
# },
|
@@ -935,7 +979,7 @@ module Aws::CloudFront
|
|
935
979
|
# resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
|
936
980
|
# resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
|
937
981
|
# resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
|
938
|
-
# resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
|
982
|
+
# resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019", "TLSv1.2_2021"
|
939
983
|
# resp.distribution.distribution_config.viewer_certificate.certificate #=> String
|
940
984
|
# resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
941
985
|
# resp.distribution.distribution_config.restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
@@ -1210,7 +1254,7 @@ module Aws::CloudFront
|
|
1210
1254
|
# iam_certificate_id: "string",
|
1211
1255
|
# acm_certificate_arn: "string",
|
1212
1256
|
# ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
|
1213
|
-
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
|
1257
|
+
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019, TLSv1.2_2021
|
1214
1258
|
# certificate: "string",
|
1215
1259
|
# certificate_source: "cloudfront", # accepts cloudfront, iam, acm
|
1216
1260
|
# },
|
@@ -1404,7 +1448,7 @@ module Aws::CloudFront
|
|
1404
1448
|
# resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
|
1405
1449
|
# resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
|
1406
1450
|
# resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
|
1407
|
-
# resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
|
1451
|
+
# resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019", "TLSv1.2_2021"
|
1408
1452
|
# resp.distribution.distribution_config.viewer_certificate.certificate #=> String
|
1409
1453
|
# resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
1410
1454
|
# resp.distribution.distribution_config.restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
@@ -3028,7 +3072,7 @@ module Aws::CloudFront
|
|
3028
3072
|
# resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
|
3029
3073
|
# resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
|
3030
3074
|
# resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
|
3031
|
-
# resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
|
3075
|
+
# resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019", "TLSv1.2_2021"
|
3032
3076
|
# resp.distribution.distribution_config.viewer_certificate.certificate #=> String
|
3033
3077
|
# resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
3034
3078
|
# resp.distribution.distribution_config.restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
@@ -3222,7 +3266,7 @@ module Aws::CloudFront
|
|
3222
3266
|
# resp.distribution_config.viewer_certificate.iam_certificate_id #=> String
|
3223
3267
|
# resp.distribution_config.viewer_certificate.acm_certificate_arn #=> String
|
3224
3268
|
# resp.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
|
3225
|
-
# resp.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
|
3269
|
+
# resp.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019", "TLSv1.2_2021"
|
3226
3270
|
# resp.distribution_config.viewer_certificate.certificate #=> String
|
3227
3271
|
# resp.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
3228
3272
|
# resp.distribution_config.restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
@@ -3951,8 +3995,8 @@ module Aws::CloudFront
|
|
3951
3995
|
# Gets a list of cache policies.
|
3952
3996
|
#
|
3953
3997
|
# You can optionally apply a filter to return only the managed policies
|
3954
|
-
# created by
|
3955
|
-
# account.
|
3998
|
+
# created by Amazon Web Services, or only the custom policies created in
|
3999
|
+
# your account.
|
3956
4000
|
#
|
3957
4001
|
# You can optionally specify the maximum number of items to receive in
|
3958
4002
|
# the response. If the total number of items in the list exceeds the
|
@@ -3965,10 +4009,10 @@ module Aws::CloudFront
|
|
3965
4009
|
# A filter to return only the specified kinds of cache policies. Valid
|
3966
4010
|
# values are:
|
3967
4011
|
#
|
3968
|
-
# * `managed` – Returns only the managed policies created by
|
4012
|
+
# * `managed` – Returns only the managed policies created by Amazon Web
|
4013
|
+
# Services.
|
3969
4014
|
#
|
3970
|
-
# * `custom` – Returns only the custom policies created in your
|
3971
|
-
# account.
|
4015
|
+
# * `custom` – Returns only the custom policies created in your account.
|
3972
4016
|
#
|
3973
4017
|
# @option params [String] :marker
|
3974
4018
|
# Use this field when paginating results to indicate where to begin in
|
@@ -4078,6 +4122,91 @@ module Aws::CloudFront
|
|
4078
4122
|
req.send_request(options)
|
4079
4123
|
end
|
4080
4124
|
|
4125
|
+
# Gets a list of aliases (also called CNAMEs or alternate domain names)
|
4126
|
+
# that conflict or overlap with the provided alias, and the associated
|
4127
|
+
# CloudFront distributions and Amazon Web Services accounts for each
|
4128
|
+
# conflicting alias. In the returned list, the distribution and account
|
4129
|
+
# IDs are partially hidden, which allows you to identify the
|
4130
|
+
# distributions and accounts that you own, but helps to protect the
|
4131
|
+
# information of ones that you don’t own.
|
4132
|
+
#
|
4133
|
+
# Use this operation to find aliases that are in use in CloudFront that
|
4134
|
+
# conflict or overlap with the provided alias. For example, if you
|
4135
|
+
# provide `www.example.com` as input, the returned list can include
|
4136
|
+
# `www.example.com` and the overlapping wildcard alternate domain name
|
4137
|
+
# (`*.example.com`), if they exist. If you provide `*.example.com` as
|
4138
|
+
# input, the returned list can include `*.example.com` and any alternate
|
4139
|
+
# domain names covered by that wildcard (for example, `www.example.com`,
|
4140
|
+
# `test.example.com`, `dev.example.com`, and so on), if they exist.
|
4141
|
+
#
|
4142
|
+
# To list conflicting aliases, you provide the alias to search and the
|
4143
|
+
# ID of a distribution in your account that has an attached SSL/TLS
|
4144
|
+
# certificate that includes the provided alias. For more information,
|
4145
|
+
# including how to set up the distribution and certificate, see [Moving
|
4146
|
+
# an alternate domain name to a different distribution][1] in the
|
4147
|
+
# *Amazon CloudFront Developer Guide*.
|
4148
|
+
#
|
4149
|
+
# You can optionally specify the maximum number of items to receive in
|
4150
|
+
# the response. If the total number of items in the list exceeds the
|
4151
|
+
# maximum that you specify, or the default maximum, the response is
|
4152
|
+
# paginated. To get the next page of items, send a subsequent request
|
4153
|
+
# that specifies the `NextMarker` value from the current response as the
|
4154
|
+
# `Marker` value in the subsequent request.
|
4155
|
+
#
|
4156
|
+
#
|
4157
|
+
#
|
4158
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/CNAMEs.html#alternate-domain-names-move
|
4159
|
+
#
|
4160
|
+
# @option params [required, String] :distribution_id
|
4161
|
+
# The ID of a distribution in your account that has an attached SSL/TLS
|
4162
|
+
# certificate that includes the provided alias.
|
4163
|
+
#
|
4164
|
+
# @option params [required, String] :alias
|
4165
|
+
# The alias (also called a CNAME) to search for conflicting aliases.
|
4166
|
+
#
|
4167
|
+
# @option params [String] :marker
|
4168
|
+
# Use this field when paginating results to indicate where to begin in
|
4169
|
+
# the list of conflicting aliases. The response includes conflicting
|
4170
|
+
# aliases in the list that occur after the marker. To get the next page
|
4171
|
+
# of the list, set this field’s value to the value of `NextMarker` from
|
4172
|
+
# the current page’s response.
|
4173
|
+
#
|
4174
|
+
# @option params [Integer] :max_items
|
4175
|
+
# The maximum number of conflicting aliases that you want in the
|
4176
|
+
# response.
|
4177
|
+
#
|
4178
|
+
# @return [Types::ListConflictingAliasesResult] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4179
|
+
#
|
4180
|
+
# * {Types::ListConflictingAliasesResult#conflicting_aliases_list #conflicting_aliases_list} => Types::ConflictingAliasesList
|
4181
|
+
#
|
4182
|
+
# @example Request syntax with placeholder values
|
4183
|
+
#
|
4184
|
+
# resp = client.list_conflicting_aliases({
|
4185
|
+
# distribution_id: "distributionIdString", # required
|
4186
|
+
# alias: "aliasString", # required
|
4187
|
+
# marker: "string",
|
4188
|
+
# max_items: 1,
|
4189
|
+
# })
|
4190
|
+
#
|
4191
|
+
# @example Response structure
|
4192
|
+
#
|
4193
|
+
# resp.conflicting_aliases_list.next_marker #=> String
|
4194
|
+
# resp.conflicting_aliases_list.max_items #=> Integer
|
4195
|
+
# resp.conflicting_aliases_list.quantity #=> Integer
|
4196
|
+
# resp.conflicting_aliases_list.items #=> Array
|
4197
|
+
# resp.conflicting_aliases_list.items[0].alias #=> String
|
4198
|
+
# resp.conflicting_aliases_list.items[0].distribution_id #=> String
|
4199
|
+
# resp.conflicting_aliases_list.items[0].account_id #=> String
|
4200
|
+
#
|
4201
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListConflictingAliases2020_05_31 AWS API Documentation
|
4202
|
+
#
|
4203
|
+
# @overload list_conflicting_aliases(params = {})
|
4204
|
+
# @param [Hash] params ({})
|
4205
|
+
def list_conflicting_aliases(params = {}, options = {})
|
4206
|
+
req = build_request(:list_conflicting_aliases, params)
|
4207
|
+
req.send_request(options)
|
4208
|
+
end
|
4209
|
+
|
4081
4210
|
# List CloudFront distributions.
|
4082
4211
|
#
|
4083
4212
|
# @option params [String] :marker
|
@@ -4256,7 +4385,7 @@ module Aws::CloudFront
|
|
4256
4385
|
# resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
|
4257
4386
|
# resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
|
4258
4387
|
# resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
|
4259
|
-
# resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
|
4388
|
+
# resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019", "TLSv1.2_2021"
|
4260
4389
|
# resp.distribution_list.items[0].viewer_certificate.certificate #=> String
|
4261
4390
|
# resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
4262
4391
|
# resp.distribution_list.items[0].restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
@@ -4643,7 +4772,7 @@ module Aws::CloudFront
|
|
4643
4772
|
# resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
|
4644
4773
|
# resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
|
4645
4774
|
# resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
|
4646
|
-
# resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
|
4775
|
+
# resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019", "TLSv1.2_2021"
|
4647
4776
|
# resp.distribution_list.items[0].viewer_certificate.certificate #=> String
|
4648
4777
|
# resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
4649
4778
|
# resp.distribution_list.items[0].restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
@@ -4666,8 +4795,8 @@ module Aws::CloudFront
|
|
4666
4795
|
req.send_request(options)
|
4667
4796
|
end
|
4668
4797
|
|
4669
|
-
# List the distributions that are associated with a specified
|
4670
|
-
#
|
4798
|
+
# List the distributions that are associated with a specified WAF web
|
4799
|
+
# ACL.
|
4671
4800
|
#
|
4672
4801
|
# @option params [String] :marker
|
4673
4802
|
# Use `Marker` and `MaxItems` to control pagination of results. If you
|
@@ -4682,7 +4811,7 @@ module Aws::CloudFront
|
|
4682
4811
|
# in the response body. The maximum and default values are both 100.
|
4683
4812
|
#
|
4684
4813
|
# @option params [required, String] :web_acl_id
|
4685
|
-
# The ID of the
|
4814
|
+
# The ID of the WAF web ACL that you want to list the associated
|
4686
4815
|
# distributions. If you specify "null" for the ID, the request returns
|
4687
4816
|
# a list of the distributions that aren't associated with a web ACL.
|
4688
4817
|
#
|
@@ -4851,7 +4980,7 @@ module Aws::CloudFront
|
|
4851
4980
|
# resp.distribution_list.items[0].viewer_certificate.iam_certificate_id #=> String
|
4852
4981
|
# resp.distribution_list.items[0].viewer_certificate.acm_certificate_arn #=> String
|
4853
4982
|
# resp.distribution_list.items[0].viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
|
4854
|
-
# resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
|
4983
|
+
# resp.distribution_list.items[0].viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019", "TLSv1.2_2021"
|
4855
4984
|
# resp.distribution_list.items[0].viewer_certificate.certificate #=> String
|
4856
4985
|
# resp.distribution_list.items[0].viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
4857
4986
|
# resp.distribution_list.items[0].restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
@@ -4982,7 +5111,7 @@ module Aws::CloudFront
|
|
4982
5111
|
req.send_request(options)
|
4983
5112
|
end
|
4984
5113
|
|
4985
|
-
# Gets a list of all CloudFront functions in your
|
5114
|
+
# Gets a list of all CloudFront functions in your account.
|
4986
5115
|
#
|
4987
5116
|
# You can optionally apply a filter to return only the functions that
|
4988
5117
|
# are in the specified stage, either `DEVELOPMENT` or `LIVE`.
|
@@ -5153,8 +5282,8 @@ module Aws::CloudFront
|
|
5153
5282
|
# Gets a list of origin request policies.
|
5154
5283
|
#
|
5155
5284
|
# You can optionally apply a filter to return only the managed policies
|
5156
|
-
# created by
|
5157
|
-
# account.
|
5285
|
+
# created by Amazon Web Services, or only the custom policies created in
|
5286
|
+
# your account.
|
5158
5287
|
#
|
5159
5288
|
# You can optionally specify the maximum number of items to receive in
|
5160
5289
|
# the response. If the total number of items in the list exceeds the
|
@@ -5167,10 +5296,10 @@ module Aws::CloudFront
|
|
5167
5296
|
# A filter to return only the specified kinds of origin request
|
5168
5297
|
# policies. Valid values are:
|
5169
5298
|
#
|
5170
|
-
# * `managed` – Returns only the managed policies created by
|
5299
|
+
# * `managed` – Returns only the managed policies created by Amazon Web
|
5300
|
+
# Services.
|
5171
5301
|
#
|
5172
|
-
# * `custom` – Returns only the custom policies created in your
|
5173
|
-
# account.
|
5302
|
+
# * `custom` – Returns only the custom policies created in your account.
|
5174
5303
|
#
|
5175
5304
|
# @option params [String] :marker
|
5176
5305
|
# Use this field when paginating results to indicate where to begin in
|
@@ -6087,7 +6216,7 @@ module Aws::CloudFront
|
|
6087
6216
|
# iam_certificate_id: "string",
|
6088
6217
|
# acm_certificate_arn: "string",
|
6089
6218
|
# ssl_support_method: "sni-only", # accepts sni-only, vip, static-ip
|
6090
|
-
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019
|
6219
|
+
# minimum_protocol_version: "SSLv3", # accepts SSLv3, TLSv1, TLSv1_2016, TLSv1.1_2016, TLSv1.2_2018, TLSv1.2_2019, TLSv1.2_2021
|
6091
6220
|
# certificate: "string",
|
6092
6221
|
# certificate_source: "cloudfront", # accepts cloudfront, iam, acm
|
6093
6222
|
# },
|
@@ -6274,7 +6403,7 @@ module Aws::CloudFront
|
|
6274
6403
|
# resp.distribution.distribution_config.viewer_certificate.iam_certificate_id #=> String
|
6275
6404
|
# resp.distribution.distribution_config.viewer_certificate.acm_certificate_arn #=> String
|
6276
6405
|
# resp.distribution.distribution_config.viewer_certificate.ssl_support_method #=> String, one of "sni-only", "vip", "static-ip"
|
6277
|
-
# resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019"
|
6406
|
+
# resp.distribution.distribution_config.viewer_certificate.minimum_protocol_version #=> String, one of "SSLv3", "TLSv1", "TLSv1_2016", "TLSv1.1_2016", "TLSv1.2_2018", "TLSv1.2_2019", "TLSv1.2_2021"
|
6278
6407
|
# resp.distribution.distribution_config.viewer_certificate.certificate #=> String
|
6279
6408
|
# resp.distribution.distribution_config.viewer_certificate.certificate_source #=> String, one of "cloudfront", "iam", "acm"
|
6280
6409
|
# resp.distribution.distribution_config.restrictions.geo_restriction.restriction_type #=> String, one of "blacklist", "whitelist", "none"
|
@@ -6911,7 +7040,7 @@ module Aws::CloudFront
|
|
6911
7040
|
params: params,
|
6912
7041
|
config: config)
|
6913
7042
|
context[:gem_name] = 'aws-sdk-cloudfront'
|
6914
|
-
context[:gem_version] = '1.
|
7043
|
+
context[:gem_version] = '1.54.0'
|
6915
7044
|
Seahorse::Client::Request.new(handlers, context)
|
6916
7045
|
end
|
6917
7046
|
|
@@ -21,6 +21,7 @@ module Aws::CloudFront
|
|
21
21
|
AliasList = Shapes::ListShape.new(name: 'AliasList')
|
22
22
|
Aliases = Shapes::StructureShape.new(name: 'Aliases')
|
23
23
|
AllowedMethods = Shapes::StructureShape.new(name: 'AllowedMethods')
|
24
|
+
AssociateAliasRequest = Shapes::StructureShape.new(name: 'AssociateAliasRequest')
|
24
25
|
AwsAccountNumberList = Shapes::ListShape.new(name: 'AwsAccountNumberList')
|
25
26
|
BatchTooLarge = Shapes::StructureShape.new(name: 'BatchTooLarge')
|
26
27
|
CNAMEAlreadyExists = Shapes::StructureShape.new(name: 'CNAMEAlreadyExists')
|
@@ -52,6 +53,9 @@ module Aws::CloudFront
|
|
52
53
|
CloudFrontOriginAccessIdentitySummary = Shapes::StructureShape.new(name: 'CloudFrontOriginAccessIdentitySummary')
|
53
54
|
CloudFrontOriginAccessIdentitySummaryList = Shapes::ListShape.new(name: 'CloudFrontOriginAccessIdentitySummaryList')
|
54
55
|
CommentType = Shapes::StringShape.new(name: 'CommentType')
|
56
|
+
ConflictingAlias = Shapes::StructureShape.new(name: 'ConflictingAlias')
|
57
|
+
ConflictingAliases = Shapes::ListShape.new(name: 'ConflictingAliases')
|
58
|
+
ConflictingAliasesList = Shapes::StructureShape.new(name: 'ConflictingAliasesList')
|
55
59
|
ContentTypeProfile = Shapes::StructureShape.new(name: 'ContentTypeProfile')
|
56
60
|
ContentTypeProfileConfig = Shapes::StructureShape.new(name: 'ContentTypeProfileConfig')
|
57
61
|
ContentTypeProfileList = Shapes::ListShape.new(name: 'ContentTypeProfileList')
|
@@ -267,6 +271,8 @@ module Aws::CloudFront
|
|
267
271
|
ListCachePoliciesResult = Shapes::StructureShape.new(name: 'ListCachePoliciesResult')
|
268
272
|
ListCloudFrontOriginAccessIdentitiesRequest = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesRequest')
|
269
273
|
ListCloudFrontOriginAccessIdentitiesResult = Shapes::StructureShape.new(name: 'ListCloudFrontOriginAccessIdentitiesResult')
|
274
|
+
ListConflictingAliasesRequest = Shapes::StructureShape.new(name: 'ListConflictingAliasesRequest')
|
275
|
+
ListConflictingAliasesResult = Shapes::StructureShape.new(name: 'ListConflictingAliasesResult')
|
270
276
|
ListDistributionsByCachePolicyIdRequest = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdRequest')
|
271
277
|
ListDistributionsByCachePolicyIdResult = Shapes::StructureShape.new(name: 'ListDistributionsByCachePolicyIdResult')
|
272
278
|
ListDistributionsByKeyGroupRequest = Shapes::StructureShape.new(name: 'ListDistributionsByKeyGroupRequest')
|
@@ -489,8 +495,11 @@ module Aws::CloudFront
|
|
489
495
|
UpdateStreamingDistributionResult = Shapes::StructureShape.new(name: 'UpdateStreamingDistributionResult')
|
490
496
|
ViewerCertificate = Shapes::StructureShape.new(name: 'ViewerCertificate')
|
491
497
|
ViewerProtocolPolicy = Shapes::StringShape.new(name: 'ViewerProtocolPolicy')
|
498
|
+
aliasString = Shapes::StringShape.new(name: 'aliasString')
|
492
499
|
boolean = Shapes::BooleanShape.new(name: 'boolean')
|
500
|
+
distributionIdString = Shapes::StringShape.new(name: 'distributionIdString')
|
493
501
|
integer = Shapes::IntegerShape.new(name: 'integer')
|
502
|
+
listConflictingAliasesMaxItemsInteger = Shapes::IntegerShape.new(name: 'listConflictingAliasesMaxItemsInteger')
|
494
503
|
long = Shapes::IntegerShape.new(name: 'long')
|
495
504
|
string = Shapes::StringShape.new(name: 'string')
|
496
505
|
timestamp = Shapes::TimestampShape.new(name: 'timestamp')
|
@@ -525,6 +534,10 @@ module Aws::CloudFront
|
|
525
534
|
AllowedMethods.add_member(:cached_methods, Shapes::ShapeRef.new(shape: CachedMethods, location_name: "CachedMethods"))
|
526
535
|
AllowedMethods.struct_class = Types::AllowedMethods
|
527
536
|
|
537
|
+
AssociateAliasRequest.add_member(:target_distribution_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "TargetDistributionId"))
|
538
|
+
AssociateAliasRequest.add_member(:alias, Shapes::ShapeRef.new(shape: string, required: true, location: "querystring", location_name: "Alias"))
|
539
|
+
AssociateAliasRequest.struct_class = Types::AssociateAliasRequest
|
540
|
+
|
528
541
|
AwsAccountNumberList.member = Shapes::ShapeRef.new(shape: string, location_name: "AwsAccountNumber")
|
529
542
|
|
530
543
|
BatchTooLarge.add_member(:message, Shapes::ShapeRef.new(shape: string, location_name: "Message"))
|
@@ -639,6 +652,19 @@ module Aws::CloudFront
|
|
639
652
|
|
640
653
|
CloudFrontOriginAccessIdentitySummaryList.member = Shapes::ShapeRef.new(shape: CloudFrontOriginAccessIdentitySummary, location_name: "CloudFrontOriginAccessIdentitySummary")
|
641
654
|
|
655
|
+
ConflictingAlias.add_member(:alias, Shapes::ShapeRef.new(shape: string, location_name: "Alias"))
|
656
|
+
ConflictingAlias.add_member(:distribution_id, Shapes::ShapeRef.new(shape: string, location_name: "DistributionId"))
|
657
|
+
ConflictingAlias.add_member(:account_id, Shapes::ShapeRef.new(shape: string, location_name: "AccountId"))
|
658
|
+
ConflictingAlias.struct_class = Types::ConflictingAlias
|
659
|
+
|
660
|
+
ConflictingAliases.member = Shapes::ShapeRef.new(shape: ConflictingAlias, location_name: "ConflictingAlias")
|
661
|
+
|
662
|
+
ConflictingAliasesList.add_member(:next_marker, Shapes::ShapeRef.new(shape: string, location_name: "NextMarker"))
|
663
|
+
ConflictingAliasesList.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location_name: "MaxItems"))
|
664
|
+
ConflictingAliasesList.add_member(:quantity, Shapes::ShapeRef.new(shape: integer, location_name: "Quantity"))
|
665
|
+
ConflictingAliasesList.add_member(:items, Shapes::ShapeRef.new(shape: ConflictingAliases, location_name: "Items"))
|
666
|
+
ConflictingAliasesList.struct_class = Types::ConflictingAliasesList
|
667
|
+
|
642
668
|
ContentTypeProfile.add_member(:format, Shapes::ShapeRef.new(shape: Format, required: true, location_name: "Format"))
|
643
669
|
ContentTypeProfile.add_member(:profile_id, Shapes::ShapeRef.new(shape: string, location_name: "ProfileId"))
|
644
670
|
ContentTypeProfile.add_member(:content_type, Shapes::ShapeRef.new(shape: string, required: true, location_name: "ContentType"))
|
@@ -1555,6 +1581,17 @@ module Aws::CloudFront
|
|
1555
1581
|
ListCloudFrontOriginAccessIdentitiesResult[:payload] = :cloud_front_origin_access_identity_list
|
1556
1582
|
ListCloudFrontOriginAccessIdentitiesResult[:payload_member] = ListCloudFrontOriginAccessIdentitiesResult.member(:cloud_front_origin_access_identity_list)
|
1557
1583
|
|
1584
|
+
ListConflictingAliasesRequest.add_member(:distribution_id, Shapes::ShapeRef.new(shape: distributionIdString, required: true, location: "querystring", location_name: "DistributionId"))
|
1585
|
+
ListConflictingAliasesRequest.add_member(:alias, Shapes::ShapeRef.new(shape: aliasString, required: true, location: "querystring", location_name: "Alias"))
|
1586
|
+
ListConflictingAliasesRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
|
1587
|
+
ListConflictingAliasesRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
|
1588
|
+
ListConflictingAliasesRequest.struct_class = Types::ListConflictingAliasesRequest
|
1589
|
+
|
1590
|
+
ListConflictingAliasesResult.add_member(:conflicting_aliases_list, Shapes::ShapeRef.new(shape: ConflictingAliasesList, location_name: "ConflictingAliasesList"))
|
1591
|
+
ListConflictingAliasesResult.struct_class = Types::ListConflictingAliasesResult
|
1592
|
+
ListConflictingAliasesResult[:payload] = :conflicting_aliases_list
|
1593
|
+
ListConflictingAliasesResult[:payload_member] = ListConflictingAliasesResult.member(:conflicting_aliases_list)
|
1594
|
+
|
1558
1595
|
ListDistributionsByCachePolicyIdRequest.add_member(:marker, Shapes::ShapeRef.new(shape: string, location: "querystring", location_name: "Marker"))
|
1559
1596
|
ListDistributionsByCachePolicyIdRequest.add_member(:max_items, Shapes::ShapeRef.new(shape: integer, location: "querystring", location_name: "MaxItems"))
|
1560
1597
|
ListDistributionsByCachePolicyIdRequest.add_member(:cache_policy_id, Shapes::ShapeRef.new(shape: string, required: true, location: "uri", location_name: "CachePolicyId"))
|
@@ -2424,6 +2461,19 @@ module Aws::CloudFront
|
|
2424
2461
|
"uid" => "cloudfront-2020-05-31",
|
2425
2462
|
}
|
2426
2463
|
|
2464
|
+
api.add_operation(:associate_alias, Seahorse::Model::Operation.new.tap do |o|
|
2465
|
+
o.name = "AssociateAlias2020_05_31"
|
2466
|
+
o.http_method = "PUT"
|
2467
|
+
o.http_request_uri = "/2020-05-31/distribution/{TargetDistributionId}/associate-alias"
|
2468
|
+
o.input = Shapes::ShapeRef.new(shape: AssociateAliasRequest)
|
2469
|
+
o.output = Shapes::ShapeRef.new(shape: Shapes::StructureShape.new(struct_class: Aws::EmptyStructure))
|
2470
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
2471
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
|
2472
|
+
o.errors << Shapes::ShapeRef.new(shape: TooManyDistributionCNAMEs)
|
2473
|
+
o.errors << Shapes::ShapeRef.new(shape: IllegalUpdate)
|
2474
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDenied)
|
2475
|
+
end)
|
2476
|
+
|
2427
2477
|
api.add_operation(:create_cache_policy, Seahorse::Model::Operation.new.tap do |o|
|
2428
2478
|
o.name = "CreateCachePolicy2020_05_31"
|
2429
2479
|
o.http_method = "POST"
|
@@ -2631,6 +2681,7 @@ module Aws::CloudFront
|
|
2631
2681
|
o.errors << Shapes::ShapeRef.new(shape: FunctionAlreadyExists)
|
2632
2682
|
o.errors << Shapes::ShapeRef.new(shape: FunctionSizeLimitExceeded)
|
2633
2683
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
2684
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
2634
2685
|
end)
|
2635
2686
|
|
2636
2687
|
api.add_operation(:create_invalidation, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2832,6 +2883,7 @@ module Aws::CloudFront
|
|
2832
2883
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
|
2833
2884
|
o.errors << Shapes::ShapeRef.new(shape: FunctionInUse)
|
2834
2885
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
2886
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
2835
2887
|
end)
|
2836
2888
|
|
2837
2889
|
api.add_operation(:delete_key_group, Seahorse::Model::Operation.new.tap do |o|
|
@@ -2921,6 +2973,7 @@ module Aws::CloudFront
|
|
2921
2973
|
o.input = Shapes::ShapeRef.new(shape: DescribeFunctionRequest)
|
2922
2974
|
o.output = Shapes::ShapeRef.new(shape: DescribeFunctionResult)
|
2923
2975
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
|
2976
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
2924
2977
|
end)
|
2925
2978
|
|
2926
2979
|
api.add_operation(:get_cache_policy, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3030,6 +3083,7 @@ module Aws::CloudFront
|
|
3030
3083
|
o.input = Shapes::ShapeRef.new(shape: GetFunctionRequest)
|
3031
3084
|
o.output = Shapes::ShapeRef.new(shape: GetFunctionResult)
|
3032
3085
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
|
3086
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
3033
3087
|
end)
|
3034
3088
|
|
3035
3089
|
api.add_operation(:get_invalidation, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3175,6 +3229,16 @@ module Aws::CloudFront
|
|
3175
3229
|
)
|
3176
3230
|
end)
|
3177
3231
|
|
3232
|
+
api.add_operation(:list_conflicting_aliases, Seahorse::Model::Operation.new.tap do |o|
|
3233
|
+
o.name = "ListConflictingAliases2020_05_31"
|
3234
|
+
o.http_method = "GET"
|
3235
|
+
o.http_request_uri = "/2020-05-31/conflicting-alias"
|
3236
|
+
o.input = Shapes::ShapeRef.new(shape: ListConflictingAliasesRequest)
|
3237
|
+
o.output = Shapes::ShapeRef.new(shape: ListConflictingAliasesResult)
|
3238
|
+
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
3239
|
+
o.errors << Shapes::ShapeRef.new(shape: NoSuchDistribution)
|
3240
|
+
end)
|
3241
|
+
|
3178
3242
|
api.add_operation(:list_distributions, Seahorse::Model::Operation.new.tap do |o|
|
3179
3243
|
o.name = "ListDistributions2020_05_31"
|
3180
3244
|
o.http_method = "GET"
|
@@ -3272,6 +3336,7 @@ module Aws::CloudFront
|
|
3272
3336
|
o.input = Shapes::ShapeRef.new(shape: ListFunctionsRequest)
|
3273
3337
|
o.output = Shapes::ShapeRef.new(shape: ListFunctionsResult)
|
3274
3338
|
o.errors << Shapes::ShapeRef.new(shape: InvalidArgument)
|
3339
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
3275
3340
|
end)
|
3276
3341
|
|
3277
3342
|
api.add_operation(:list_invalidations, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3370,6 +3435,7 @@ module Aws::CloudFront
|
|
3370
3435
|
o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
|
3371
3436
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
|
3372
3437
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
3438
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
3373
3439
|
end)
|
3374
3440
|
|
3375
3441
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3399,6 +3465,7 @@ module Aws::CloudFront
|
|
3399
3465
|
o.errors << Shapes::ShapeRef.new(shape: InvalidIfMatchVersion)
|
3400
3466
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
|
3401
3467
|
o.errors << Shapes::ShapeRef.new(shape: TestFunctionFailed)
|
3468
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
3402
3469
|
end)
|
3403
3470
|
|
3404
3471
|
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
@@ -3568,6 +3635,7 @@ module Aws::CloudFront
|
|
3568
3635
|
o.errors << Shapes::ShapeRef.new(shape: NoSuchFunctionExists)
|
3569
3636
|
o.errors << Shapes::ShapeRef.new(shape: PreconditionFailed)
|
3570
3637
|
o.errors << Shapes::ShapeRef.new(shape: FunctionSizeLimitExceeded)
|
3638
|
+
o.errors << Shapes::ShapeRef.new(shape: UnsupportedOperation)
|
3571
3639
|
end)
|
3572
3640
|
|
3573
3641
|
api.add_operation(:update_key_group, Seahorse::Model::Operation.new.tap do |o|
|