aws-sdk-cloudfront 1.132.0 → 1.133.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.
@@ -236,6 +236,10 @@ module Aws::CloudFront
236
236
  # The Amazon Resource Name (ARN) of the Anycast static IP list.
237
237
  # @return [String]
238
238
  #
239
+ # @!attribute [rw] ip_address_type
240
+ # The IP address type for the Anycast static IP list.
241
+ # @return [String]
242
+ #
239
243
  # @!attribute [rw] anycast_ips
240
244
  # The static IP addresses that are allocated to the Anycast static IP
241
245
  # list.
@@ -256,6 +260,7 @@ module Aws::CloudFront
256
260
  :name,
257
261
  :status,
258
262
  :arn,
263
+ :ip_address_type,
259
264
  :anycast_ips,
260
265
  :ip_count,
261
266
  :last_modified_time)
@@ -339,6 +344,14 @@ module Aws::CloudFront
339
344
  # The last time the Anycast static IP list was modified.
340
345
  # @return [Time]
341
346
  #
347
+ # @!attribute [rw] ip_address_type
348
+ # The IP address type for the Anycast static IP list.
349
+ # @return [String]
350
+ #
351
+ # @!attribute [rw] etag
352
+ # The current version (ETag value) of the Anycast static IP list.
353
+ # @return [String]
354
+ #
342
355
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/AnycastIpListSummary AWS API Documentation
343
356
  #
344
357
  class AnycastIpListSummary < Struct.new(
@@ -347,7 +360,9 @@ module Aws::CloudFront
347
360
  :status,
348
361
  :arn,
349
362
  :ip_count,
350
- :last_modified_time)
363
+ :last_modified_time,
364
+ :ip_address_type,
365
+ :etag)
351
366
  SENSITIVE = []
352
367
  include Aws::Structure
353
368
  end
@@ -2216,12 +2231,24 @@ module Aws::CloudFront
2216
2231
  # A complex type that contains zero or more `Tag` elements.
2217
2232
  # @return [Types::Tags]
2218
2233
  #
2234
+ # @!attribute [rw] ip_address_type
2235
+ # The IP address type for the Anycast static IP list. You can specify
2236
+ # one of the following options:
2237
+ #
2238
+ # * `ipv4` - Allocate a list of only IPv4 addresses
2239
+ #
2240
+ # * `ipv6` - Allocate a list of only IPv4 addresses
2241
+ #
2242
+ # * `dualstack` - Allocate a list of both IPv4 and IPv6 addresses
2243
+ # @return [String]
2244
+ #
2219
2245
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateAnycastIpListRequest AWS API Documentation
2220
2246
  #
2221
2247
  class CreateAnycastIpListRequest < Struct.new(
2222
2248
  :name,
2223
2249
  :ip_count,
2224
- :tags)
2250
+ :tags,
2251
+ :ip_address_type)
2225
2252
  SENSITIVE = []
2226
2253
  include Aws::Structure
2227
2254
  end
@@ -4202,6 +4229,19 @@ module Aws::CloudFront
4202
4229
  include Aws::Structure
4203
4230
  end
4204
4231
 
4232
+ # @!attribute [rw] resource_arn
4233
+ # The Amazon Resource Name (ARN) of the CloudFront resource for which
4234
+ # the resource policy should be deleted.
4235
+ # @return [String]
4236
+ #
4237
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteResourcePolicyRequest AWS API Documentation
4238
+ #
4239
+ class DeleteResourcePolicyRequest < Struct.new(
4240
+ :resource_arn)
4241
+ SENSITIVE = []
4242
+ include Aws::Structure
4243
+ end
4244
+
4205
4245
  # @!attribute [rw] id
4206
4246
  # The identifier for the response headers policy that you are
4207
4247
  # deleting.
@@ -4952,6 +4992,77 @@ module Aws::CloudFront
4952
4992
  include Aws::Structure
4953
4993
  end
4954
4994
 
