aws-sdk-cloudfront 1.132.0 → 1.134.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,15 @@ 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
+ #
243
+ # @!attribute [rw] ipam_config
244
+ # The IPAM configuration for the Anycast static IP list, that contains
245
+ # the quantity and list of IPAM CIDR configurations.
246
+ # @return [Types::IpamConfig]
247
+ #
239
248
  # @!attribute [rw] anycast_ips
240
249
  # The static IP addresses that are allocated to the Anycast static IP
241
250
  # list.
@@ -256,6 +265,8 @@ module Aws::CloudFront
256
265
  :name,
257
266
  :status,
258
267
  :arn,
268
+ :ip_address_type,
269
+ :ipam_config,
259
270
  :anycast_ips,
260
271
  :ip_count,
261
272
  :last_modified_time)
@@ -339,6 +350,19 @@ module Aws::CloudFront
339
350
  # The last time the Anycast static IP list was modified.
340
351
  # @return [Time]
341
352
  #
353
+ # @!attribute [rw] ip_address_type
354
+ # The IP address type for the Anycast static IP list.
355
+ # @return [String]
356
+ #
357
+ # @!attribute [rw] etag
358
+ # The current version (ETag value) of the Anycast static IP list.
359
+ # @return [String]
360
+ #
361
+ # @!attribute [rw] ipam_config
362
+ # The IPAM configuration for the Anycast static IP list, that contains
363
+ # the quantity and list of IPAM CIDR configurations.
364
+ # @return [Types::IpamConfig]
365
+ #
342
366
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/AnycastIpListSummary AWS API Documentation
343
367
  #
344
368
  class AnycastIpListSummary < Struct.new(
@@ -347,7 +371,10 @@ module Aws::CloudFront
347
371
  :status,
348
372
  :arn,
349
373
  :ip_count,
350
- :last_modified_time)
374
+ :last_modified_time,
375
+ :ip_address_type,
376
+ :etag,
377
+ :ipam_config)
351
378
  SENSITIVE = []
352
379
  include Aws::Structure
353
380
  end
@@ -2216,12 +2243,31 @@ module Aws::CloudFront
2216
2243
  # A complex type that contains zero or more `Tag` elements.
2217
2244
  # @return [Types::Tags]
2218
2245
  #
2246
+ # @!attribute [rw] ip_address_type
2247
+ # The IP address type for the Anycast static IP list. You can specify
2248
+ # one of the following options:
2249
+ #
2250
+ # * `ipv4` only
2251
+ #
2252
+ # * `ipv6` only
2253
+ #
2254
+ # * `dualstack` - Allocate a list of both IPv4 and IPv6 addresses
2255
+ # @return [String]
2256
+ #
2257
+ # @!attribute [rw] ipam_cidr_configs
2258
+ # A list of IPAM CIDR configurations that specify the IP address
2259
+ # ranges and IPAM pool settings for creating the Anycast static IP
2260
+ # list.
2261
+ # @return [Array<Types::IpamCidrConfig>]
2262
+ #
2219
2263
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateAnycastIpListRequest AWS API Documentation
2220
2264
  #
2221
2265
  class CreateAnycastIpListRequest < Struct.new(
2222
2266
  :name,
2223
2267
  :ip_count,
2224
- :tags)
2268
+ :tags,
2269
+ :ip_address_type,
2270
+ :ipam_cidr_configs)
2225
2271
  SENSITIVE = []
2226
2272
  include Aws::Structure
2227
2273
  end
@@ -4202,6 +4248,19 @@ module Aws::CloudFront
4202
4248
  include Aws::Structure
4203
4249
  end
4204
4250
 
4251
+ # @!attribute [rw] resource_arn
4252
+ # The Amazon Resource Name (ARN) of the CloudFront resource for which
4253
+ # the resource policy should be deleted.
4254
+ # @return [String]
4255
+ #
4256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteResourcePolicyRequest AWS API Documentation
4257
+ #
4258
+ class DeleteResourcePolicyRequest < Struct.new(
4259
+ :resource_arn)
4260
+ SENSITIVE = []
4261
+ include Aws::Structure
4262
+ end
4263
+
4205
4264
  # @!attribute [rw] id
4206
4265
  # The identifier for the response headers policy that you are
4207
4266
  # deleting.
@@ -4952,6 +5011,77 @@ module Aws::CloudFront
4952
5011
  include Aws::Structure
