aws-sdk-cloudfront 1.105.0 → 1.106.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.
@@ -211,6 +211,141 @@ module Aws::CloudFront
211
211
  include Aws::Structure
212
212
  end
213
213
 
214
+ # An Anycast static IP list.
215
+ #
216
+ # @!attribute [rw] id
217
+ # The ID of the Anycast static IP list.
218
+ # @return [String]
219
+ #
220
+ # @!attribute [rw] name
221
+ # The name of the Anycast static IP list.
222
+ # @return [String]
223
+ #
224
+ # @!attribute [rw] status
225
+ # The status of the Anycast static IP list. Valid values: `Deployed`,
226
+ # `Deploying`, or `Failed`.
227
+ # @return [String]
228
+ #
229
+ # @!attribute [rw] arn
230
+ # The Amazon Resource Name (ARN) of the Anycast static IP list.
231
+ # @return [String]
232
+ #
233
+ # @!attribute [rw] anycast_ips
234
+ # The static IP addresses that are allocated to the Anycast static IP
235
+ # list.
236
+ # @return [Array<String>]
237
+ #
238
+ # @!attribute [rw] ip_count
239
+ # The number of IP addresses in the Anycast static IP list.
240
+ # @return [Integer]
241
+ #
242
+ # @!attribute [rw] last_modified_time
243
+ # The last time the Anycast static IP list was modified.
244
+ # @return [Time]
245
+ #
246
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/AnycastIpList AWS API Documentation
247
+ #
248
+ class AnycastIpList < Struct.new(
249
+ :id,
250
+ :name,
251
+ :status,
252
+ :arn,
253
+ :anycast_ips,
254
+ :ip_count,
255
+ :last_modified_time)
256
+ SENSITIVE = []
257
+ include Aws::Structure
258
+ end
259
+
260
+ # The Anycast static IP list collection.
261
+ #
262
+ # @!attribute [rw] items
263
+ # Items in the Anycast static IP list collection. Each item is of the
264
+ # AnycastIpListSummary structure type.
265
+ # @return [Array<Types::AnycastIpListSummary>]
266
+ #
267
+ # @!attribute [rw] marker
268
+ # Use this field when paginating results to indicate where to begin in
269
+ # your list. The response includes items in the list that occur after
270
+ # the marker. To get the next page of the list, set this field's
271
+ # value to the value of `NextMarker` from the current page's
272
+ # response.
273
+ # @return [String]
274
+ #
275
+ # @!attribute [rw] next_marker
276
+ # Indicates the next page of the Anycast static IP list collection. To
277
+ # get the next page of the list, use this value in the `Marker` field
278
+ # of your request.
279
+ # @return [String]
280
+ #
281
+ # @!attribute [rw] max_items
282
+ # The maximum number of Anycast static IP list collections that you
283
+ # want returned in the response.
284
+ # @return [Integer]
285
+ #
286
+ # @!attribute [rw] is_truncated
287
+ # If there are more items in the list collection than are in this
288
+ # response, this value is `true`.
289
+ # @return [Boolean]
290
+ #
291
+ # @!attribute [rw] quantity
292
+ # The quantity of Anycast static IP lists in the collection.
293
+ # @return [Integer]
294
+ #
295
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/AnycastIpListCollection AWS API Documentation
296
+ #
297
+ class AnycastIpListCollection < Struct.new(
298
+ :items,
299
+ :marker,
300
+ :next_marker,
301
+ :max_items,
302
+ :is_truncated,
303
+ :quantity)
304
+ SENSITIVE = []
305
+ include Aws::Structure
306
+ end
307
+
308
+ # An abbreviated version of the AnycastIpList structure. Omits the
309
+ # allocated static IP addresses (AnycastIpList$AnycastIps).
310
+ #
311
+ # @!attribute [rw] id
312
+ # The ID of the Anycast static IP list.
313
+ # @return [String]
314
+ #
315
+ # @!attribute [rw] name
316
+ # The name of the Anycast static IP list.
317
+ # @return [String]
318
+ #
319
+ # @!attribute [rw] status
320
+ # The deployment status of the Anycast static IP list. Valid values:
321
+ # Deployed, Deploying, or Failed.
322
+ # @return [String]
323
+ #
324
+ # @!attribute [rw] arn
325
+ # The Amazon Resource Name (ARN) of the Anycast static IP list.
326
+ # @return [String]
327
+ #
328
+ # @!attribute [rw] ip_count
329
+ # The number of IP addresses in the Anycast static IP list.
330
+ # @return [Integer]
331
+ #
332
+ # @!attribute [rw] last_modified_time
333
+ # The last time the Anycast static IP list was modified.
334
+ # @return [Time]
335
+ #
336
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/AnycastIpListSummary AWS API Documentation
337
+ #
338
+ class AnycastIpListSummary < Struct.new(
339
+ :id,
340
+ :name,
341
+ :status,
342
+ :arn,
343
+ :ip_count,
344
+ :last_modified_time)
345
+ SENSITIVE = []
346
+ include Aws::Structure
347
+ end
348
+
214
349
  # @!attribute [rw] target_distribution_id