4995
+ # A structure that pairs a CloudFront distribution ID with its owning
4996
+ # Amazon Web Services account ID.
4997
+ #
4998
+ # @!attribute [rw] distribution_id
4999
+ # The ID of the distribution.
5000
+ # @return [String]
5001
+ #
5002
+ # @!attribute [rw] owner_account_id
5003
+ # The ID of the Amazon Web Services account that owns the
5004
+ # distribution.
5005
+ # @return [String]
5006
+ #
5007
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DistributionIdOwner AWS API Documentation
5008
+ #
5009
+ class DistributionIdOwner < Struct.new(
5010
+ :distribution_id,
5011
+ :owner_account_id)
5012
+ SENSITIVE = []
5013
+ include Aws::Structure
5014
+ end
5015
+
5016
+ # The list of distribution IDs and the Amazon Web Services accounts that
5017
+ # they belong to.
5018
+ #
5019
+ # @!attribute [rw] marker
5020
+ # Use this field when paginating results to indicate where to begin in
5021
+ # your list of `DistributionIdOwner` objects. The response includes
5022
+ # distributions in the list that occur after the marker. To get the
5023
+ # next page of the list, set this field's value to the value of
5024
+ # `NextMarker` from the current page's response.
5025
+ # @return [String]
5026
+ #
5027
+ # @!attribute [rw] next_marker
5028
+ # A token used for pagination of results returned in the response. You
5029
+ # can use the token from the previous request to define where the
5030
+ # current request should begin.
5031
+ # @return [String]
5032
+ #
5033
+ # @!attribute [rw] max_items
5034
+ # The maximum number of `DistributionIdOwner` objects to return.
5035
+ # @return [Integer]
5036
+ #
5037
+ # @!attribute [rw] is_truncated
5038
+ # A flag that indicates whether more `DistributionIdOwner` objects
5039
+ # remain to be listed. If your results were truncated, you can make a
5040
+ # follow-up pagination request using the `Marker` request parameter to
5041
+ # retrieve more results in the list.
5042
+ # @return [Boolean]
5043
+ #
5044
+ # @!attribute [rw] quantity
5045
+ # Specifies the actual number of `DistributionIdOwner` objects
5046
+ # included in the list for the current page.
5047
+ # @return [Integer]
5048
+ #
5049
+ # @!attribute [rw] items
5050
+ # The number of `DistributionIdOwner` objects.
5051
+ # @return [Array<Types::DistributionIdOwner>]
5052
+ #
5053
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DistributionIdOwnerList AWS API Documentation
5054
+ #
5055
+ class DistributionIdOwnerList < Struct.new(
5056
+ :marker,
5057
+ :next_marker,
5058
+ :max_items,
5059
+ :is_truncated,
5060
+ :quantity,
5061
+ :items)
5062
+ SENSITIVE = []
5063
+ include Aws::Structure
5064
+ end
5065
+
4955
5066
  # A distribution list.
4956
5067
  #
4957
5068
  # @!attribute [rw] marker
@@ -7412,6 +7523,37 @@ module Aws::CloudFront
7412
7523
  include Aws::Structure
7413
7524
  end
7414
7525
 
7526
+ # @!attribute [rw] resource_arn
7527
+ # The Amazon Resource Name (ARN) of the CloudFront resource that is
7528
+ # associated with the resource policy.
7529
+ # @return [String]
7530
+ #
7531
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetResourcePolicyRequest AWS API Documentation
7532
+ #
7533
+ class GetResourcePolicyRequest < Struct.new(
7534
+ :resource_arn)
7535
+ SENSITIVE = []
7536
+ include Aws::Structure
7537
+ end
7538
+
7539
+ # @!attribute [rw] resource_arn
7540
+ # The Amazon Resource Name (ARN) of the CloudFront resource that is
7541
+ # associated with the resource policy.
7542
+ # @return [String]
7543
+ #
7544
+ # @!attribute [rw] policy_document
7545
+ # The resource policy in JSON format.
7546
+ # @return [String]
7547
+ #
7548
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetResourcePolicyResult AWS API Documentation
7549
+ #
7550
+ class GetResourcePolicyResult < Struct.new(
7551
+ :resource_arn,
7552
+ :policy_document)
7553
+ SENSITIVE = []
7554
+ include Aws::Structure
7555
+ end
7556
+
7415
7557
  # @!attribute [rw] id
7416
7558
  # The identifier for the response headers policy.
7417
7559
  #
@@ -9138,6 +9280,45 @@ module Aws::CloudFront
9138
9280
  include Aws::Structure
9139
9281
  end
9140
9282
 