4953
5012
  end
4954
5013
 
5014
+ # A structure that pairs a CloudFront distribution ID with its owning
5015
+ # Amazon Web Services account ID.
5016
+ #
5017
+ # @!attribute [rw] distribution_id
5018
+ # The ID of the distribution.
5019
+ # @return [String]
5020
+ #
5021
+ # @!attribute [rw] owner_account_id
5022
+ # The ID of the Amazon Web Services account that owns the
5023
+ # distribution.
5024
+ # @return [String]
5025
+ #
5026
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DistributionIdOwner AWS API Documentation
5027
+ #
5028
+ class DistributionIdOwner < Struct.new(
5029
+ :distribution_id,
5030
+ :owner_account_id)
5031
+ SENSITIVE = []
5032
+ include Aws::Structure
5033
+ end
5034
+
5035
+ # The list of distribution IDs and the Amazon Web Services accounts that
5036
+ # they belong to.
5037
+ #
5038
+ # @!attribute [rw] marker
5039
+ # Use this field when paginating results to indicate where to begin in
5040
+ # your list of `DistributionIdOwner` objects. The response includes
5041
+ # distributions in the list that occur after the marker. To get the
5042
+ # next page of the list, set this field's value to the value of
5043
+ # `NextMarker` from the current page's response.
5044
+ # @return [String]
5045
+ #
5046
+ # @!attribute [rw] next_marker
5047
+ # A token used for pagination of results returned in the response. You
5048
+ # can use the token from the previous request to define where the
5049
+ # current request should begin.
5050
+ # @return [String]
5051
+ #
5052
+ # @!attribute [rw] max_items
5053
+ # The maximum number of `DistributionIdOwner` objects to return.
5054
+ # @return [Integer]
5055
+ #
5056
+ # @!attribute [rw] is_truncated
5057
+ # A flag that indicates whether more `DistributionIdOwner` objects
5058
+ # remain to be listed. If your results were truncated, you can make a
5059
+ # follow-up pagination request using the `Marker` request parameter to
5060
+ # retrieve more results in the list.
5061
+ # @return [Boolean]
5062
+ #
5063
+ # @!attribute [rw] quantity
5064
+ # Specifies the actual number of `DistributionIdOwner` objects
5065
+ # included in the list for the current page.
5066
+ # @return [Integer]
5067
+ #
5068
+ # @!attribute [rw] items
5069
+ # The number of `DistributionIdOwner` objects.
5070
+ # @return [Array<Types::DistributionIdOwner>]
5071
+ #
5072
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DistributionIdOwnerList AWS API Documentation
5073
+ #
5074
+ class DistributionIdOwnerList < Struct.new(
5075
+ :marker,
5076
+ :next_marker,
5077
+ :max_items,
5078
+ :is_truncated,
5079
+ :quantity,
5080
+ :items)
5081
+ SENSITIVE = []
5082
+ include Aws::Structure
5083
+ end
5084
+
4955
5085
  # A distribution list.
4956
5086
  #
4957
5087
  # @!attribute [rw] marker
@@ -7412,6 +7542,37 @@ module Aws::CloudFront
7412
7542
  include Aws::Structure
7413
7543
  end
7414
7544
 
7545
+ # @!attribute [rw] resource_arn
7546
+ # The Amazon Resource Name (ARN) of the CloudFront resource that is
7547
+ # associated with the resource policy.
7548
+ # @return [String]
7549
+ #
7550
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetResourcePolicyRequest AWS API Documentation
7551
+ #
7552
+ class GetResourcePolicyRequest < Struct.new(
7553
+ :resource_arn)
7554
+ SENSITIVE = []
7555
+ include Aws::Structure
7556
+ end
7557
+
7558
+ # @!attribute [rw] resource_arn
7559
+ # The Amazon Resource Name (ARN) of the CloudFront resource that is
7560
+ # associated with the resource policy.
7561
+ # @return [String]
7562
+ #
7563
+ # @!attribute [rw] policy_document
7564
+ # The resource policy in JSON format.
7565
+ # @return [String]
7566
+ #
7567
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetResourcePolicyResult AWS API Documentation
7568
+ #
7569
+ class GetResourcePolicyResult < Struct.new(
7570
+ :resource_arn,
7571
+ :policy_document)
7572
+ SENSITIVE = []
7573
+ include Aws::Structure
7574
+ end
7575
+
7415
7576
  # @!attribute [rw] id