215
350
  # The ID of the distribution that you're associating the alias with.
216
351
  # @return [String]
@@ -492,6 +627,10 @@ module Aws::CloudFront
492
627
  # The identifier for a response headers policy.
493
628
  # @return [String]
494
629
  #
630
+ # @!attribute [rw] grpc_config
631
+ # The gRPC configuration for your cache behavior.
632
+ # @return [Types::GrpcConfig]
633
+ #
495
634
  # @!attribute [rw] forwarded_values
496
635
  # This field is deprecated. We recommend that you use a cache policy
497
636
  # or an origin request policy instead of this field. For more
@@ -608,6 +747,7 @@ module Aws::CloudFront
608
747
  :cache_policy_id,
609
748
  :origin_request_policy_id,
610
749
  :response_headers_policy_id,
750
+ :grpc_config,
611
751
  :forwarded_values,
612
752
  :min_ttl,
613
753
  :default_ttl,
@@ -1025,7 +1165,7 @@ module Aws::CloudFront
1025
1165
  include Aws::Structure
1026
1166
  end
1027
1167
 
1028
- # The key value store entity cannot be deleted while it is in use.
1168
+ # The entity cannot be deleted while it is in use.
1029
1169
  #
1030
1170
  # @!attribute [rw] message
1031
1171
  # @return [String]
@@ -1038,6 +1178,19 @@ module Aws::CloudFront
1038
1178
  include Aws::Structure
1039
1179
  end
1040
1180
 
1181
+ # The entity cannot be updated while it is in use.
1182
+ #
1183
+ # @!attribute [rw] message
1184
+ # @return [String]
1185
+ #
1186
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CannotUpdateEntityWhileInUse AWS API Documentation
1187
+ #
1188
+ class CannotUpdateEntityWhileInUse < Struct.new(
1189
+ :message)
1190
+ SENSITIVE = []
1191
+ include Aws::Structure
1192
+ end
1193
+
1041
1194
  # CloudFront origin access identity.
1042
1195
  #
1043
1196
  # @!attribute [rw] id
@@ -1717,6 +1870,48 @@ module Aws::CloudFront
1717
1870
  include Aws::Structure
1718
1871
  end
1719
1872
 
1873
+ # @!attribute [rw] name
1874
+ # Name of the Anycast static IP list.
1875
+ # @return [String]
1876
+ #
1877
+ # @!attribute [rw] ip_count
1878
+ # The number of static IP addresses that are allocated to the Anycast
1879
+ # static IP list.
1880
+ # @return [Integer]
1881
+ #
1882
+ # @!attribute [rw] tags
1883
+ # A complex type that contains zero or more `Tag` elements.
1884
+ # @return [Types::Tags]
1885
+ #
1886
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateAnycastIpListRequest AWS API Documentation
1887
+ #
1888
+ class CreateAnycastIpListRequest < Struct.new(
1889
+ :name,
1890
+ :ip_count,
1891
+ :tags)
1892
+ SENSITIVE = []
1893
+ include Aws::Structure
1894
+ end
1895
+
1896
+ # @!attribute [rw] anycast_ip_list
1897
+ # A response structure that includes the version identifier (ETag) and
1898
+ # the created AnycastIpList structure.
1899
+ # @return [Types::AnycastIpList]
1900
+ #
1901
+ # @!attribute [rw] etag
1902
+ # The version identifier for the current version of the Anycast static
1903
+ # IP list.
1904
+ # @return [String]
1905
+ #
1906
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateAnycastIpListResult AWS API Documentation
1907
+ #
1908
+ class CreateAnycastIpListResult < Struct.new(
1909
+ :anycast_ip_list,
1910
+ :etag)
1911
+ SENSITIVE = []
1912
+ include Aws::Structure
1913
+ end
1914
+
1720
1915
  # @!attribute [rw] cache_policy_config
1721
1916
  # A cache policy configuration.
1722
1917
  # @return [Types::CachePolicyConfig]
@@ -2456,6 +2651,45 @@ module Aws::CloudFront
2456
2651
  include Aws::Structure
2457
2652
  end
2458
2653
 
2654
+ # @!attribute [rw] vpc_origin_endpoint_config
2655
+ # The VPC origin endpoint configuration.
2656
+ # @return [Types::VpcOriginEndpointConfig]
2657
+ #
2658
+ # @!attribute [rw] tags
2659
+ # A complex type that contains zero or more `Tag` elements.
2660
+ # @return [Types::Tags]
2661
+ #
2662
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateVpcOriginRequest AWS API Documentation
2663
+ #
2664
+ class CreateVpcOriginRequest < Struct.new(
2665
+ :vpc_origin_endpoint_config,
2666
+ :tags)
2667
+ SENSITIVE = []
2668
+ include Aws::Structure
2669
+ end
2670
+
2671
+ # @!attribute [rw] vpc_origin
2672
+ # The VPC origin.
2673
+ # @return [Types::VpcOrigin]
2674
+ #
2675
+ # @!attribute [rw] location
2676
+ # The VPC origin location.
2677
+ # @return [String]
2678
+ #
2679
+ # @!attribute [rw] etag
2680
+ # The VPC origin ETag.
2681
+ # @return [String]
2682
+ #
2683
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateVpcOriginResult AWS API Documentation
2684
+ #
2685
+ class CreateVpcOriginResult < Struct.new(
2686
+ :vpc_origin,
2687
+ :location,
2688
+ :etag)
2689
+ SENSITIVE = []
2690
+ include Aws::Structure
2691
+ end
2692
+
2459
2693
  # A complex type that controls:
2460
2694
  #
2461
2695
  # * Whether CloudFront replaces HTTP status codes in the 4xx and 5xx
@@ -2881,6 +3115,10 @@ module Aws::CloudFront
2881
3115
  # The identifier for a response headers policy.
2882
3116
  # @return [String]
2883
3117
  #
3118
+ # @!attribute [rw] grpc_config
3119
+ # The gRPC configuration for your cache behavior.
3120
+ # @return [Types::GrpcConfig]
3121
+ #
2884
3122
  # @!attribute [rw] forwarded_values
2885
3123
  # This field is deprecated. We recommend that you use a cache policy
2886
3124
  # or an origin request policy instead of this field. For more
@@ -2996,6 +3234,7 @@ module Aws::CloudFront
2996
3234
  :cache_policy_id,
2997
3235
  :origin_request_policy_id,
2998
3236
  :response_headers_policy_id,
3237
+ :grpc_config,
2999
3238
  :forwarded_values,
3000
3239
  :min_ttl,
3001
3240
  :default_ttl,
@@ -3004,6 +3243,24 @@ module Aws::CloudFront
3004
3243
  include Aws::Structure
3005
3244
  end
3006
3245
 
3246
+ # @!attribute [rw] id
3247
+ # The ID of the Anycast static IP list.
3248
+ # @return [String]
3249
+ #
3250
+ # @!attribute [rw] if_match
3251
+ # The current version (`ETag` value) of the Anycast static IP list
3252
+ # that you are deleting.
3253
+ # @return [String]
3254
+ #
3255
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteAnycastIpListRequest AWS API Documentation
3256
+ #
3257
+ class DeleteAnycastIpListRequest < Struct.new(
3258
+ :id,
3259
+ :if_match)
3260
+ SENSITIVE = []
3261
+ include Aws::Structure
3262
+ end
3263
+
3007
3264
  # @!attribute [rw] id
3008
3265
  # The unique identifier for the cache policy that you are deleting. To
3009
3266
  # get the identifier, you can use `ListCachePolicies`.
@@ -3353,6 +3610,40 @@ module Aws::CloudFront
3353
3610
  include Aws::Structure
3354
3611
  end
3355
3612
 
3613
+ # @!attribute [rw] id
3614
+ # The VPC origin ID.
3615
+ # @return [String]
3616
+ #
3617
+ # @!attribute [rw] if_match
3618
+ # The VPC origin to delete, if a match occurs.
3619
+ # @return [String]
3620
+ #
3621
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteVpcOriginRequest AWS API Documentation
3622
+ #
3623
+ class DeleteVpcOriginRequest < Struct.new(
3624
+ :id,
3625
+ :if_match)
3626
+ SENSITIVE = []
3627
+ include Aws::Structure
3628
+ end
3629
+
3630
+ # @!attribute [rw] vpc_origin
3631
+ # The VPC origin.
3632
+ # @return [Types::VpcOrigin]
3633
+ #
3634
+ # @!attribute [rw] etag
3635
+ # The VPC origin ETag.
3636
+ # @return [String]
3637
+ #
3638
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteVpcOriginResult AWS API Documentation
3639
+ #
3640
+ class DeleteVpcOriginResult < Struct.new(
3641
+ :vpc_origin,
3642
+ :etag)
3643
+ SENSITIVE = []
3644
+ include Aws::Structure
3645
+ end
3646
+
3356
3647
  # @!attribute [rw] name
3357
3648
  # The name of the function that you are getting information about.
3358
3649
  # @return [String]
@@ -3759,6 +4050,11 @@ module Aws::CloudFront
3759
4050
  # value is `false`, this is not a staging distribution.
3760
4051
  # @return [Boolean]
3761
4052
  #
4053
+ # @!attribute [rw] anycast_ip_list_id
4054
+ # ID of the Anycast static IP list that is associated with the
4055
+ # distribution.
4056
+ # @return [String]
4057
+ #
3762
4058
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DistributionConfig AWS API Documentation
3763
4059
  #
3764
4060
  class DistributionConfig < Struct.new(
@@ -3780,7 +4076,8 @@ module Aws::CloudFront
3780
4076
  :http_version,
3781
4077
  :is_ipv6_enabled,
3782
4078
  :continuous_deployment_policy_id,
3783
- :staging)
4079
+ :staging,
4080
+ :anycast_ip_list_id)
3784
4081
  SENSITIVE = [:comment]
3785
4082
  include Aws::Structure
3786
4083
  end
