aws-sdk-cloudfront 1.105.0 → 1.107.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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,
@@ -8514,13 +9060,17 @@ module Aws::CloudFront
8514
9060
  include Aws::Structure
8515
9061
  end
8516
9062
 
8517
- # An origin group includes two origins (a primary origin and a second
9063
+ # An origin group includes two origins (a primary origin and a secondary
8518
9064
  # origin to failover to) and a failover criteria that you specify. You
8519
9065
  # create an origin group to support origin failover in CloudFront. When
8520
9066
  # you create or update a distribution, you can specify the origin group
8521
9067
  # instead of a single origin, and CloudFront will failover from the
8522
- # primary origin to the second origin under the failover conditions that
8523
- # you've chosen.
9068
+ # primary origin to the secondary origin under the failover conditions
9069
+ # that you've chosen.
9070
+ #
9071
+ # Optionally, you can choose selection criteria for your origin group to
9072
+ # specify how your origins are selected when your distribution routes
9073
+ # viewer requests.
8524
9074
  #
8525
9075
  # @!attribute [rw] id
8526
9076
  # The origin group's ID.
@@ -8536,12 +9086,23 @@ module Aws::CloudFront
8536
9086
  # origin group.
8537
9087
  # @return [Types::OriginGroupMembers]
8538
9088
  #
9089
+ # @!attribute [rw] selection_criteria
9090
+ # The selection criteria for the origin group. For more information,
9091
+ # see [Create an origin group][1] in the *Amazon CloudFront Developer
9092
+ # Guide*.
9093
+ #
9094
+ #
9095
+ #
9096
+ # [1]: https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/high_availability_origin_failover.html#concept_origin_groups.creating
9097
+ # @return [String]
9098
+ #
8539
9099
  # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/OriginGroup AWS API Documentation
8540
9100
  #
8541
9101
  class OriginGroup < Struct.new(
8542
9102
  :id,
8543
9103
  :failover_criteria,
8544
- :members)
9104
+ :members,
9105
+ :selection_criteria)
8545
9106
  SENSITIVE = []
8546
9107
  include Aws::Structure
8547
9108
  end
@@ -11155,7 +11716,7 @@ module Aws::CloudFront
11155
11716
  #
11156
11717
  # @!attribute [rw] bucket
11157
11718
  # The Amazon S3 bucket to store the access logs in, for example,
11158
- # `myawslogbucket.s3.amazonaws.com`.
11719
+ # `amzn-s3-demo-bucket.s3.amazonaws.com`.
11159
11720
  # @return [String]
11160
11721
  #
11161
11722
  # @!attribute [rw] prefix
@@ -13064,6 +13625,45 @@ module Aws::CloudFront
13064
13625
  include Aws::Structure
13065
13626
  end
13066
13627
 
13628
+ # @!attribute [rw] vpc_origin_endpoint_config
13629
+ # The VPC origin endpoint configuration.
13630
+ # @return [Types::VpcOriginEndpointConfig]
13631
+ #
13632
+ # @!attribute [rw] id
13633
+ # The VPC origin ID.
13634
+ # @return [String]
13635
+ #
13636
+ # @!attribute [rw] if_match
13637
+ # The VPC origin to update, if a match occurs.
13638
+ # @return [String]
13639
+ #
13640
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateVpcOriginRequest AWS API Documentation
13641
+ #
13642
+ class UpdateVpcOriginRequest < Struct.new(
13643
+ :vpc_origin_endpoint_config,
13644
+ :id,
13645
+ :if_match)
13646
+ SENSITIVE = []
13647
+ include Aws::Structure
13648
+ end
13649
+
13650
+ # @!attribute [rw] vpc_origin
13651
+ # The VPC origin.
13652
+ # @return [Types::VpcOrigin]
13653
+ #
13654
+ # @!attribute [rw] etag
13655
+ # The VPC origin ETag.
13656
+ # @return [String]
13657
+ #
13658
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateVpcOriginResult AWS API Documentation
13659
+ #
13660
+ class UpdateVpcOriginResult < Struct.new(
13661
+ :vpc_origin,
13662
+ :etag)
13663
+ SENSITIVE = []
13664
+ include Aws::Structure
13665
+ end
13666
+
13067
13667
  # A complex type that determines the distribution's SSL/TLS
13068
13668
  # configuration for communicating with viewers.
13069
13669
  #
@@ -13265,6 +13865,187 @@ module Aws::CloudFront
13265
13865
  include Aws::Structure
13266
13866
  end
13267
13867
 