7416
7577
  # The identifier for the response headers policy.
7417
7578
  #
@@ -8234,6 +8395,61 @@ module Aws::CloudFront
8234
8395
  include Aws::Structure
8235
8396
  end
8236
8397
 
8398
+ # Configuration for an IPAM CIDR that defines a specific IP address
8399
+ # range, IPAM pool, and associated Anycast IP address.
8400
+ #
8401
+ # @!attribute [rw] cidr
8402
+ # The CIDR that specifies the IP address range for this IPAM
8403
+ # configuration.
8404
+ # @return [String]
8405
+ #
8406
+ # @!attribute [rw] ipam_pool_arn
8407
+ # The Amazon Resource Name (ARN) of the IPAM pool that the CIDR block
8408
+ # is assigned to.
8409
+ # @return [String]
8410
+ #
8411
+ # @!attribute [rw] anycast_ip
8412
+ # The specified Anycast IP address allocated from the IPAM pool for
8413
+ # this CIDR configuration.
8414
+ # @return [String]
8415
+ #
8416
+ # @!attribute [rw] status
8417
+ # The current status of the IPAM CIDR configuration.
8418
+ # @return [String]
8419
+ #
8420
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/IpamCidrConfig AWS API Documentation
8421
+ #
8422
+ class IpamCidrConfig < Struct.new(
8423
+ :cidr,
8424
+ :ipam_pool_arn,
8425
+ :anycast_ip,
8426
+ :status)
8427
+ SENSITIVE = []
8428
+ include Aws::Structure
8429
+ end
8430
+
8431
+ # The configuration IPAM settings that includes the quantity of CIDR
8432
+ # configurations and the list of IPAM CIDR configurations.
8433
+ #
8434
+ # @!attribute [rw] quantity
8435
+ # The number of IPAM CIDR configurations in the `IpamCidrConfigs`
8436
+ # list.
8437
+ # @return [Integer]
8438
+ #
8439
+ # @!attribute [rw] ipam_cidr_configs
8440
+ # A list of IPAM CIDR configurations that define the IP address
8441
+ # ranges, IPAM pools, and associated Anycast IP addresses.
8442
+ # @return [Array<Types::IpamCidrConfig>]
8443
+ #
8444
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/IpamConfig AWS API Documentation
8445
+ #
8446
+ class IpamConfig < Struct.new(
8447
+ :quantity,
8448
+ :ipam_cidr_configs)
8449
+ SENSITIVE = []
8450
+ include Aws::Structure
8451
+ end
8452
+
8237
8453
  # A list of identifiers for the public keys that CloudFront can use to
8238
8454
  # verify the signatures of signed URLs and signed cookies.
8239
8455
  #
@@ -9138,6 +9354,45 @@ module Aws::CloudFront
9138
9354
  include Aws::Structure
9139
9355
  end
9140
9356
 
9357
+ # @!attribute [rw] resource_arn
9358
+ # The ARN of the CloudFront resource that you've shared with other
9359
+ # Amazon Web Services accounts.
9360
+ # @return [String]
9361
+ #
9362
+ # @!attribute [rw] marker
9363
+ # Use this field when paginating results to indicate where to begin in
9364
+ # your list of distributions. The response includes distributions in
9365
+ # the list that occur after the marker. To get the next page of the
9366
+ # list, set this field's value to the value of `NextMarker` from the
9367
+ # current page's response.
9368
+ # @return [String]
9369
+ #
9370
+ # @!attribute [rw] max_items
9371
+ # The maximum number of distributions to return.
9372
+ # @return [Integer]
9373
+ #
9374
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOwnedResourceRequest AWS API Documentation
9375
+ #
9376
+ class ListDistributionsByOwnedResourceRequest < Struct.new(
9377
+ :resource_arn,
9378
+ :marker,
9379
+ :max_items)
9380
+ SENSITIVE = []
9381
+ include Aws::Structure
9382
+ end
9383
+
9384
+ # @!attribute [rw] distribution_list
9385
+ # The list of distributions that are using the shared resource.
9386
+ # @return [Types::DistributionIdOwnerList]
9387
+ #
9388
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByOwnedResourceResult AWS API Documentation
9389
+ #
9390
+ class ListDistributionsByOwnedResourceResult < Struct.new(
9391
+ :distribution_list)
9392
+ SENSITIVE = []
9393
+ include Aws::Structure
9394
+ end
9395
+
9141
9396
  # @!attribute [rw] marker
