aws-sdk-cloudfront 1.68.0 → 1.70.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.
@@ -1655,6 +1655,202 @@ module Aws::CloudFront
1655
1655
  include Aws::Structure
1656
1656
  end
1657
1657
 
1658
+ # A continuous deployment policy.
1659
+ #
1660
+ # @!attribute [rw] id
1661
+ # The identifier of the continuous deployment policy.
1662
+ # @return [String]
1663
+ #
1664
+ # @!attribute [rw] last_modified_time
1665
+ # The date and time the continuous deployment policy was last
1666
+ # modified.
1667
+ # @return [Time]
1668
+ #
1669
+ # @!attribute [rw] continuous_deployment_policy_config
1670
+ # Contains the configuration for a continuous deployment policy.
1671
+ # @return [Types::ContinuousDeploymentPolicyConfig]
1672
+ #
1673
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ContinuousDeploymentPolicy AWS API Documentation
1674
+ #
1675
+ class ContinuousDeploymentPolicy < Struct.new(
1676
+ :id,
1677
+ :last_modified_time,
1678
+ :continuous_deployment_policy_config)
1679
+ SENSITIVE = []
1680
+ include Aws::Structure
1681
+ end
1682
+
1683
+ # Contains the configuration for a continuous deployment policy.
1684
+ #
1685
+ # @note When making an API call, you may pass ContinuousDeploymentPolicyConfig
1686
+ # data as a hash:
1687
+ #
1688
+ # {
1689
+ # staging_distribution_dns_names: { # required
1690
+ # quantity: 1, # required
1691
+ # items: ["string"],
1692
+ # },
1693
+ # enabled: false, # required
1694
+ # traffic_config: {
1695
+ # single_weight_config: {
1696
+ # weight: 1.0, # required
1697
+ # session_stickiness_config: {
1698
+ # idle_ttl: 1, # required
1699
+ # maximum_ttl: 1, # required
1700
+ # },
1701
+ # },
1702
+ # single_header_config: {
1703
+ # header: "string", # required
1704
+ # value: "string", # required
1705
+ # },
1706
+ # type: "SingleWeight", # required, accepts SingleWeight, SingleHeader
1707
+ # },
1708
+ # }
1709
+ #
1710
+ # @!attribute [rw] staging_distribution_dns_names
1711
+ # The CloudFront domain name of the staging distribution. For example:
1712
+ # `d111111abcdef8.cloudfront.net`.
1713
+ # @return [Types::StagingDistributionDnsNames]
1714
+ #
1715
+ # @!attribute [rw] enabled
1716
+ # A Boolean that indicates whether this continuous deployment policy
1717
+ # is enabled (in effect). When this value is `true`, this policy is
1718
+ # enabled and in effect. When this value is `false`, this policy is
1719
+ # not enabled and has no effect.
1720
+ # @return [Boolean]
1721
+ #
1722
+ # @!attribute [rw] traffic_config
1723
+ # Contains the parameters for routing production traffic from your
1724
+ # primary to staging distributions.
1725
+ # @return [Types::TrafficConfig]
1726
+ #
1727
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ContinuousDeploymentPolicyConfig AWS API Documentation
1728
+ #
1729
+ class ContinuousDeploymentPolicyConfig < Struct.new(
1730
+ :staging_distribution_dns_names,
1731
+ :enabled,
1732
+ :traffic_config)
1733
+ SENSITIVE = []
1734
+ include Aws::Structure
1735
+ end
1736
+
1737
+ # Contains a list of continuous deployment policies.
1738
+ #
1739
+ # @!attribute [rw] next_marker
1740
+ # Indicates the next page of continuous deployment policies. To get
1741
+ # the next page of the list, use this value in the `Marker` field of
1742
+ # your request.
1743
+ # @return [String]
1744
+ #
1745
+ # @!attribute [rw] max_items
1746
+ # The maximum number of continuous deployment policies that were
1747
+ # specified in your request.
1748
+ # @return [Integer]
1749
+ #
1750
+ # @!attribute [rw] quantity
1751
+ # The total number of continuous deployment policies in your Amazon
1752
+ # Web Services account, regardless of the `MaxItems` value.
1753
+ # @return [Integer]
1754
+ #
1755
+ # @!attribute [rw] items
1756
+ # A list of continuous deployment policy items.
1757
+ # @return [Array<Types::ContinuousDeploymentPolicySummary>]
1758
+ #
1759
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ContinuousDeploymentPolicyList AWS API Documentation
1760
+ #
1761
+ class ContinuousDeploymentPolicyList < Struct.new(
1762
+ :next_marker,
1763
+ :max_items,
1764
+ :quantity,
1765
+ :items)
1766
+ SENSITIVE = []
1767
+ include Aws::Structure
1768
+ end
1769
+
1770
+ # A summary of the information about your continuous deployment
1771
+ # policies.
1772
+ #
1773
+ # @!attribute [rw] continuous_deployment_policy
1774
+ # The continuous deployment policy.
1775
+ # @return [Types::ContinuousDeploymentPolicy]
1776
+ #
1777
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ContinuousDeploymentPolicySummary AWS API Documentation
1778
+ #
1779
+ class ContinuousDeploymentPolicySummary < Struct.new(
1780
+ :continuous_deployment_policy)
1781
+ SENSITIVE = []
1782
+ include Aws::Structure
1783
+ end
1784
+
1785
+ # This configuration determines which HTTP requests are sent to the
1786
+ # staging distribution. If the HTTP request contains a header and value
1787
+ # that matches what you specify here, the request is sent to the staging
1788
+ # distribution. Otherwise the request is sent to the primary
1789
+ # distribution.
1790
+ #
1791
+ # @note When making an API call, you may pass ContinuousDeploymentSingleHeaderConfig
1792
+ # data as a hash:
1793
+ #
1794
+ # {
1795
+ # header: "string", # required
1796
+ # value: "string", # required
1797
+ # }
1798
+ #
1799
+ # @!attribute [rw] header
1800
+ # The request header name that you want CloudFront to send to your
1801
+ # staging distribution.
1802
+ # @return [String]
1803
+ #
1804
+ # @!attribute [rw] value
1805
+ # The request header value.
1806
+ # @return [String]
1807
+ #
1808
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ContinuousDeploymentSingleHeaderConfig AWS API Documentation
1809
+ #
1810
+ class ContinuousDeploymentSingleHeaderConfig < Struct.new(
1811
+ :header,
1812
+ :value)
1813
+ SENSITIVE = []
1814
+ include Aws::Structure
1815
+ end
1816
+
1817
+ # Contains the percentage of traffic to send to a staging distribution,
1818
+ # expressed as a decimal number between 0 and 1.
1819
+ #
1820
+ # @note When making an API call, you may pass ContinuousDeploymentSingleWeightConfig
1821
+ # data as a hash:
1822
+ #
1823
+ # {
1824
+ # weight: 1.0, # required
1825
+ # session_stickiness_config: {
1826
+ # idle_ttl: 1, # required
1827
+ # maximum_ttl: 1, # required
1828
+ # },
1829
+ # }
1830
+ #
1831
+ # @!attribute [rw] weight
1832
+ # The percentage of traffic to send to the staging distribution,
1833
+ # expressed as a decimal number between 0 and 1.
1834
+ # @return [Float]
1835
+ #
1836
+ # @!attribute [rw] session_stickiness_config
1837
+ # Session stickiness provides the ability to define multiple requests
1838
+ # from a single viewer as a single session. This prevents the
1839
+ # potentially inconsistent experience of sending some of a given
1840
+ # user's requests to your staging distribution, while others are sent
1841
+ # to your primary distribution. Define the session duration using TTL
1842
+ # values.
1843
+ # @return [Types::SessionStickinessConfig]
1844
+ #
1845
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ContinuousDeploymentSingleWeightConfig AWS API Documentation
1846
+ #
1847
+ class ContinuousDeploymentSingleWeightConfig < Struct.new(
1848
+ :weight,
1849
+ :session_stickiness_config)
1850
+ SENSITIVE = []
1851
+ include Aws::Structure
1852
+ end
1853
+
1658
1854
  # Contains a list of cookie names.