@@ -4030,6 +4327,11 @@ module Aws::CloudFront
4030
4327
  # value is `false`, this is not a staging distribution.
4031
4328
  # @return [Boolean]
4032
4329
  #
4330
+ # @!attribute [rw] anycast_ip_list_id
4331
+ # ID of the Anycast static IP list that is associated with the
4332
+ # distribution.
4333
+ # @return [String]
4334
+ #
4033
4335
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DistributionSummary AWS API Documentation
4034
4336
  #
4035
4337
  class DistributionSummary < Struct.new(
@@ -4053,7 +4355,8 @@ module Aws::CloudFront
4053
4355
  :http_version,
4054
4356
  :is_ipv6_enabled,
4055
4357
  :alias_icp_recordals,
4056
- :staging)
4358
+ :staging,
4359
+ :anycast_ip_list_id)
4057
4360
  SENSITIVE = []
4058
4361
  include Aws::Structure
4059
4362
  end
@@ -4136,8 +4439,7 @@ module Aws::CloudFront
4136
4439
  include Aws::Structure
4137
4440
  end
4138
4441
 
4139
- # The key value store entity already exists. You must provide a unique
4140
- # key value store entity.
4442
+ # The entity already exists. You must provide a unique entity.
4141
4443
  #
4142
4444
  # @!attribute [rw] message
4143
4445
  # @return [String]
@@ -4150,7 +4452,7 @@ module Aws::CloudFront
4150
4452
  include Aws::Structure
4151
4453
  end
4152
4454
 
4153
- # The key value store entity limit has been exceeded.
4455
+ # The entity limit has been exceeded.
4154
4456
  #
4155
4457
  # @!attribute [rw] message
4156
4458
  # @return [String]
@@ -4163,7 +4465,7 @@ module Aws::CloudFront
4163
4465
  include Aws::Structure
4164
4466
  end
4165
4467
 
4166
- # The key value store entity was not found.
4468
+ # The entity was not found.
4167
4469
  #
4168
4470
  # @!attribute [rw] message
4169
4471
  # @return [String]
@@ -4176,7 +4478,7 @@ module Aws::CloudFront
4176
4478
  include Aws::Structure
4177
4479
  end
4178
4480
 
4179
- # The key value store entity size limit was exceeded.
4481
+ # The entity size limit was exceeded.
4180
4482
  #
4181
4483
  # @!attribute [rw] message
4182
4484
  # @return [String]
@@ -4953,6 +5255,36 @@ module Aws::CloudFront
4953
5255
  include Aws::Structure
4954
5256
  end
4955
5257
 
5258
+ # @!attribute [rw] id
5259
+ # The ID of the Anycast static IP list.
5260
+ # @return [String]
5261
+ #
5262
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetAnycastIpListRequest AWS API Documentation
5263
+ #
5264
+ class GetAnycastIpListRequest < Struct.new(
5265
+ :id)
5266
+ SENSITIVE = []
5267
+ include Aws::Structure
5268
+ end
5269
+
5270
+ # @!attribute [rw] anycast_ip_list
5271
+ # The Anycast static IP list details.
5272
+ # @return [Types::AnycastIpList]
5273
+ #
5274
+ # @!attribute [rw] etag
5275
+ # The version identifier for the current version of the Anycast static
5276
+ # IP list.
5277
+ # @return [String]
5278
+ #
5279
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetAnycastIpListResult AWS API Documentation
5280
+ #
5281
+ class GetAnycastIpListResult < Struct.new(
5282
+ :anycast_ip_list,
5283
+ :etag)
5284
+ SENSITIVE = []
5285
+ include Aws::Structure
5286
+ end
5287
+
4956
5288
  # @!attribute [rw] id
4957
5289
  # The unique identifier for the cache policy. If the cache policy is
4958
5290
  # attached to a distribution's cache behavior, you can get the
@@ -5870,6 +6202,64 @@ module Aws::CloudFront
5870
6202
  include Aws::Structure
5871
6203
  end
5872
6204
 