9142
9397
  # Use this field when paginating results to indicate where to begin in
9143
9398
  # your list of distributions. The response includes distributions in
@@ -11767,6 +12022,37 @@ module Aws::CloudFront
11767
12022
  include Aws::Structure
11768
12023
  end
11769
12024
 
12025
+ # @!attribute [rw] resource_arn
12026
+ # The Amazon Resource Name (ARN) of the CloudFront resource for which
12027
+ # the policy is being created.
12028
+ # @return [String]
12029
+ #
12030
+ # @!attribute [rw] policy_document
12031
+ # The JSON-formatted resource policy to create.
12032
+ # @return [String]
12033
+ #
12034
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/PutResourcePolicyRequest AWS API Documentation
12035
+ #
12036
+ class PutResourcePolicyRequest < Struct.new(
12037
+ :resource_arn,
12038
+ :policy_document)
12039
+ SENSITIVE = []
12040
+ include Aws::Structure
12041
+ end
12042
+
12043
+ # @!attribute [rw] resource_arn
12044
+ # The Amazon Resource Name (ARN) of the CloudFront resource for which
12045
+ # the policy was created.
12046
+ # @return [String]
12047
+ #
12048
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/PutResourcePolicyResult AWS API Documentation
12049
+ #
12050
+ class PutResourcePolicyResult < Struct.new(
12051
+ :resource_arn)
12052
+ SENSITIVE = []
12053
+ include Aws::Structure
12054
+ end
12055
+
11770
12056
  # Query argument-profile mapping for field-level encryption.
11771
12057
  #
11772
12058
  # @!attribute [rw] query_arg
@@ -14815,6 +15101,59 @@ module Aws::CloudFront
14815
15101
  include Aws::Structure
14816
15102
  end
14817
15103
 
15104
+ # @!attribute [rw] id
15105
+ # The ID of the Anycast static IP list.
15106
+ # @return [String]
15107
+ #
15108
+ # @!attribute [rw] ip_address_type
15109
+ # The IP address type for the Anycast static IP list. You can specify
15110
+ # one of the following options:
15111
+ #
15112
+ # * `ipv4` only
15113
+ #
15114
+ # * `ipv6` only
15115
+ #
15116
+ # * `dualstack` - Allocate a list of both IPv4 and IPv6 addresses
15117
+ # @return [String]
15118
+ #
15119
+ # @!attribute [rw] if_match
15120
+ # The current version (ETag value) of the Anycast static IP list that
15121
+ # you are updating.
15122
+ # @return [String]
15123
+ #
15124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateAnycastIpListRequest AWS API Documentation
15125
+ #
15126
+ class UpdateAnycastIpListRequest < Struct.new(
15127
+ :id,
15128
+ :ip_address_type,
15129
+ :if_match)
15130
+ SENSITIVE = []
15131
+ include Aws::Structure
15132
+ end
15133
+
15134
+ # @!attribute [rw] anycast_ip_list
15135
+ # An Anycast static IP list. For more information, see [Request
15136
+ # Anycast static IPs to use for allowlisting][1] in the *Amazon
15137
+ # CloudFront Developer Guide*.
15138
+ #
15139
+ #
15140
+ #
15141
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html
15142
+ # @return [Types::AnycastIpList]
15143
+ #
15144
+ # @!attribute [rw] etag
15145
+ # The current version of the Anycast static IP list.
15146
+ # @return [String]
15147
+ #
15148
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateAnycastIpListResult AWS API Documentation
15149
+ #
15150
+ class UpdateAnycastIpListResult < Struct.new(
15151
+ :anycast_ip_list,
15152
+ :etag)
15153
+ SENSITIVE = []
15154
+ include Aws::Structure
15155
+ end
15156
+
14818
15157
  # @!attribute [rw] cache_policy_config
14819
15158
  # A cache policy configuration.
14820
15159
  # @return [Types::CachePolicyConfig]
@@ -16021,6 +16360,11 @@ module Aws::CloudFront
16021
16360
  # The VPC origin ARN.
16022
16361
  # @return [String]
16023
16362
  #
16363
+ # @!attribute [rw] account_id
16364
+ # The account ID of the Amazon Web Services account that owns the VPC
16365
+ # origin.
16366
+ # @return [String]
16367
+ #
16024
16368
  # @!attribute [rw] status