1659
1855
  #
1660
1856
  # @note When making an API call, you may pass CookieNames
@@ -1783,6 +1979,75 @@ module Aws::CloudFront
1783
1979
  include Aws::Structure
1784
1980
  end
1785
1981
 
1982
+ # @note When making an API call, you may pass CopyDistributionRequest
1983
+ # data as a hash:
1984
+ #
1985
+ # {
1986
+ # primary_distribution_id: "string", # required
1987
+ # staging: false,
1988
+ # if_match: "string",
1989
+ # caller_reference: "string", # required
1990
+ # }
1991
+ #
1992
+ # @!attribute [rw] primary_distribution_id
1993
+ # The identifier of the primary distribution whose configuration you
1994
+ # are copying. To get a distribution ID, use `ListDistributions`.
1995
+ # @return [String]
1996
+ #
1997
+ # @!attribute [rw] staging
1998
+ # The type of distribution that your primary distribution will be
1999
+ # copied to. The only valid value is `True`, indicating that you are
2000
+ # copying to a staging distribution.
2001
+ # @return [Boolean]
2002
+ #
2003
+ # @!attribute [rw] if_match
2004
+ # The version identifier of the primary distribution whose
2005
+ # configuration you are copying. This is the `ETag` value returned in
2006
+ # the response to `GetDistribution` and `GetDistributionConfig`.
2007
+ # @return [String]
2008
+ #
2009
+ # @!attribute [rw] caller_reference
2010
+ # A value that uniquely identifies a request to create a resource.
2011
+ # This helps to prevent CloudFront from creating a duplicate resource
2012
+ # if you accidentally resubmit an identical request.
2013
+ # @return [String]
2014
+ #
2015
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CopyDistributionRequest AWS API Documentation
2016
+ #
2017
+ class CopyDistributionRequest < Struct.new(
2018
+ :primary_distribution_id,
2019
+ :staging,
2020
+ :if_match,
2021
+ :caller_reference)
2022
+ SENSITIVE = []
2023
+ include Aws::Structure
2024
+ end
2025
+
2026
+ # @!attribute [rw] distribution
2027
+ # A distribution tells CloudFront where you want content to be
2028
+ # delivered from, and the details about how to track and manage
2029
+ # content delivery.
2030
+ # @return [Types::Distribution]
2031
+ #
2032
+ # @!attribute [rw] location
2033
+ # The URL of the staging distribution.
2034
+ # @return [String]
2035
+ #
2036
+ # @!attribute [rw] etag
2037
+ # The version identifier for the current version of the staging
2038
+ # distribution.
2039
+ # @return [String]
2040
+ #
2041
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CopyDistributionResult AWS API Documentation
2042
+ #
2043
+ class CopyDistributionResult < Struct.new(
2044
+ :distribution,
2045
+ :location,
2046
+ :etag)
2047
+ SENSITIVE = []
2048
+ include Aws::Structure
2049
+ end
2050
+
1786
2051
  # @note When making an API call, you may pass CreateCachePolicyRequest