13868
+ # An Amazon CloudFront VPC origin.
13869
+ #
13870
+ # @!attribute [rw] id
13871
+ # The VPC origin ID.
13872
+ # @return [String]
13873
+ #
13874
+ # @!attribute [rw] arn
13875
+ # The VPC origin ARN.
13876
+ # @return [String]
13877
+ #
13878
+ # @!attribute [rw] status
13879
+ # The VPC origin status.
13880
+ # @return [String]
13881
+ #
13882
+ # @!attribute [rw] created_time
13883
+ # The VPC origin created time.
13884
+ # @return [Time]
13885
+ #
13886
+ # @!attribute [rw] last_modified_time
13887
+ # The VPC origin last modified time.
13888
+ # @return [Time]
13889
+ #
13890
+ # @!attribute [rw] vpc_origin_endpoint_config
13891
+ # The VPC origin endpoint configuration.
13892
+ # @return [Types::VpcOriginEndpointConfig]
13893
+ #
13894
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/VpcOrigin AWS API Documentation
13895
+ #
13896
+ class VpcOrigin < Struct.new(
13897
+ :id,
13898
+ :arn,
13899
+ :status,
13900
+ :created_time,
13901
+ :last_modified_time,
13902
+ :vpc_origin_endpoint_config)
13903
+ SENSITIVE = []
13904
+ include Aws::Structure
13905
+ end
13906
+
13907
+ # An Amazon CloudFront VPC origin configuration.
13908
+ #
13909
+ # @!attribute [rw] vpc_origin_id
13910
+ # The VPC origin ID.
13911
+ # @return [String]
13912
+ #
13913
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/VpcOriginConfig AWS API Documentation
13914
+ #
13915
+ class VpcOriginConfig < Struct.new(
13916
+ :vpc_origin_id)
13917
+ SENSITIVE = []
13918
+ include Aws::Structure
13919
+ end
13920
+
13921
+ # An Amazon CloudFront VPC origin endpoint configuration.
13922
+ #
13923
+ # @!attribute [rw] name
13924
+ # The name of the CloudFront VPC origin endpoint configuration.
13925
+ # @return [String]
13926
+ #
13927
+ # @!attribute [rw] arn
13928
+ # The ARN of the CloudFront VPC origin endpoint configuration.
13929
+ # @return [String]
13930
+ #
13931
+ # @!attribute [rw] http_port
13932
+ # The HTTP port for the CloudFront VPC origin endpoint configuration.
13933
+ # @return [Integer]
13934
+ #
13935
+ # @!attribute [rw] https_port
13936
+ # The HTTPS port of the CloudFront VPC origin endpoint configuration.
13937
+ # @return [Integer]
13938
+ #
13939
+ # @!attribute [rw] origin_protocol_policy
13940
+ # The origin protocol policy for the CloudFront VPC origin endpoint
13941
+ # configuration.
13942
+ # @return [String]
13943
+ #
13944
+ # @!attribute [rw] origin_ssl_protocols
13945
+ # A complex type that contains information about the SSL/TLS protocols
13946
+ # that CloudFront can use when establishing an HTTPS connection with
13947
+ # your origin.
13948
+ # @return [Types::OriginSslProtocols]
13949
+ #
13950
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/VpcOriginEndpointConfig AWS API Documentation
13951
+ #
13952
+ class VpcOriginEndpointConfig < Struct.new(
13953
+ :name,
13954
+ :arn,
13955
+ :http_port,
13956
+ :https_port,
13957
+ :origin_protocol_policy,
13958
+ :origin_ssl_protocols)
13959
+ SENSITIVE = []
13960
+ include Aws::Structure
13961
+ end
13962
+
13963
+ # A list of CloudFront VPC origins.
13964
+ #
13965
+ # @!attribute [rw] marker
13966
+ # The marker associated with the VPC origins list.
13967
+ # @return [String]
13968
+ #
13969
+ # @!attribute [rw] next_marker
13970
+ # The next marker associated with the VPC origins list.
13971
+ # @return [String]
13972
+ #
13973
+ # @!attribute [rw] max_items
13974
+ # The maximum number of items included in the list.
13975
+ # @return [Integer]
13976
+ #
13977
+ # @!attribute [rw] is_truncated
13978
+ # A flag that indicates whether more VPC origins remain to be listed.
13979
+ # If your results were truncated, you can make a follow-up pagination
13980
+ # request using the `Marker` request parameter to retrieve more VPC
13981
+ # origins in the list.
13982
+ # @return [Boolean]
13983
+ #
13984
+ # @!attribute [rw] quantity
13985
+ # The number of VPC origins in the list.
13986
+ # @return [Integer]
13987
+ #
13988
+ # @!attribute [rw] items
13989
+ # The items of the VPC origins list.
13990
+ # @return [Array<Types::VpcOriginSummary>]
13991
+ #
13992
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/VpcOriginList AWS API Documentation
13993
+ #
13994
+ class VpcOriginList < Struct.new(
13995
+ :marker,
13996
+ :next_marker,
13997
+ :max_items,
13998
+ :is_truncated,
13999
+ :quantity,
14000
+ :items)
14001
+ SENSITIVE = []
14002
+ include Aws::Structure
14003
+ end
14004
+
14005
+ # A summary of the CloudFront VPC origin.
14006
+ #
14007
+ # @!attribute [rw] id
14008
+ # The VPC origin summary ID.
14009
+ # @return [String]
14010
+ #
14011
+ # @!attribute [rw] name
14012
+ # The VPC origin summary name.
14013
+ # @return [String]
14014
+ #
14015
+ # @!attribute [rw] status
14016
+ # The VPC origin summary status.
14017
+ # @return [String]
14018
+ #
14019
+ # @!attribute [rw] created_time
14020
+ # The VPC origin summary created time.
14021
+ # @return [Time]
14022
+ #
14023
+ # @!attribute [rw] last_modified_time
14024
+ # The VPC origin summary last modified time.
14025
+ # @return [Time]
14026
+ #
14027
+ # @!attribute [rw] arn
14028
+ # The VPC origin summary ARN.
14029
+ # @return [String]
14030
+ #
14031
+ # @!attribute [rw] origin_endpoint_arn
14032
+ # The VPC origin summary origin endpoint ARN.
14033
+ # @return [String]
14034
+ #
14035
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/VpcOriginSummary AWS API Documentation
14036
+ #
14037
+ class VpcOriginSummary < Struct.new(
14038
+ :id,
14039
+ :name,
14040
+ :status,
14041
+ :created_time,
14042
+ :last_modified_time,
14043
+ :arn,
14044
+ :origin_endpoint_arn)
14045
+ SENSITIVE = []
14046
+ include Aws::Structure
14047
+ end
14048
+
13268
14049
  end
13269
14050
  end
13270
14051