9283
+ # @!attribute [rw] resource_arn
9284
+ # The ARN of the CloudFront resource that you've shared with other
9285
+ # Amazon Web Services accounts.
9286
+ # @return [String]
9287
+ #
9288
+ # @!attribute [rw] marker
9289
+ # Use this field when paginating results to indicate where to begin in
9290
+ # your list of distributions. The response includes distributions in
9291
+ # the list that occur after the marker. To get the next page of the
9292
+ # list, set this field's value to the value of `NextMarker` from the
9293
+ # current page's response.
9294
+ # @return [String]
9295
+ #
9296
+ # @!attribute [rw] max_items
9297
+ # The maximum number of distributions to return.
9298
+ # @return [Integer]
9299
+ #
9300
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOwnedResourceRequest AWS API Documentation
9301
+ #
9302
+ class ListDistributionsByOwnedResourceRequest < Struct.new(
9303
+ :resource_arn,
9304
+ :marker,
9305
+ :max_items)
9306
+ SENSITIVE = []
9307
+ include Aws::Structure
9308
+ end
9309
+
9310
+ # @!attribute [rw] distribution_list
9311
+ # The list of distributions that are using the shared resource.
9312
+ # @return [Types::DistributionIdOwnerList]
9313
+ #
9314
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOwnedResourceResult AWS API Documentation
9315
+ #
9316
+ class ListDistributionsByOwnedResourceResult < Struct.new(
9317
+ :distribution_list)
9318
+ SENSITIVE = []
9319
+ include Aws::Structure
9320
+ end
9321
+
9141
9322
  # @!attribute [rw] marker
9142
9323
  # Use this field when paginating results to indicate where to begin in
9143
9324
  # your list of distributions. The response includes distributions in
@@ -11767,6 +11948,37 @@ module Aws::CloudFront
11767
11948
  include Aws::Structure
11768
11949
  end
11769
11950
 
11951
+ # @!attribute [rw] resource_arn
11952
+ # The Amazon Resource Name (ARN) of the CloudFront resource for which
11953
+ # the policy is being created.
11954
+ # @return [String]
11955
+ #
11956
+ # @!attribute [rw] policy_document
11957
+ # The JSON-formatted resource policy to create.
11958
+ # @return [String]
11959
+ #
11960
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/PutResourcePolicyRequest AWS API Documentation
11961
+ #
11962
+ class PutResourcePolicyRequest < Struct.new(
11963
+ :resource_arn,
11964
+ :policy_document)
11965
+ SENSITIVE = []
11966
+ include Aws::Structure
11967
+ end
11968
+
11969
+ # @!attribute [rw] resource_arn
11970
+ # The Amazon Resource Name (ARN) of the CloudFront resource for which
11971
+ # the policy was created.
11972
+ # @return [String]
11973
+ #
11974
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/PutResourcePolicyResult AWS API Documentation
11975
+ #
11976
+ class PutResourcePolicyResult < Struct.new(
11977
+ :resource_arn)
11978
+ SENSITIVE = []
11979
+ include Aws::Structure
11980
+ end
11981
+
11770
11982
  # Query argument-profile mapping for field-level encryption.
11771
11983
  #
11772
11984
  # @!attribute [rw] query_arg
@@ -14815,6 +15027,59 @@ module Aws::CloudFront
14815
15027
  include Aws::Structure
14816
15028
  end
14817
15029
 