1787
2052
  # data as a hash:
1788
2053
  #
@@ -1913,6 +2178,68 @@ module Aws::CloudFront
1913
2178
  include Aws::Structure
1914
2179
  end
1915
2180
 
2181
+ # @note When making an API call, you may pass CreateContinuousDeploymentPolicyRequest
2182
+ # data as a hash:
2183
+ #
2184
+ # {
2185
+ # continuous_deployment_policy_config: { # required
2186
+ # staging_distribution_dns_names: { # required
2187
+ # quantity: 1, # required
2188
+ # items: ["string"],
2189
+ # },
2190
+ # enabled: false, # required
2191
+ # traffic_config: {
2192
+ # single_weight_config: {
2193
+ # weight: 1.0, # required
2194
+ # session_stickiness_config: {
2195
+ # idle_ttl: 1, # required
2196
+ # maximum_ttl: 1, # required
2197
+ # },
2198
+ # },
2199
+ # single_header_config: {
2200
+ # header: "string", # required
2201
+ # value: "string", # required
2202
+ # },
2203
+ # type: "SingleWeight", # required, accepts SingleWeight, SingleHeader
2204
+ # },
2205
+ # },
2206
+ # }
2207
+ #
2208
+ # @!attribute [rw] continuous_deployment_policy_config
2209
+ # Contains the configuration for a continuous deployment policy.
2210
+ # @return [Types::ContinuousDeploymentPolicyConfig]
2211
+ #
2212
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateContinuousDeploymentPolicyRequest AWS API Documentation
2213
+ #
2214
+ class CreateContinuousDeploymentPolicyRequest < Struct.new(
2215
+ :continuous_deployment_policy_config)
2216
+ SENSITIVE = []
2217
+ include Aws::Structure
2218
+ end
2219
+
2220
+ # @!attribute [rw] continuous_deployment_policy
2221
+ # A continuous deployment policy.
2222
+ # @return [Types::ContinuousDeploymentPolicy]
2223
+ #
2224
+ # @!attribute [rw] location
2225
+ # The location of the continuous deployment policy.
2226
+ # @return [String]
2227
+ #
2228
+ # @!attribute [rw] etag
2229
+ # The version identifier for the current version of the continuous
2230
+ # deployment policy.
2231
+ # @return [String]
2232
+ #
2233
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/CreateContinuousDeploymentPolicyResult AWS API Documentation
2234
+ #
2235
+ class CreateContinuousDeploymentPolicyResult < Struct.new(
2236
+ :continuous_deployment_policy,
2237
+ :location,
2238
+ :etag)
2239
+ SENSITIVE = []
2240
+ include Aws::Structure
2241
+ end
2242
+
1916
2243
  # The request to create a new distribution.