6205
+ # @!attribute [rw] id
6206
+ # The VPC origin ID.
6207
+ # @return [String]
6208
+ #
6209
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetVpcOriginRequest AWS API Documentation
6210
+ #
6211
+ class GetVpcOriginRequest < Struct.new(
6212
+ :id)
6213
+ SENSITIVE = []
6214
+ include Aws::Structure
6215
+ end
6216
+
6217
+ # @!attribute [rw] vpc_origin
6218
+ # The VPC origin.
6219
+ # @return [Types::VpcOrigin]
6220
+ #
6221
+ # @!attribute [rw] etag
6222
+ # The VPC origin ETag.
6223
+ # @return [String]
6224
+ #
6225
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetVpcOriginResult AWS API Documentation
6226
+ #
6227
+ class GetVpcOriginResult < Struct.new(
6228
+ :vpc_origin,
6229
+ :etag)
6230
+ SENSITIVE = []
6231
+ include Aws::Structure
6232
+ end
6233
+
6234
+ # Amazon CloudFront supports gRPC, an open-source remote procedure call
6235
+ # (RPC) framework built on HTTP/2. gRPC offers bi-directional streaming
6236
+ # and binary protocol that buffers payloads, making it suitable for
6237
+ # applications that require low latency communications.
6238
+ #
6239
+ # To enable your distribution to handle gRPC requests, you must include
6240
+ # HTTP/2 as one of the supported `HTTP` versions and allow `HTTP`
6241
+ # methods, including `POST`.
6242
+ #
6243
+ # For more information, see [Using gRPC with CloudFront
6244
+ # distributions][1] in the *Amazon CloudFront Developer Guide*.
6245
+ #
6246
+ #
6247
+ #
6248
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-using-grpc.html
6249
+ #
6250
+ # @!attribute [rw] enabled
6251
+ # Enables your CloudFront distribution to receive gRPC requests and to
6252
+ # proxy them directly to your origins.
6253
+ # @return [Boolean]
6254
+ #
6255
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GrpcConfig AWS API Documentation
6256
+ #
6257
+ class GrpcConfig < Struct.new(
6258
+ :enabled)
6259
+ SENSITIVE = []
6260
+ include Aws::Structure
6261
+ end
6262
+
5873
6263
  # Contains a list of HTTP header names.
5874
6264
  #
5875
6265
  # @!attribute [rw] quantity
@@ -5889,7 +6279,7 @@ module Aws::CloudFront
5889
6279
  include Aws::Structure
5890
6280
  end
5891
6281
 
5892
- # You cannot delete a managed policy.
6282
+ # Deletion is not allowed for this entity.
5893
6283
  #
5894
6284
  # @!attribute [rw] message
5895
6285
  # @return [String]
@@ -6864,6 +7254,40 @@ module Aws::CloudFront
6864
7254
  include Aws::Structure
6865
7255
  end
6866
7256
 
7257
+ # @!attribute [rw] marker
7258
+ # Use this field when paginating results to indicate where to begin in
7259
+ # your list. The response includes items in the list that occur after
7260
+ # the marker. To get the next page of the list, set this field's
7261
+ # value to the value of `NextMarker` from the current page's
7262
+ # response.
7263
+ # @return [String]
7264
+ #
7265
+ # @!attribute [rw] max_items
7266
+ # The maximum number of Anycast static IP lists that you want returned
7267
+ # in the response.
7268
+ # @return [Integer]
7269
+ #
7270
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListAnycastIpListsRequest AWS API Documentation
7271
+ #
7272
+ class ListAnycastIpListsRequest < Struct.new(
7273
+ :marker,
7274
+ :max_items)
7275
+ SENSITIVE = []
7276
+ include Aws::Structure
7277
+ end
7278
+
7279
+ # @!attribute [rw] anycast_ip_lists
7280
+ # Root level tag for the `AnycastIpLists` parameters.
7281
+ # @return [Types::AnycastIpListCollection]
7282
+ #
7283
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListAnycastIpListsResult AWS API Documentation
7284
+ #
7285
+ class ListAnycastIpListsResult < Struct.new(
7286
+ :anycast_ip_lists)
7287
+ SENSITIVE = []
7288
+ include Aws::Structure
7289
+ end
7290
+
6867
7291
  # @!attribute [rw] type
6868
7292
  # A filter to return only the specified kinds of cache policies. Valid
6869
7293
  # values are:
@@ -7027,6 +7451,45 @@ module Aws::CloudFront
7027
7451
  include Aws::Structure
7028
7452
  end
7029
7453
 
7454
+ # @!attribute [rw] marker
7455
+ # Use this field when paginating results to indicate where to begin in
7456
+ # your list. The response includes items in the list that occur after
7457
+ # the marker. To get the next page of the list, set this field's
7458
+ # value to the value of `NextMarker` from the current page's
7459
+ # response.
7460
+ # @return [String]
7461
+ #
7462
+ # @!attribute [rw] max_items
7463
+ # The maximum number of distributions that you want returned in the
7464
+ # response.
7465
+ # @return [Integer]
7466
+ #
7467
+ # @!attribute [rw] anycast_ip_list_id
7468
+ # The ID of the Anycast static IP list.
7469
+ # @return [String]
7470
+ #
7471
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByAnycastIpListIdRequest AWS API Documentation
7472
+ #
7473
+ class ListDistributionsByAnycastIpListIdRequest < Struct.new(
7474
+ :marker,
7475
+ :max_items,
7476
+ :anycast_ip_list_id)
7477
+ SENSITIVE = []
7478
+ include Aws::Structure
7479
+ end
7480
+
7481
+ # @!attribute [rw] distribution_list
7482
+ # A distribution list.
7483
+ # @return [Types::DistributionList]
7484
+ #
7485
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByAnycastIpListIdResult AWS API Documentation
7486
+ #
7487
+ class ListDistributionsByAnycastIpListIdResult < Struct.new(
7488
+ :distribution_list)
7489
+ SENSITIVE = []
7490
+ include Aws::Structure
7491
+ end
7492
+
7030
7493
  # @!attribute [rw] marker
7031
7494
  # Use this field when paginating results to indicate where to begin in