15030
+ # @!attribute [rw] id
15031
+ # The ID of the Anycast static IP list.
15032
+ # @return [String]
15033
+ #
15034
+ # @!attribute [rw] ip_address_type
15035
+ # The IP address type for the Anycast static IP list. You can specify
15036
+ # one of the following options:
15037
+ #
15038
+ # * `ipv4` - Allocate a list of only IPv4 addresses
15039
+ #
15040
+ # * `ipv6` - Allocate a list of only IPv4 addresses
15041
+ #
15042
+ # * `dualstack` - Allocate a list of both IPv4 and IPv6 addresses
15043
+ # @return [String]
15044
+ #
15045
+ # @!attribute [rw] if_match
15046
+ # The current version (ETag value) of the Anycast static IP list that
15047
+ # you are updating.
15048
+ # @return [String]
15049
+ #
15050
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateAnycastIpListRequest AWS API Documentation
15051
+ #
15052
+ class UpdateAnycastIpListRequest < Struct.new(
15053
+ :id,
15054
+ :ip_address_type,
15055
+ :if_match)
15056
+ SENSITIVE = []
15057
+ include Aws::Structure
15058
+ end
15059
+
15060
+ # @!attribute [rw] anycast_ip_list
15061
+ # An Anycast static IP list. For more information, see [Request
15062
+ # Anycast static IPs to use for allowlisting][1] in the *Amazon
15063
+ # CloudFront Developer Guide*.
15064
+ #
15065
+ #
15066
+ #
15067
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html
15068
+ # @return [Types::AnycastIpList]
15069
+ #
15070
+ # @!attribute [rw] etag
15071
+ # The current version of the Anycast static IP list.
15072
+ # @return [String]
15073
+ #
15074
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateAnycastIpListResult AWS API Documentation
15075
+ #
15076
+ class UpdateAnycastIpListResult < Struct.new(
15077
+ :anycast_ip_list,
15078
+ :etag)
15079
+ SENSITIVE = []
15080
+ include Aws::Structure
15081
+ end
15082
+
14818
15083
  # @!attribute [rw] cache_policy_config
14819
15084
  # A cache policy configuration.
14820
15085
  # @return [Types::CachePolicyConfig]
@@ -16021,6 +16286,11 @@ module Aws::CloudFront
16021
16286
  # The VPC origin ARN.
16022
16287
  # @return [String]
16023
16288
  #
16289
+ # @!attribute [rw] account_id
16290
+ # The account ID of the Amazon Web Services account that owns the VPC
16291
+ # origin.
16292
+ # @return [String]
16293
+ #
16024
16294
  # @!attribute [rw] status
16025
16295
  # The VPC origin status.
16026
16296
  # @return [String]
@@ -16042,6 +16312,7 @@ module Aws::CloudFront
16042
16312
  class VpcOrigin < Struct.new(
16043
16313
  :id,
16044
16314
  :arn,
16315
+ :account_id,
16045
16316
  :status,
16046
16317
  :created_time,
16047
16318
  :last_modified_time,
@@ -16056,6 +16327,11 @@ module Aws::CloudFront
16056
16327
  # The VPC origin ID.
16057
16328
  # @return [String]
16058
16329
  #
16330
+ # @!attribute [rw] owner_account_id
16331
+ # The account ID of the Amazon Web Services account that owns the VPC
16332
+ # origin.
16333
+ # @return [String]
16334
+ #
16059
16335
  # @!attribute [rw] origin_read_timeout
16060
16336
  # Specifies how long, in seconds, CloudFront waits for a response from
16061
16337
  # the origin. This is also known as the *origin response timeout*. The
@@ -16088,6 +16364,7 @@ module Aws::CloudFront
16088
16364
  #
16089
16365
  class VpcOriginConfig < Struct.new(
16090
16366
  :vpc_origin_id,
16367
+ :owner_account_id,
16091
16368
  :origin_read_timeout,
16092
16369
  :origin_keepalive_timeout)
16093
16370
  SENSITIVE = []
@@ -16206,6 +16483,11 @@ module Aws::CloudFront
16206
16483
  # The VPC origin summary ARN.
16207
16484
  # @return [String]
16208
16485
  #
16486
+ # @!attribute [rw] account_id
16487
+ # The account ID of the Amazon Web Services account that owns the VPC
16488
+ # origin.
16489
+ # @return [String]
16490
+ #
16209
16491
  # @!attribute [rw] origin_endpoint_arn
16210
16492
  # The VPC origin summary origin endpoint ARN.
16211
16493
  # @return [String]
@@ -16219,6 +16501,7 @@ module Aws::CloudFront
16219
16501
  :created_time,
16220
16502
  :last_modified_time,
16221
16503
  :arn,
16504
+ :account_id,
16222
16505
  :origin_endpoint_arn)
16223
16506
  SENSITIVE = []
16224
16507
  include Aws::Structure
@@ -55,7 +55,7 @@ module Aws::CloudFront
55
55
  autoload :EndpointProvider, 'aws-sdk-cloudfront/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-cloudfront/endpoints'
57
57
 