1917
2244
  #
1918
2245
  # @note When making an API call, you may pass CreateDistributionRequest
@@ -2864,7 +3191,7 @@ module Aws::CloudFront
2864
3191
  # {
2865
3192
  # origin_access_control_config: { # required
2866
3193
  # name: "string", # required
2867
- # description: "string", # required
3194
+ # description: "string",
2868
3195
  # signing_protocol: "sigv4", # required, accepts sigv4
2869
3196
  # signing_behavior: "never", # required, accepts never, always, no-override
2870
3197
  # origin_access_control_origin_type: "s3", # required, accepts s3
@@ -4073,6 +4400,33 @@ module Aws::CloudFront
4073
4400
  include Aws::Structure
4074
4401
  end
4075
4402
 
4403
+ # @note When making an API call, you may pass DeleteContinuousDeploymentPolicyRequest
4404
+ # data as a hash:
4405
+ #
4406
+ # {
4407
+ # id: "string", # required
4408
+ # if_match: "string",
4409
+ # }
4410
+ #
4411
+ # @!attribute [rw] id
4412
+ # The identifier of the continuous deployment policy that you are
4413
+ # deleting.
4414
+ # @return [String]
4415
+ #
4416
+ # @!attribute [rw] if_match
4417
+ # The current version (`ETag` value) of the continuous deployment
4418
+ # policy that you are deleting.
4419
+ # @return [String]
4420
+ #
4421
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/DeleteContinuousDeploymentPolicyRequest AWS API Documentation
4422
+ #
4423
+ class DeleteContinuousDeploymentPolicyRequest < Struct.new(
4424
+ :id,
4425
+ :if_match)
4426
+ SENSITIVE = []
4427
+ include Aws::Structure
4428
+ end
4429
+
4076
4430
  # This action deletes a web distribution. To delete a web distribution
4077
4431
  # using the CloudFront API, perform the following steps.
4078
4432
  #
@@ -4489,23 +4843,21 @@ module Aws::CloudFront
4489
4843
  # from, and the details about how to track and manage content delivery.
4490
4844
  #
4491
4845
  # @!attribute [rw] id
4492
- # The identifier for the distribution. For example: `EDFDVBD632BHDS5`.
4846
+ # The distribution’s identifier. For example: `E1U5RQF7T870K0`.
4493
4847
  # @return [String]
4494
4848
  #
4495
4849
  # @!attribute [rw] arn
4496
- # The ARN (Amazon Resource Name) for the distribution. For example:
4497
- # `arn:aws:cloudfront::123456789012:distribution/EDFDVBD632BHDS5`,
4498
- # where `123456789012` is your Amazon Web Services account ID.
4850
+ # The distribution’s Amazon Resource Name (ARN).
4499
4851
  # @return [String]
4500
4852
  #
4501
4853
  # @!attribute [rw] status
4502
- # This response element indicates the current status of the
4503
- # distribution. When the status is `Deployed`, the distribution's
4504
- # information is fully propagated to all CloudFront edge locations.
4854
+ # The distribution’s status. When the status is `Deployed`, the
4855
+ # distribution’s information is fully propagated to all CloudFront
4856
+ # edge locations.
4505
4857
  # @return [String]
4506
4858
  #
4507
4859
  # @!attribute [rw] last_modified_time