7032
7495
  # your list of distribution IDs. The response includes distribution
@@ -7232,6 +7695,40 @@ module Aws::CloudFront
7232
7695
  include Aws::Structure
7233
7696
  end
7234
7697
 
7698
+ # @!attribute [rw] marker
7699
+ # The marker associated with the VPC origin distributions list.
7700
+ # @return [String]
7701
+ #
7702
+ # @!attribute [rw] max_items
7703
+ # The maximum number of items included in the list.
7704
+ # @return [Integer]
7705
+ #
7706
+ # @!attribute [rw] vpc_origin_id
7707
+ # The VPC origin ID.
7708
+ # @return [String]
7709
+ #
7710
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByVpcOriginIdRequest AWS API Documentation
7711
+ #
7712
+ class ListDistributionsByVpcOriginIdRequest < Struct.new(
7713
+ :marker,
7714
+ :max_items,
7715
+ :vpc_origin_id)
7716
+ SENSITIVE = []
7717
+ include Aws::Structure
7718
+ end
7719
+
7720
+ # @!attribute [rw] distribution_id_list
7721
+ # A list of distribution IDs.
7722
+ # @return [Types::DistributionIdList]
7723
+ #
7724
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListDistributionsByVpcOriginIdResult AWS API Documentation
7725
+ #
7726
+ class ListDistributionsByVpcOriginIdResult < Struct.new(
7727
+ :distribution_id_list)
7728
+ SENSITIVE = []
7729
+ include Aws::Structure
7730
+ end
7731
+
7235
7732
  # The request to list distributions that are associated with a specified
7236
7733
  # WAF web ACL.
7237
7734
  #
@@ -7805,17 +8302,61 @@ module Aws::CloudFront
7805
8302
  include Aws::Structure
7806
8303
  end
7807
8304
 
7808
- # A complex type that controls whether access logs are written for the
8305
+ # @!attribute [rw] marker
8306
+ # The marker associated with the VPC origins list.
8307
+ # @return [String]
8308
+ #
8309
+ # @!attribute [rw] max_items
8310
+ # The maximum number of items included in the list.
8311
+ # @return [Integer]
8312
+ #
8313
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListVpcOriginsRequest AWS API Documentation
8314
+ #
8315
+ class ListVpcOriginsRequest < Struct.new(
8316
+ :marker,
8317
+ :max_items)
8318
+ SENSITIVE = []
8319
+ include Aws::Structure
8320
+ end
8321
+
8322
+ # @!attribute [rw] vpc_origin_list
8323
+ # List of VPC origins.
8324
+ # @return [Types::VpcOriginList]
8325
+ #
8326
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListVpcOriginsResult AWS API Documentation
8327
+ #
8328
+ class ListVpcOriginsResult < Struct.new(
8329
+ :vpc_origin_list)
8330
+ SENSITIVE = []
8331
+ include Aws::Structure
8332
+ end
8333
+
8334
+ # A complex type that specifies whether access logs are written for the
7809
8335
  # distribution.
7810
8336
  #
8337
+ # <note markdown="1"> If you already enabled standard logging (legacy) and you want to
8338
+ # enable standard logging (v2) to send your access logs to Amazon S3, we
8339
+ # recommend that you specify a *different* Amazon S3 bucket or use a
8340
+ # *separate path* in the same bucket (for example, use a log prefix or
8341
+ # partitioning). This helps you keep track of which log files are
8342
+ # associated with which logging subscription and prevents log files from
8343
+ # overwriting each other. For more information, see [Standard logging
8344
+ # (access logs)][1] in the *Amazon CloudFront Developer Guide*.
8345
+ #
8346
+ # </note>
8347
+ #
8348
+ #
8349
+ #
8350
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html
8351
+ #
7811
8352
  # @!attribute [rw] enabled
7812
8353
  # Specifies whether you want CloudFront to save access logs to an
7813
8354
  # Amazon S3 bucket. If you don't want to enable logging when you
7814
8355
  # create a distribution or if you want to disable logging for an
7815
8356
  # existing distribution, specify `false` for `Enabled`, and specify
7816
8357
  # empty `Bucket` and `Prefix` elements. If you specify `false` for
7817
- # `Enabled` but you specify values for `Bucket`, `prefix`, and
7818
- # `IncludeCookies`, the values are automatically deleted.
8358
+ # `Enabled` but you specify values for `Bucket` and `prefix`, the
8359
+ # values are automatically deleted.
7819
8360
  # @return [Boolean]
7820
8361
  #
7821
8362
  # @!attribute [rw] include_cookies
@@ -7830,7 +8371,7 @@ module Aws::CloudFront
7830
8371
  #
7831
8372
  # @!attribute [rw] bucket
7832
8373
  # The Amazon S3 bucket to store the access logs in, for example,
7833
- # `myawslogbucket.s3.amazonaws.com`.
8374
+ # `amzn-s3-demo-bucket.s3.amazonaws.com`.
7834
8375
  # @return [String]
7835
8376
  #
7836
8377
  # @!attribute [rw] prefix