58
- GEM_VERSION = '1.132.0'
58
+ GEM_VERSION = '1.133.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -145,7 +145,8 @@ module Aws
145
145
  value: ::String?
146
146
  },
147
147
  ]?
148
- }
148
+ },
149
+ ?ip_address_type: ("ipv4" | "ipv6" | "dualstack")
149
150
  ) -> _CreateAnycastIpListResponseSuccess
150
151
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAnycastIpListResponseSuccess
151
152
 
@@ -310,6 +311,7 @@ module Aws
310
311
  }?,
311
312
  vpc_origin_config: {
312
313
  vpc_origin_id: ::String,
314
+ owner_account_id: ::String?,
313
315
  origin_read_timeout: ::Integer?,
314
316
  origin_keepalive_timeout: ::Integer?
315
317
  }?,
@@ -659,6 +661,7 @@ module Aws
659
661
  }?,
660
662
  vpc_origin_config: {
661
663
  vpc_origin_id: ::String,
664
+ owner_account_id: ::String?,
662
665
  origin_read_timeout: ::Integer?,
663
666
  origin_keepalive_timeout: ::Integer?
664
667
  }?,
@@ -1504,6 +1507,12 @@ module Aws
1504
1507
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1505
1508
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1506
1509
 
1510
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_resource_policy-instance_method
1511
+ def delete_resource_policy: (
1512
+ resource_arn: ::String
1513
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1514
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1515
+
1507
1516
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_response_headers_policy-instance_method
1508
1517
  def delete_response_headers_policy: (
1509
1518
  id: ::String,
@@ -1918,6 +1927,17 @@ module Aws
1918
1927
  ) -> _GetRealtimeLogConfigResponseSuccess
1919
1928
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRealtimeLogConfigResponseSuccess
1920
1929
 
1930
+ interface _GetResourcePolicyResponseSuccess
1931
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResult]
1932
+ def resource_arn: () -> ::String
1933
+ def policy_document: () -> ::String
1934
+ end
1935
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_resource_policy-instance_method
1936
+ def get_resource_policy: (
1937
+ resource_arn: ::String
1938
+ ) -> _GetResourcePolicyResponseSuccess
1939
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
1940
+
1921
1941
  interface _GetResponseHeadersPolicyResponseSuccess
1922
1942
  include ::Seahorse::Client::_ResponseSuccess[Types::GetResponseHeadersPolicyResult]
1923
1943
  def response_headers_policy: () -> Types::ResponseHeadersPolicy
@@ -2147,6 +2167,18 @@ module Aws
2147
2167
  ) -> _ListDistributionsByOriginRequestPolicyIdResponseSuccess
2148
2168
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByOriginRequestPolicyIdResponseSuccess
2149
2169
 
2170
+ interface _ListDistributionsByOwnedResourceResponseSuccess
2171
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByOwnedResourceResult]
2172
+ def distribution_list: () -> Types::DistributionIdOwnerList
2173
+ end
2174
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_distributions_by_owned_resource-instance_method
2175
+ def list_distributions_by_owned_resource: (
2176
+ resource_arn: ::String,
2177
+ ?marker: ::String,
2178
+ ?max_items: ::Integer
2179
+ ) -> _ListDistributionsByOwnedResourceResponseSuccess
2180
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByOwnedResourceResponseSuccess
2181
+
2150
2182
  interface _ListDistributionsByRealtimeLogConfigResponseSuccess
2151
2183
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByRealtimeLogConfigResult]
2152
2184
  def distribution_list: () -> Types::DistributionList
@@ -2394,6 +2426,17 @@ module Aws
2394
2426
  ) -> _PublishFunctionResponseSuccess
2395
2427
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PublishFunctionResponseSuccess
2396
2428
 