4508
- # The date and time the distribution was last modified.
4860
+ # The date and time when the distribution was last modified.
4509
4861
  # @return [Time]
4510
4862
  #
4511
4863
  # @!attribute [rw] in_progress_invalidation_batches
@@ -4513,7 +4865,7 @@ module Aws::CloudFront
4513
4865
  # @return [Integer]
4514
4866
  #
4515
4867
  # @!attribute [rw] domain_name
4516
- # The domain name corresponding to the distribution, for example,
4868
+ # The distribution’s CloudFront domain name. For example:
4517
4869
  # `d111111abcdef8.cloudfront.net`.
4518
4870
  # @return [String]
4519
4871
  #
@@ -4537,9 +4889,7 @@ module Aws::CloudFront
4537
4889
  # @return [Types::ActiveTrustedKeyGroups]
4538
4890
  #
4539
4891
  # @!attribute [rw] distribution_config
4540
- # The current configuration information for the distribution. Send a
4541
- # `GET` request to the `/CloudFront API version/distribution
4542
- # ID/config` resource.
4892
+ # The distribution’s configuration.
4543
4893
  # @return [Types::DistributionConfig]
4544
4894
  #
4545
4895
  # @!attribute [rw] alias_icp_recordals
@@ -4869,10 +5219,11 @@ module Aws::CloudFront
4869
5219
  # @!attribute [rw] default_root_object
4870
5220
  # The object that you want CloudFront to request from your origin (for
4871
5221
  # example, `index.html`) when a viewer requests the root URL for your
4872
- # distribution (`http://www.example.com`) instead of an object in your
4873
- # distribution (`http://www.example.com/product-description.html`).
4874
- # Specifying a default root object avoids exposing the contents of
4875
- # your distribution.
5222
+ # distribution (`https://www.example.com`) instead of an object in
5223
+ # your distribution
5224
+ # (`https://www.example.com/product-description.html`). Specifying a
5225
+ # default root object avoids exposing the contents of your
5226
+ # distribution.
4876
5227
  #
4877
5228
  # Specify only the object name, for example, `index.html`. Don't add
4878
5229
  # a `/` before the object name.
@@ -6805,6 +7156,82 @@ module Aws::CloudFront
6805
7156
  include Aws::Structure
6806
7157
  end
6807
7158
 
7159
+ # @note When making an API call, you may pass GetContinuousDeploymentPolicyConfigRequest
7160
+ # data as a hash:
7161
+ #
7162
+ # {
7163
+ # id: "string", # required
7164
+ # }
7165
+ #
7166
+ # @!attribute [rw] id
7167
+ # The identifier of the continuous deployment policy whose
7168
+ # configuration you are getting.
7169
+ # @return [String]
7170
+ #
7171
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetContinuousDeploymentPolicyConfigRequest AWS API Documentation
7172
+ #
7173
+ class GetContinuousDeploymentPolicyConfigRequest < Struct.new(
7174
+ :id)
7175
+ SENSITIVE = []
7176
+ include Aws::Structure
7177
+ end
7178
+
7179
+ # @!attribute [rw] continuous_deployment_policy_config
7180
+ # Contains the configuration for a continuous deployment policy.
7181
+ # @return [Types::ContinuousDeploymentPolicyConfig]
7182
+ #
7183
+ # @!attribute [rw] etag
7184
+ # The version identifier for the current version of the continuous
7185
+ # deployment policy.
7186
+ # @return [String]
7187
+ #
7188
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetContinuousDeploymentPolicyConfigResult AWS API Documentation
7189
+ #
7190
+ class GetContinuousDeploymentPolicyConfigResult < Struct.new(
7191
+ :continuous_deployment_policy_config,
7192
+ :etag)
7193
+ SENSITIVE = []
7194
+ include Aws::Structure
7195
+ end
7196
+
7197
+ # @note When making an API call, you may pass GetContinuousDeploymentPolicyRequest
7198
+ # data as a hash:
7199
+ #
7200
+ # {
7201
+ # id: "string", # required
7202
+ # }
7203
+ #
7204
+ # @!attribute [rw] id
7205
+ # The identifier of the continuous deployment policy that you are
7206
+ # getting.
7207
+ # @return [String]
7208
+ #
7209
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetContinuousDeploymentPolicyRequest AWS API Documentation
7210
+ #
7211
+ class GetContinuousDeploymentPolicyRequest < Struct.new(
7212
+ :id)
7213
+ SENSITIVE = []
7214
+ include Aws::Structure
7215
+ end
7216
+
7217
+ # @!attribute [rw] continuous_deployment_policy
7218
+ # A continuous deployment policy.
7219
+ # @return [Types::ContinuousDeploymentPolicy]
7220
+ #
7221
+ # @!attribute [rw] etag
7222
+ # The version identifier for the current version of the continuous
7223
+ # deployment policy.
7224
+ # @return [String]
7225
+ #
7226
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/GetContinuousDeploymentPolicyResult AWS API Documentation
7227
+ #
7228
+ class GetContinuousDeploymentPolicyResult < Struct.new(
7229
+ :continuous_deployment_policy,
7230
+ :etag)
7231
+ SENSITIVE = []
7232
+ include Aws::Structure
7233
+ end
7234
+
6808
7235
  # The request to get a distribution configuration.