@@ -8208,6 +8749,10 @@ module Aws::CloudFront
8208
8749
  # type instead.
8209
8750
  # @return [Types::CustomOriginConfig]
8210
8751
  #
8752
+ # @!attribute [rw] vpc_origin_config
8753
+ # The VPC origin configuration.
8754
+ # @return [Types::VpcOriginConfig]
8755
+ #
8211
8756
  # @!attribute [rw] connection_attempts
8212
8757
  # The number of times that CloudFront attempts to connect to the
8213
8758
  # origin. The minimum number is 1, the maximum is 3, and the default
@@ -8273,6 +8818,7 @@ module Aws::CloudFront
8273
8818
  :custom_headers,
8274
8819
  :s3_origin_config,
8275
8820
  :custom_origin_config,
8821
+ :vpc_origin_config,
8276
8822
  :connection_attempts,
8277
8823
  :connection_timeout,
8278
8824
  :origin_shield,
@@ -11155,7 +11701,7 @@ module Aws::CloudFront
11155
11701
  #
11156
11702
  # @!attribute [rw] bucket
11157
11703
  # The Amazon S3 bucket to store the access logs in, for example,
11158
- # `myawslogbucket.s3.amazonaws.com`.
11704
+ # `amzn-s3-demo-bucket.s3.amazonaws.com`.
11159
11705
  # @return [String]
11160
11706
  #
11161
11707
  # @!attribute [rw] prefix
@@ -13064,6 +13610,45 @@ module Aws::CloudFront
13064
13610
  include Aws::Structure
13065
13611
  end
13066
13612
 
13613
+ # @!attribute [rw] vpc_origin_endpoint_config
13614
+ # The VPC origin endpoint configuration.
13615
+ # @return [Types::VpcOriginEndpointConfig]
13616
+ #
13617
+ # @!attribute [rw] id
13618
+ # The VPC origin ID.
13619
+ # @return [String]
13620
+ #
13621
+ # @!attribute [rw] if_match
13622
+ # The VPC origin to update, if a match occurs.
13623
+ # @return [String]
13624
+ #
13625
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateVpcOriginRequest AWS API Documentation
13626
+ #
13627
+ class UpdateVpcOriginRequest < Struct.new(
13628
+ :vpc_origin_endpoint_config,
13629
+ :id,
13630
+ :if_match)
13631
+ SENSITIVE = []
13632
+ include Aws::Structure
13633
+ end
13634
+
13635
+ # @!attribute [rw] vpc_origin
13636
+ # The VPC origin.
13637
+ # @return [Types::VpcOrigin]
13638
+ #
13639
+ # @!attribute [rw] etag
13640
+ # The VPC origin ETag.
13641
+ # @return [String]
13642
+ #
13643
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateVpcOriginResult AWS API Documentation
13644
+ #
13645
+ class UpdateVpcOriginResult < Struct.new(
13646
+ :vpc_origin,
13647
+ :etag)
13648
+ SENSITIVE = []
13649
+ include Aws::Structure
13650
+ end
13651
+
13067
13652
  # A complex type that determines the distribution's SSL/TLS
13068
13653
  # configuration for communicating with viewers.
13069
13654
  #
@@ -13265,6 +13850,187 @@ module Aws::CloudFront
13265
13850
  include Aws::Structure
13266
13851
  end
13267
13852
 