2429
+ interface _PutResourcePolicyResponseSuccess
2430
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResult]
2431
+ def resource_arn: () -> ::String
2432
+ end
2433
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#put_resource_policy-instance_method
2434
+ def put_resource_policy: (
2435
+ resource_arn: ::String,
2436
+ policy_document: ::String
2437
+ ) -> _PutResourcePolicyResponseSuccess
2438
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
2439
+
2397
2440
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#tag_resource-instance_method
2398
2441
  def tag_resource: (
2399
2442
  resource: ::String,
@@ -2430,6 +2473,19 @@ module Aws
2430
2473
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2431
2474
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2432
2475
 
2476
+ interface _UpdateAnycastIpListResponseSuccess
2477
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAnycastIpListResult]
2478
+ def anycast_ip_list: () -> Types::AnycastIpList
2479
+ def etag: () -> ::String
2480
+ end
2481
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_anycast_ip_list-instance_method
2482
+ def update_anycast_ip_list: (
2483
+ id: ::String,
2484
+ ?ip_address_type: ("ipv4" | "ipv6" | "dualstack"),
2485
+ if_match: ::String
2486
+ ) -> _UpdateAnycastIpListResponseSuccess
2487
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAnycastIpListResponseSuccess
2488
+
2433
2489
  interface _UpdateCachePolicyResponseSuccess
2434
2490
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCachePolicyResult]
2435
2491
  def cache_policy: () -> Types::CachePolicy
@@ -2586,6 +2642,7 @@ module Aws
2586
2642
  }?,
2587
2643
  vpc_origin_config: {
2588
2644
  vpc_origin_id: ::String,
2645
+ owner_account_id: ::String?,
2589
2646
  origin_read_timeout: ::Integer?,
2590
2647
  origin_keepalive_timeout: ::Integer?
2591
2648
  }?,
data/sig/types.rbs CHANGED
@@ -51,6 +51,7 @@ module Aws::CloudFront
51
51
  attr_accessor name: ::String
52
52
  attr_accessor status: ::String
53
53
  attr_accessor arn: ::String
54
+ attr_accessor ip_address_type: ("ipv4" | "ipv6" | "dualstack")
54
55
  attr_accessor anycast_ips: ::Array[::String]
55
56
  attr_accessor ip_count: ::Integer
56
57
  attr_accessor last_modified_time: ::Time
@@ -74,6 +75,8 @@ module Aws::CloudFront
74
75
  attr_accessor arn: ::String
75
76
  attr_accessor ip_count: ::Integer
76
77
  attr_accessor last_modified_time: ::Time
78
+ attr_accessor ip_address_type: ("ipv4" | "ipv6" | "dualstack")
79
+ attr_accessor etag: ::String
77
80
  SENSITIVE: []
78
81
  end
79
82
 
@@ -427,6 +430,7 @@ module Aws::CloudFront
427
430
  attr_accessor name: ::String
428
431
  attr_accessor ip_count: ::Integer
429
432
  attr_accessor tags: Types::Tags
433
+ attr_accessor ip_address_type: ("ipv4" | "ipv6" | "dualstack")
430
434
  SENSITIVE: []
431
435
  end
432
436
 
@@ -892,6 +896,11 @@ module Aws::CloudFront
892
896
  SENSITIVE: []
893
897
  end
894
898
 
899
+ class DeleteResourcePolicyRequest
900
+ attr_accessor resource_arn: ::String
901
+ SENSITIVE: []
902
+ end
903
+
895
904
  class DeleteResponseHeadersPolicyRequest
896
905
  attr_accessor id: ::String
897
906
  attr_accessor if_match: ::String
@@ -1024,6 +1033,22 @@ module Aws::CloudFront
1024
1033
  SENSITIVE: []
1025
1034
  end
1026
1035
 
1036
+ class DistributionIdOwner
1037
+ attr_accessor distribution_id: ::String
1038
+ attr_accessor owner_account_id: ::String
1039
+ SENSITIVE: []
1040
+ end
1041
+
1042
+ class DistributionIdOwnerList
1043
+ attr_accessor marker: ::String
1044
+ attr_accessor next_marker: ::String
1045
+ attr_accessor max_items: ::Integer
1046
+ attr_accessor is_truncated: bool
1047
+ attr_accessor quantity: ::Integer
1048
+ attr_accessor items: ::Array[Types::DistributionIdOwner]
1049
+ SENSITIVE: []
1050
+ end
1051
+
1027
1052
  class DistributionList
1028
1053
  attr_accessor marker: ::String
1029
1054
  attr_accessor next_marker: ::String
@@ -1692,6 +1717,17 @@ module Aws::CloudFront
1692
1717
  SENSITIVE: []
1693
1718
  end
1694
1719
 