6809
7236
  #
6810
7237
  # @note When making an API call, you may pass GetDistributionConfigRequest
@@ -8763,6 +9190,48 @@ module Aws::CloudFront
8763
9190
  include Aws::Structure
8764
9191
  end
8765
9192
 
9193
+ # @note When making an API call, you may pass ListContinuousDeploymentPoliciesRequest
9194
+ # data as a hash:
9195
+ #
9196
+ # {
9197
+ # marker: "string",
9198
+ # max_items: 1,
9199
+ # }
9200
+ #
9201
+ # @!attribute [rw] marker
9202
+ # Use this field when paginating results to indicate where to begin in
9203
+ # your list of continuous deployment policies. The response includes
9204
+ # policies in the list that occur after the marker. To get the next
9205
+ # page of the list, set this field’s value to the value of
9206
+ # `NextMarker` from the current page’s response.
9207
+ # @return [String]
9208
+ #
9209
+ # @!attribute [rw] max_items
9210
+ # The maximum number of continuous deployment policies that you want
9211
+ # returned in the response.
9212
+ # @return [Integer]
9213
+ #
9214
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListContinuousDeploymentPoliciesRequest AWS API Documentation
9215
+ #
9216
+ class ListContinuousDeploymentPoliciesRequest < Struct.new(
9217
+ :marker,
9218
+ :max_items)
9219
+ SENSITIVE = []
9220
+ include Aws::Structure
9221
+ end
9222
+
9223
+ # @!attribute [rw] continuous_deployment_policy_list
9224
+ # A list of continuous deployment policies.
9225
+ # @return [Types::ContinuousDeploymentPolicyList]
9226
+ #
9227
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/ListContinuousDeploymentPoliciesResult AWS API Documentation
9228
+ #
9229
+ class ListContinuousDeploymentPoliciesResult < Struct.new(
9230
+ :continuous_deployment_policy_list)
9231
+ SENSITIVE = []
9232
+ include Aws::Structure
9233
+ end
9234
+
8766
9235
  # @note When making an API call, you may pass ListDistributionsByCachePolicyIdRequest
8767
9236
  # data as a hash:
8768
9237
  #
@@ -10223,7 +10692,7 @@ module Aws::CloudFront
10223
10692
  #
10224
10693
  # {
10225
10694
  # name: "string", # required
10226
- # description: "string", # required
10695
+ # description: "string",
10227
10696
  # signing_protocol: "sigv4", # required, accepts sigv4
10228
10697
  # signing_behavior: "never", # required, accepts never, always, no-override
10229
10698
  # origin_access_control_origin_type: "s3", # required, accepts s3
@@ -13137,6 +13606,45 @@ module Aws::CloudFront
13137
13606
  include Aws::Structure
13138
13607
  end
13139
13608
 