13853
+ # An Amazon CloudFront VPC origin.
13854
+ #
13855
+ # @!attribute [rw] id
13856
+ # The VPC origin ID.
13857
+ # @return [String]
13858
+ #
13859
+ # @!attribute [rw] arn
13860
+ # The VPC origin ARN.
13861
+ # @return [String]
13862
+ #
13863
+ # @!attribute [rw] status
13864
+ # The VPC origin status.
13865
+ # @return [String]
13866
+ #
13867
+ # @!attribute [rw] created_time
13868
+ # The VPC origin created time.
13869
+ # @return [Time]
13870
+ #
13871
+ # @!attribute [rw] last_modified_time
13872
+ # The VPC origin last modified time.
13873
+ # @return [Time]
13874
+ #
13875
+ # @!attribute [rw] vpc_origin_endpoint_config
13876
+ # The VPC origin endpoint configuration.
13877
+ # @return [Types::VpcOriginEndpointConfig]
13878
+ #
13879
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/VpcOrigin AWS API Documentation
13880
+ #
13881
+ class VpcOrigin < Struct.new(
13882
+ :id,
13883
+ :arn,
13884
+ :status,
13885
+ :created_time,
13886
+ :last_modified_time,
13887
+ :vpc_origin_endpoint_config)
13888
+ SENSITIVE = []
13889
+ include Aws::Structure
13890
+ end
13891
+
13892
+ # An Amazon CloudFront VPC origin configuration.
13893
+ #
13894
+ # @!attribute [rw] vpc_origin_id
13895
+ # The VPC origin ID.
13896
+ # @return [String]
13897
+ #
13898
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/VpcOriginConfig AWS API Documentation
13899
+ #
13900
+ class VpcOriginConfig < Struct.new(
13901
+ :vpc_origin_id)
13902
+ SENSITIVE = []
13903
+ include Aws::Structure
13904
+ end
13905
+
13906
+ # An Amazon CloudFront VPC origin endpoint configuration.
13907
+ #
13908
+ # @!attribute [rw] name
13909
+ # The name of the CloudFront VPC origin endpoint configuration.
13910
+ # @return [String]
13911
+ #
13912
+ # @!attribute [rw] arn
13913
+ # The ARN of the CloudFront VPC origin endpoint configuration.
13914
+ # @return [String]
13915
+ #
13916
+ # @!attribute [rw] http_port
13917
+ # The HTTP port for the CloudFront VPC origin endpoint configuration.
13918
+ # @return [Integer]
13919
+ #
13920
+ # @!attribute [rw] https_port
13921
+ # The HTTPS port of the CloudFront VPC origin endpoint configuration.
13922
+ # @return [Integer]
13923
+ #
13924
+ # @!attribute [rw] origin_protocol_policy
13925
+ # The origin protocol policy for the CloudFront VPC origin endpoint
13926
+ # configuration.
13927
+ # @return [String]
13928
+ #
13929
+ # @!attribute [rw] origin_ssl_protocols
13930
+ # A complex type that contains information about the SSL/TLS protocols
13931
+ # that CloudFront can use when establishing an HTTPS connection with
13932
+ # your origin.
13933
+ # @return [Types::OriginSslProtocols]
13934
+ #
13935
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/VpcOriginEndpointConfig AWS API Documentation
13936
+ #
13937
+ class VpcOriginEndpointConfig < Struct.new(
13938
+ :name,
13939
+ :arn,
13940
+ :http_port,
13941
+ :https_port,
13942
+ :origin_protocol_policy,
13943
+ :origin_ssl_protocols)
13944
+ SENSITIVE = []
13945
+ include Aws::Structure
13946
+ end
13947
+
13948
+ # A list of CloudFront VPC origins.
13949
+ #
13950
+ # @!attribute [rw] marker
13951
+ # The marker associated with the VPC origins list.
13952
+ # @return [String]
13953
+ #
13954
+ # @!attribute [rw] next_marker
13955
+ # The next marker associated with the VPC origins list.
13956
+ # @return [String]
13957
+ #
13958
+ # @!attribute [rw] max_items
13959
+ # The maximum number of items included in the list.
13960
+ # @return [Integer]
13961
+ #
13962
+ # @!attribute [rw] is_truncated
13963
+ # A flag that indicates whether more VPC origins remain to be listed.
13964
+ # If your results were truncated, you can make a follow-up pagination
13965
+ # request using the `Marker` request parameter to retrieve more VPC
13966
+ # origins in the list.
13967
+ # @return [Boolean]
13968
+ #
13969
+ # @!attribute [rw] quantity
13970
+ # The number of VPC origins in the list.
13971
+ # @return [Integer]
13972
+ #
13973
+ # @!attribute [rw] items
13974
+ # The items of the VPC origins list.
13975
+ # @return [Array<Types::VpcOriginSummary>]
13976
+ #
13977
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/VpcOriginList AWS API Documentation
13978
+ #
13979
+ class VpcOriginList < Struct.new(
13980
+ :marker,
13981
+ :next_marker,
13982
+ :max_items,
13983
+ :is_truncated,
13984
+ :quantity,
13985
+ :items)
13986
+ SENSITIVE = []
13987
+ include Aws::Structure
13988
+ end
13989
+
13990
+ # A summary of the CloudFront VPC origin.
13991
+ #
13992
+ # @!attribute [rw] id
13993
+ # The VPC origin summary ID.
13994
+ # @return [String]
13995
+ #
13996
+ # @!attribute [rw] name
13997
+ # The VPC origin summary name.
13998
+ # @return [String]
13999
+ #
14000
+ # @!attribute [rw] status
14001
+ # The VPC origin summary status.
14002
+ # @return [String]
14003
+ #
14004
+ # @!attribute [rw] created_time
14005
+ # The VPC origin summary created time.
14006
+ # @return [Time]
14007
+ #
14008
+ # @!attribute [rw] last_modified_time
14009
+ # The VPC origin summary last modified time.
14010
+ # @return [Time]
14011
+ #
14012
+ # @!attribute [rw] arn
14013
+ # The VPC origin summary ARN.
14014
+ # @return [String]
14015
+ #
14016
+ # @!attribute [rw] origin_endpoint_arn
14017
+ # The VPC origin summary origin endpoint ARN.
14018
+ # @return [String]
14019
+ #
14020
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/VpcOriginSummary AWS API Documentation
14021
+ #
14022
+ class VpcOriginSummary < Struct.new(
14023
+ :id,
14024
+ :name,
14025
+ :status,
14026
+ :created_time,
14027
+ :last_modified_time,
14028
+ :arn,
14029
+ :origin_endpoint_arn)
14030
+ SENSITIVE = []
14031
+ include Aws::Structure
14032
+ end
14033
+
13268
14034
  end
13269
14035
  end
13270
14036