16025
16369
  # The VPC origin status.
16026
16370
  # @return [String]
@@ -16042,6 +16386,7 @@ module Aws::CloudFront
16042
16386
  class VpcOrigin < Struct.new(
16043
16387
  :id,
16044
16388
  :arn,
16389
+ :account_id,
16045
16390
  :status,
16046
16391
  :created_time,
16047
16392
  :last_modified_time,
@@ -16056,6 +16401,11 @@ module Aws::CloudFront
16056
16401
  # The VPC origin ID.
16057
16402
  # @return [String]
16058
16403
  #
16404
+ # @!attribute [rw] owner_account_id
16405
+ # The account ID of the Amazon Web Services account that owns the VPC
16406
+ # origin.
16407
+ # @return [String]
16408
+ #
16059
16409
  # @!attribute [rw] origin_read_timeout
16060
16410
  # Specifies how long, in seconds, CloudFront waits for a response from
16061
16411
  # the origin. This is also known as the *origin response timeout*. The
@@ -16088,6 +16438,7 @@ module Aws::CloudFront
16088
16438
  #
16089
16439
  class VpcOriginConfig < Struct.new(
16090
16440
  :vpc_origin_id,
16441
+ :owner_account_id,
16091
16442
  :origin_read_timeout,
16092
16443
  :origin_keepalive_timeout)
16093
16444
  SENSITIVE = []
@@ -16206,6 +16557,11 @@ module Aws::CloudFront
16206
16557
  # The VPC origin summary ARN.
16207
16558
  # @return [String]
16208
16559
  #
16560
+ # @!attribute [rw] account_id
16561
+ # The account ID of the Amazon Web Services account that owns the VPC
16562
+ # origin.
16563
+ # @return [String]
16564
+ #
16209
16565
  # @!attribute [rw] origin_endpoint_arn
16210
16566
  # The VPC origin summary origin endpoint ARN.
16211
16567
  # @return [String]
@@ -16219,6 +16575,7 @@ module Aws::CloudFront
16219
16575
  :created_time,
16220
16576
  :last_modified_time,
16221
16577
  :arn,
16578
+ :account_id,
16222
16579
  :origin_endpoint_arn)
16223
16580
  SENSITIVE = []
16224
16581
  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.134.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -145,7 +145,16 @@ module Aws
145
145
  value: ::String?
146
146
  },
147
147
  ]?
148
- }
148
+ },
149
+ ?ip_address_type: ("ipv4" | "ipv6" | "dualstack"),
150
+ ?ipam_cidr_configs: Array[
151
+ {
152
+ cidr: ::String,
153
+ ipam_pool_arn: ::String,
154
+ anycast_ip: ::String?,
155
+ status: ("provisioned" | "failed-provision" | "provisioning" | "deprovisioned" | "failed-deprovision" | "deprovisioning" | "advertised" | "failed-advertise" | "advertising" | "withdrawn" | "failed-withdraw" | "withdrawing")?
156
+ },
157
+ ]
149
158
  ) -> _CreateAnycastIpListResponseSuccess
150
159
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateAnycastIpListResponseSuccess
151
160
 
@@ -310,6 +319,7 @@ module Aws
310
319
  }?,
311
320
  vpc_origin_config: {
312
321
  vpc_origin_id: ::String,
322
+ owner_account_id: ::String?,
313
323
  origin_read_timeout: ::Integer?,
314
324
  origin_keepalive_timeout: ::Integer?
315
325
  }?,
@@ -659,6 +669,7 @@ module Aws
659
669
  }?,
660
670
  vpc_origin_config: {
661
671
  vpc_origin_id: ::String,
672
+ owner_account_id: ::String?,
662
673
  origin_read_timeout: ::Integer?,
663
674
  origin_keepalive_timeout: ::Integer?
664
675
  }?,
@@ -1504,6 +1515,12 @@ module Aws
1504
1515
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1505
1516
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1506
1517
 