1720
+ class GetResourcePolicyRequest
1721
+ attr_accessor resource_arn: ::String
1722
+ SENSITIVE: []
1723
+ end
1724
+
1725
+ class GetResourcePolicyResult
1726
+ attr_accessor resource_arn: ::String
1727
+ attr_accessor policy_document: ::String
1728
+ SENSITIVE: []
1729
+ end
1730
+
1695
1731
  class GetResponseHeadersPolicyConfigRequest
1696
1732
  attr_accessor id: ::String
1697
1733
  SENSITIVE: []
@@ -2205,6 +2241,18 @@ module Aws::CloudFront
2205
2241
  SENSITIVE: []
2206
2242
  end
2207
2243
 
2244
+ class ListDistributionsByOwnedResourceRequest
2245
+ attr_accessor resource_arn: ::String
2246
+ attr_accessor marker: ::String
2247
+ attr_accessor max_items: ::Integer
2248
+ SENSITIVE: []
2249
+ end
2250
+
2251
+ class ListDistributionsByOwnedResourceResult
2252
+ attr_accessor distribution_list: Types::DistributionIdOwnerList
2253
+ SENSITIVE: []
2254
+ end
2255
+
2208
2256
  class ListDistributionsByRealtimeLogConfigRequest
2209
2257
  attr_accessor marker: ::String
2210
2258
  attr_accessor max_items: ::Integer
@@ -2835,6 +2883,17 @@ module Aws::CloudFront
2835
2883
  SENSITIVE: []
2836
2884
  end
2837
2885
 
2886
+ class PutResourcePolicyRequest
2887
+ attr_accessor resource_arn: ::String
2888
+ attr_accessor policy_document: ::String
2889
+ SENSITIVE: []
2890
+ end
2891
+
2892
+ class PutResourcePolicyResult
2893
+ attr_accessor resource_arn: ::String
2894
+ SENSITIVE: []
2895
+ end
2896
+
2838
2897
  class QueryArgProfile
2839
2898
  attr_accessor query_arg: ::String
2840
2899
  attr_accessor profile_id: ::String
@@ -3554,6 +3613,19 @@ module Aws::CloudFront
3554
3613
  SENSITIVE: []
3555
3614
  end
3556
3615
 
3616
+ class UpdateAnycastIpListRequest
3617
+ attr_accessor id: ::String
3618
+ attr_accessor ip_address_type: ("ipv4" | "ipv6" | "dualstack")
3619
+ attr_accessor if_match: ::String
3620
+ SENSITIVE: []
3621
+ end
3622
+
3623
+ class UpdateAnycastIpListResult
3624
+ attr_accessor anycast_ip_list: Types::AnycastIpList
3625
+ attr_accessor etag: ::String
3626
+ SENSITIVE: []
3627
+ end
3628
+
3557
3629
  class UpdateCachePolicyRequest
3558
3630
  attr_accessor cache_policy_config: Types::CachePolicyConfig
3559
3631
  attr_accessor id: ::String
@@ -3857,6 +3929,7 @@ module Aws::CloudFront
3857
3929
  class VpcOrigin
3858
3930
  attr_accessor id: ::String
3859
3931
  attr_accessor arn: ::String
3932
+ attr_accessor account_id: ::String
3860
3933
  attr_accessor status: ::String
3861
3934
  attr_accessor created_time: ::Time
3862
3935
  attr_accessor last_modified_time: ::Time
@@ -3866,6 +3939,7 @@ module Aws::CloudFront
3866
3939
 
3867
3940
  class VpcOriginConfig
3868
3941
  attr_accessor vpc_origin_id: ::String
3942
+ attr_accessor owner_account_id: ::String
3869
3943
  attr_accessor origin_read_timeout: ::Integer
3870
3944
  attr_accessor origin_keepalive_timeout: ::Integer
3871
3945
  SENSITIVE: []
@@ -3898,6 +3972,7 @@ module Aws::CloudFront
3898
3972
  attr_accessor created_time: ::Time
3899
3973
  attr_accessor last_modified_time: ::Time
3900
3974
  attr_accessor arn: ::String
3975
+ attr_accessor account_id: ::String
3901
3976
  attr_accessor origin_endpoint_arn: ::String
3902
3977
  SENSITIVE: []
3903
3978
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-cloudfront
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.132.0
4
+ version: 1.133.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services