13609
+ # Session stickiness provides the ability to define multiple requests
13610
+ # from a single viewer as a single session. This prevents the
13611
+ # potentially inconsistent experience of sending some of a given user's
13612
+ # requests to your staging distribution, while others are sent to your
13613
+ # primary distribution. Define the session duration using TTL values.
13614
+ #
13615
+ # @note When making an API call, you may pass SessionStickinessConfig
13616
+ # data as a hash:
13617
+ #
13618
+ # {
13619
+ # idle_ttl: 1, # required
13620
+ # maximum_ttl: 1, # required
13621
+ # }
13622
+ #
13623
+ # @!attribute [rw] idle_ttl
13624
+ # The amount of time after which you want sessions to cease if no
13625
+ # requests are received.
Allowed values are 300–3600 seconds (5–60
13626
+ # minutes).
13627
+ #
13628
+ # The value must be less than or equal to `MaximumTTL`.
13629
+ # @return [Integer]
13630
+ #
13631
+ # @!attribute [rw] maximum_ttl
13632
+ # The maximum amount of time to consider requests from the viewer as
13633
+ # being part of the same session. Allowed values are 300–3600 seconds
13634
+ # (5–60 minutes).
13635
+ #
13636
+ # The value must be less than or equal to `IdleTTL`.
13637
+ # @return [Integer]
13638
+ #
13639
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/SessionStickinessConfig AWS API Documentation
13640
+ #
13641
+ class SessionStickinessConfig < Struct.new(
13642
+ :idle_ttl,
13643
+ :maximum_ttl)
13644
+ SENSITIVE = []
13645
+ include Aws::Structure
13646
+ end
13647
+
13140
13648
  # A list of Amazon Web Services accounts and the active CloudFront key
13141
13649
  # pairs in each account that CloudFront can use to verify the signatures
13142
13650
  # of signed URLs and signed cookies.
@@ -13162,6 +13670,47 @@ module Aws::CloudFront
13162
13670
  include Aws::Structure
13163
13671
  end
13164
13672
 
13673
+ # The CloudFront domain name of the staging distribution.
13674
+ #
13675
+ # @note When making an API call, you may pass StagingDistributionDnsNames
13676
+ # data as a hash:
13677
+ #
13678
+ # {
13679
+ # quantity: 1, # required
13680
+ # items: ["string"],
13681
+ # }
13682
+ #
13683
+ # @!attribute [rw] quantity
13684
+ # The number of CloudFront domain names in your staging distribution.
13685
+ # @return [Integer]
13686
+ #
13687
+ # @!attribute [rw] items
13688
+ # The CloudFront domain name of the staging distribution.
13689
+ # @return [Array<String>]
13690
+ #
13691
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/StagingDistributionDnsNames AWS API Documentation
13692
+ #
13693
+ class StagingDistributionDnsNames < Struct.new(
13694
+ :quantity,
13695
+ :items)
13696
+ SENSITIVE = []
13697
+ include Aws::Structure
13698
+ end
13699
+
13700
+ # A continuous deployment policy for this staging distribution already
13701
+ # exists.
13702
+ #
13703
+ # @!attribute [rw] message
13704
+ # @return [String]
13705
+ #
13706
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/StagingDistributionInUse AWS API Documentation
13707
+ #
13708
+ class StagingDistributionInUse < Struct.new(
13709
+ :message)
13710
+ SENSITIVE = []
13711
+ include Aws::Structure
13712
+ end
13713
+
13165
13714
  # A complex data type for the status codes that you specify that, when
13166
13715
  # returned by a primary origin, trigger CloudFront to failover to a
13167
13716
  # second origin.
@@ -14696,6 +15245,49 @@ module Aws::CloudFront
14696
15245
  include Aws::Structure
14697
15246
  end
14698
15247
 
15248
+ # The traffic configuration of your continuous deployment.
15249
+ #
15250
+ # @note When making an API call, you may pass TrafficConfig
15251
+ # data as a hash:
15252
+ #
15253
+ # {
15254
+ # single_weight_config: {
15255
+ # weight: 1.0, # required
15256
+ # session_stickiness_config: {
15257
+ # idle_ttl: 1, # required
15258
+ # maximum_ttl: 1, # required
15259
+ # },
15260
+ # },
15261
+ # single_header_config: {
15262
+ # header: "string", # required
15263
+ # value: "string", # required
15264
+ # },
15265
+ # type: "SingleWeight", # required, accepts SingleWeight, SingleHeader
15266
+ # }
15267
+ #
15268
+ # @!attribute [rw] single_weight_config
15269
+ # Contains the percentage of traffic to send to the staging
15270
+ # distribution.
15271
+ # @return [Types::ContinuousDeploymentSingleWeightConfig]
15272
+ #
15273
+ # @!attribute [rw] single_header_config
15274
+ # Determines which HTTP requests are sent to the staging distribution.
15275
+ # @return [Types::ContinuousDeploymentSingleHeaderConfig]
15276
+ #
15277
+ # @!attribute [rw] type
15278
+ # The type of traffic configuration.
15279
+ # @return [String]
15280
+ #
15281
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/TrafficConfig AWS API Documentation
15282
+ #
15283
+ class TrafficConfig < Struct.new(
15284
+ :single_weight_config,
15285
+ :single_header_config,
15286
+ :type)
15287
+ SENSITIVE = []
15288
+ include Aws::Structure
15289
+ end
15290
+
14699
15291
  # The specified key group does not exist.
14700
15292
  #
14701
15293
  # @!attribute [rw] message
@@ -14976,6 +15568,77 @@ module Aws::CloudFront
14976
15568
  include Aws::Structure
14977
15569
  end
14978
15570
 
15571
+ # @note When making an API call, you may pass UpdateContinuousDeploymentPolicyRequest
15572
+ # data as a hash:
15573
+ #
15574
+ # {
15575
+ # continuous_deployment_policy_config: { # required
15576
+ # staging_distribution_dns_names: { # required
15577
+ # quantity: 1, # required
15578
+ # items: ["string"],
15579
+ # },
15580
+ # enabled: false, # required
15581
+ # traffic_config: {
15582
+ # single_weight_config: {
15583
+ # weight: 1.0, # required
15584
+ # session_stickiness_config: {
15585
+ # idle_ttl: 1, # required
15586
+ # maximum_ttl: 1, # required
15587
+ # },
15588
+ # },
15589
+ # single_header_config: {
15590
+ # header: "string", # required
15591
+ # value: "string", # required
15592
+ # },
15593
+ # type: "SingleWeight", # required, accepts SingleWeight, SingleHeader
15594
+ # },
15595
+ # },
15596
+ # id: "string", # required
15597
+ # if_match: "string",
15598
+ # }
15599
+ #
15600
+ # @!attribute [rw] continuous_deployment_policy_config
15601
+ # The continuous deployment policy configuration.
15602
+ # @return [Types::ContinuousDeploymentPolicyConfig]
15603
+ #
15604
+ # @!attribute [rw] id
15605
+ # The identifier of the continuous deployment policy that you are
15606
+ # updating.
15607
+ # @return [String]
15608
+ #
15609
+ # @!attribute [rw] if_match
15610
+ # The current version (`ETag` value) of the continuous deployment
15611
+ # policy that you are updating.
15612
+ # @return [String]
15613
+ #
15614
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateContinuousDeploymentPolicyRequest AWS API Documentation
15615
+ #
15616
+ class UpdateContinuousDeploymentPolicyRequest < Struct.new(
15617
+ :continuous_deployment_policy_config,
15618
+ :id,
15619
+ :if_match)
15620
+ SENSITIVE = []
15621
+ include Aws::Structure
15622
+ end
15623
+
15624
+ # @!attribute [rw] continuous_deployment_policy
15625
+ # A continuous deployment policy.
15626
+ # @return [Types::ContinuousDeploymentPolicy]
15627
+ #
15628
+ # @!attribute [rw] etag
15629
+ # The version identifier for the current version of the continuous
15630
+ # deployment policy.
15631
+ # @return [String]
15632
+ #
15633
+ # @see http://docs.aws.amazon.com/goto/WebAPI/cloudfront-2020-05-31/UpdateContinuousDeploymentPolicyResult AWS API Documentation
15634
+ #
15635
+ class UpdateContinuousDeploymentPolicyResult < Struct.new(
15636
+ :continuous_deployment_policy,
15637
+ :etag)
15638
+ SENSITIVE = []
15639
+ include Aws::Structure
15640
+ end
15641
+
14979
15642
  # The request to update a distribution.
14980
15643
  #
14981
15644
  # @note When making an API call, you may pass UpdateDistributionRequest
@@ -15551,7 +16214,7 @@ module Aws::CloudFront
15551
16214
  # {
15552
16215
  # origin_access_control_config: { # required
15553
16216
  # name: "string", # required
15554
- # description: "string", # required
16217
+ # description: "string",
15555
16218
  # signing_protocol: "sigv4", # required, accepts sigv4
15556
16219
  # signing_behavior: "never", # required, accepts never, always, no-override
15557
16220
  # origin_access_control_origin_type: "s3", # required, accepts s3