1518
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_resource_policy-instance_method
1519
+ def delete_resource_policy: (
1520
+ resource_arn: ::String
1521
+ ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1522
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
1523
+
1507
1524
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#delete_response_headers_policy-instance_method
1508
1525
  def delete_response_headers_policy: (
1509
1526
  id: ::String,
@@ -1918,6 +1935,17 @@ module Aws
1918
1935
  ) -> _GetRealtimeLogConfigResponseSuccess
1919
1936
  | (?Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetRealtimeLogConfigResponseSuccess
1920
1937
 
1938
+ interface _GetResourcePolicyResponseSuccess
1939
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetResourcePolicyResult]
1940
+ def resource_arn: () -> ::String
1941
+ def policy_document: () -> ::String
1942
+ end
1943
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#get_resource_policy-instance_method
1944
+ def get_resource_policy: (
1945
+ resource_arn: ::String
1946
+ ) -> _GetResourcePolicyResponseSuccess
1947
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetResourcePolicyResponseSuccess
1948
+
1921
1949
  interface _GetResponseHeadersPolicyResponseSuccess
1922
1950
  include ::Seahorse::Client::_ResponseSuccess[Types::GetResponseHeadersPolicyResult]
1923
1951
  def response_headers_policy: () -> Types::ResponseHeadersPolicy
@@ -2147,6 +2175,18 @@ module Aws
2147
2175
  ) -> _ListDistributionsByOriginRequestPolicyIdResponseSuccess
2148
2176
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByOriginRequestPolicyIdResponseSuccess
2149
2177
 
2178
+ interface _ListDistributionsByOwnedResourceResponseSuccess
2179
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByOwnedResourceResult]
2180
+ def distribution_list: () -> Types::DistributionIdOwnerList
2181
+ end
2182
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#list_distributions_by_owned_resource-instance_method
2183
+ def list_distributions_by_owned_resource: (
2184
+ resource_arn: ::String,
2185
+ ?marker: ::String,
2186
+ ?max_items: ::Integer
2187
+ ) -> _ListDistributionsByOwnedResourceResponseSuccess
2188
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListDistributionsByOwnedResourceResponseSuccess
2189
+
2150
2190
  interface _ListDistributionsByRealtimeLogConfigResponseSuccess
2151
2191
  include ::Seahorse::Client::_ResponseSuccess[Types::ListDistributionsByRealtimeLogConfigResult]
2152
2192
  def distribution_list: () -> Types::DistributionList
@@ -2394,6 +2434,17 @@ module Aws
2394
2434
  ) -> _PublishFunctionResponseSuccess
2395
2435
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PublishFunctionResponseSuccess
2396
2436
 
2437
+ interface _PutResourcePolicyResponseSuccess
2438
+ include ::Seahorse::Client::_ResponseSuccess[Types::PutResourcePolicyResult]
2439
+ def resource_arn: () -> ::String
2440
+ end
2441
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#put_resource_policy-instance_method
2442
+ def put_resource_policy: (
2443
+ resource_arn: ::String,
2444
+ policy_document: ::String
2445
+ ) -> _PutResourcePolicyResponseSuccess
2446
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutResourcePolicyResponseSuccess
2447
+
2397
2448
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#tag_resource-instance_method
2398
2449
  def tag_resource: (
2399
2450
  resource: ::String,
@@ -2430,6 +2481,19 @@ module Aws
2430
2481
  ) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2431
2482
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> ::Seahorse::Client::_ResponseSuccess[::Aws::EmptyStructure]
2432
2483
 
2484
+ interface _UpdateAnycastIpListResponseSuccess
2485
+ include ::Seahorse::Client::_ResponseSuccess[Types::UpdateAnycastIpListResult]
2486
+ def anycast_ip_list: () -> Types::AnycastIpList
2487
+ def etag: () -> ::String
2488
+ end
2489
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CloudFront/Client.html#update_anycast_ip_list-instance_method
2490
+ def update_anycast_ip_list: (
2491
+ id: ::String,
2492
+ ?ip_address_type: ("ipv4" | "ipv6" | "dualstack"),
2493
+ if_match: ::String
2494
+ ) -> _UpdateAnycastIpListResponseSuccess
2495
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateAnycastIpListResponseSuccess
2496
+
2433
2497
  interface _UpdateCachePolicyResponseSuccess
2434
2498
  include ::Seahorse::Client::_ResponseSuccess[Types::UpdateCachePolicyResult]
2435
2499
  def cache_policy: () -> Types::CachePolicy
@@ -2586,6 +2650,7 @@ module Aws
2586
2650
  }?,
2587
2651
  vpc_origin_config: {
2588
2652
  vpc_origin_id: ::String,
2653
+ owner_account_id: ::String?,
2589
2654
  origin_read_timeout: ::Integer?,
2590
2655
  origin_keepalive_timeout: ::Integer?
2591
2656
  }?,