aws-sdk-cloudfront 1.52.0 → 1.53.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 83fa65c7ff38723c1480af35bcfbcd4600ae69670920a2fdbd43d62671edaa5f
4
- data.tar.gz: 38e541004d7d336d8b7494836851b054f29c0a13be99c56d798ddf02ce5105e7
3
+ metadata.gz: 751b846555f37e91b8dfbe0af4e3e183021a9a71ed44d1c7a8bdd17e41a45a0f
4
+ data.tar.gz: 77ef73d8807af6d04f67f973e634829929c19f1e2e9fd50132b0191a6dab881c
5
5
  SHA512:
6
- metadata.gz: 548c78c7205944aa8bddc05bdefd5df16a7d44da7ac15670e9d59793bb74797fe506453ad827d4898d701a4837802d8bb3d7e65368a126e61bca86bd3011157f
7
- data.tar.gz: 0b4dbb8a4a436502f8364a0fdbfa5db5d394d2e6bd8efbea3f63a2d86fc7ad916fc63166d6aeaf497f6925ac44a9b4d17b3ed09d43e73da90df094b66c9da7b3
6
+ metadata.gz: b8070592cad2b9f20e4d8d44e10a1c41541dfd85cf5f577f66490ab50c32f0a2f3453abf680edade80f321c0e3290560547d5e8130702480fbd86d6ce00e20a1
7
+ data.tar.gz: ddf4f70b7a9cc8d38e160cd3f53875a24dde227e859f900d59c20307c60edc2807ec1b1de3cdcaa6b59136c24a1b150533cc9dc3e28d11b1403d7e520c16f4e9
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.53.0 (2021-07-07)
5
+ ------------------
6
+
7
+ * 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.
8
+
4
9
  1.52.0 (2021-06-23)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.52.0
1
+ 1.53.0
@@ -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.create_cache_policy(params)
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.0'
52
+ GEM_VERSION = '1.53.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
@@ -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 AWS, or only the custom policies created in your AWS
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 AWS.
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 AWS
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
@@ -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 AWS WAF
4670
- # web ACL.
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 AWS WAF web ACL that you want to list the associated
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
  #
@@ -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 AWS account.
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 AWS, or only the custom policies created in your AWS
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 AWS.
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 AWS
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
@@ -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.52.0'
7043
+ context[:gem_version] = '1.53.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|