@aws-sdk/client-cloudfront 3.428.0 → 3.430.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.
@@ -210,7 +210,7 @@ export interface AliasICPRecordal {
210
210
  * </li>
211
211
  * </ul>
212
212
  */
213
- ICPRecordalStatus?: ICPRecordalStatus | string;
213
+ ICPRecordalStatus?: ICPRecordalStatus;
214
214
  }
215
215
  /**
216
216
  * @public
@@ -261,7 +261,7 @@ export interface CachedMethods {
261
261
  * <p>A complex type that contains the HTTP methods that you want CloudFront to cache responses
262
262
  * to.</p>
263
263
  */
264
- Items: (Method | string)[] | undefined;
264
+ Items: Method[] | undefined;
265
265
  }
266
266
  /**
267
267
  * @public
@@ -299,7 +299,7 @@ export interface AllowedMethods {
299
299
  * <p>A complex type that contains the HTTP methods that you want CloudFront to process and
300
300
  * forward to your origin.</p>
301
301
  */
302
- Items: (Method | string)[] | undefined;
302
+ Items: Method[] | undefined;
303
303
  /**
304
304
  * @public
305
305
  * <p>A complex type that controls whether CloudFront caches the response to requests using the
@@ -459,7 +459,7 @@ export interface CookiePreference {
459
459
  * <p>Amazon S3 doesn't process cookies. When the cache behavior is forwarding requests to an
460
460
  * Amazon S3 origin, specify none for the <code>Forward</code> element.</p>
461
461
  */
462
- Forward: ItemSelection | string | undefined;
462
+ Forward: ItemSelection | undefined;
463
463
  /**
464
464
  * @public
465
465
  * <p>This field is deprecated. We recommend that you use a cache policy or an origin
@@ -648,7 +648,7 @@ export interface FunctionAssociation {
648
648
  * (<code>origin-request</code> and <code>origin-response</code>) with a CloudFront
649
649
  * function.</p>
650
650
  */
651
- EventType: EventType | string | undefined;
651
+ EventType: EventType | undefined;
652
652
  }
653
653
  /**
654
654
  * @public
@@ -714,7 +714,7 @@ export interface LambdaFunctionAssociation {
714
714
  * </li>
715
715
  * </ul>
716
716
  */
717
- EventType: EventType | string | undefined;
717
+ EventType: EventType | undefined;
718
718
  /**
719
719
  * @public
720
720
  * <p>A flag that allows a Lambda@Edge function to have read access to the body content. For
@@ -921,7 +921,7 @@ export interface CacheBehavior {
921
921
  * Expiration</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
922
922
  * </note>
923
923
  */
924
- ViewerProtocolPolicy: ViewerProtocolPolicy | string | undefined;
924
+ ViewerProtocolPolicy: ViewerProtocolPolicy | undefined;
925
925
  /**
926
926
  * @public
927
927
  * <p>A complex type that controls which HTTP methods CloudFront processes and forwards to your
@@ -1151,7 +1151,7 @@ export interface CachePolicyCookiesConfig {
1151
1151
  * </li>
1152
1152
  * </ul>
1153
1153
  */
1154
- CookieBehavior: CachePolicyCookieBehavior | string | undefined;
1154
+ CookieBehavior: CachePolicyCookieBehavior | undefined;
1155
1155
  /**
1156
1156
  * @public
1157
1157
  * <p>Contains a list of cookie names.</p>
@@ -1196,7 +1196,7 @@ export interface CachePolicyHeadersConfig {
1196
1196
  * </li>
1197
1197
  * </ul>
1198
1198
  */
1199
- HeaderBehavior: CachePolicyHeaderBehavior | string | undefined;
1199
+ HeaderBehavior: CachePolicyHeaderBehavior | undefined;
1200
1200
  /**
1201
1201
  * @public
1202
1202
  * <p>Contains a list of HTTP header names.</p>
@@ -1275,7 +1275,7 @@ export interface CachePolicyQueryStringsConfig {
1275
1275
  * </li>
1276
1276
  * </ul>
1277
1277
  */
1278
- QueryStringBehavior: CachePolicyQueryStringBehavior | string | undefined;
1278
+ QueryStringBehavior: CachePolicyQueryStringBehavior | undefined;
1279
1279
  /**
1280
1280
  * @public
1281
1281
  * <p>Contains the specific query strings in viewer requests that either <i>
@@ -1562,7 +1562,7 @@ export interface CachePolicySummary {
1562
1562
  * <p>The type of cache policy, either <code>managed</code> (created by Amazon Web Services) or
1563
1563
  * <code>custom</code> (created in this Amazon Web Services account).</p>
1564
1564
  */
1565
- Type: CachePolicyType | string | undefined;
1565
+ Type: CachePolicyType | undefined;
1566
1566
  /**
1567
1567
  * @public
1568
1568
  * <p>The cache policy.</p>
@@ -1875,7 +1875,7 @@ export interface DefaultCacheBehavior {
1875
1875
  * Expiration</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
1876
1876
  * </note>
1877
1877
  */
1878
- ViewerProtocolPolicy: ViewerProtocolPolicy | string | undefined;
1878
+ ViewerProtocolPolicy: ViewerProtocolPolicy | undefined;
1879
1879
  /**
1880
1880
  * @public
1881
1881
  * <p>A complex type that controls which HTTP methods CloudFront processes and forwards to your
@@ -2275,7 +2275,7 @@ export interface OriginSslProtocols {
2275
2275
  * @public
2276
2276
  * <p>A list that contains allowed SSL/TLS protocols for this distribution.</p>
2277
2277
  */
2278
- Items: (SslProtocol | string)[] | undefined;
2278
+ Items: SslProtocol[] | undefined;
2279
2279
  }
2280
2280
  /**
2281
2281
  * @public
@@ -2319,7 +2319,7 @@ export interface CustomOriginConfig {
2319
2319
  * </li>
2320
2320
  * </ul>
2321
2321
  */
2322
- OriginProtocolPolicy: OriginProtocolPolicy | string | undefined;
2322
+ OriginProtocolPolicy: OriginProtocolPolicy | undefined;
2323
2323
  /**
2324
2324
  * @public
2325
2325
  * <p>Specifies the minimum SSL/TLS protocol that CloudFront uses when connecting to your origin
@@ -2600,7 +2600,7 @@ export interface GeoRestriction {
2600
2600
  * </li>
2601
2601
  * </ul>
2602
2602
  */
2603
- RestrictionType: GeoRestrictionType | string | undefined;
2603
+ RestrictionType: GeoRestrictionType | undefined;
2604
2604
  /**
2605
2605
  * @public
2606
2606
  * <p>When geo restriction is <code>enabled</code>, this is the number of countries in your
@@ -2804,7 +2804,7 @@ export interface ViewerCertificate {
2804
2804
  * <p>If the distribution uses the CloudFront domain name such as
2805
2805
  * <code>d111111abcdef8.cloudfront.net</code>, don't set a value for this field.</p>
2806
2806
  */
2807
- SSLSupportMethod?: SSLSupportMethod | string;
2807
+ SSLSupportMethod?: SSLSupportMethod;
2808
2808
  /**
2809
2809
  * @public
2810
2810
  * <p>If the distribution uses <code>Aliases</code> (alternate domain names or CNAMEs),
@@ -2834,7 +2834,7 @@ export interface ViewerCertificate {
2834
2834
  * sets the security policy to <code>TLSv1</code> regardless of the value that you set
2835
2835
  * here.</p>
2836
2836
  */
2837
- MinimumProtocolVersion?: MinimumProtocolVersion | string;
2837
+ MinimumProtocolVersion?: MinimumProtocolVersion;
2838
2838
  /**
2839
2839
  * @public
2840
2840
  * @deprecated
@@ -2882,7 +2882,7 @@ export interface ViewerCertificate {
2882
2882
  * </li>
2883
2883
  * </ul>
2884
2884
  */
2885
- CertificateSource?: CertificateSource | string;
2885
+ CertificateSource?: CertificateSource;
2886
2886
  }
2887
2887
  /**
2888
2888
  * @public
@@ -2995,7 +2995,7 @@ export interface DistributionConfig {
2995
2995
  * 100) map to CloudFront regions, see <a href="http://aws.amazon.com/cloudfront/pricing/">Amazon CloudFront
2996
2996
  * Pricing</a>.</p>
2997
2997
  */
2998
- PriceClass?: PriceClass | string;
2998
+ PriceClass?: PriceClass;
2999
2999
  /**
3000
3000
  * @public
3001
3001
  * <p>From this field, you can enable or disable the selected distribution.</p>
@@ -3044,7 +3044,7 @@ export interface DistributionConfig {
3044
3044
  * migration, see <a href="https://www.rfc-editor.org/rfc/rfc9000.html#name-connection-migration">Connection Migration</a> at RFC 9000. For more information about supported
3045
3045
  * TLSv1.3 ciphers, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/secure-connections-supported-viewer-protocols-ciphers.html">Supported protocols and ciphers between viewers and CloudFront</a>.</p>
3046
3046
  */
3047
- HttpVersion?: HttpVersion | string;
3047
+ HttpVersion?: HttpVersion;
3048
3048
  /**
3049
3049
  * @public
3050
3050
  * <p>If you want CloudFront to respond to IPv6 DNS requests with an IPv6 address for your
@@ -4326,7 +4326,7 @@ export interface TrafficConfig {
4326
4326
  * @public
4327
4327
  * <p>The type of traffic configuration.</p>
4328
4328
  */
4329
- Type: ContinuousDeploymentPolicyType | string | undefined;
4329
+ Type: ContinuousDeploymentPolicyType | undefined;
4330
4330
  }
4331
4331
  /**
4332
4332
  * @public
@@ -4635,7 +4635,7 @@ export interface ContentTypeProfile {
4635
4635
  * @public
4636
4636
  * <p>The format for a field-level encryption content type-profile mapping.</p>
4637
4637
  */
4638
- Format: Format | string | undefined;
4638
+ Format: Format | undefined;
4639
4639
  /**
4640
4640
  * @public
4641
4641
  * <p>The profile ID for a field-level encryption content type-profile mapping.</p>
@@ -5155,7 +5155,7 @@ export interface FunctionConfig {
5155
5155
  * @public
5156
5156
  * <p>The function's runtime environment verion.</p>
5157
5157
  */
5158
- Runtime: FunctionRuntime | string | undefined;
5158
+ Runtime: FunctionRuntime | undefined;
5159
5159
  }
5160
5160
  /**
5161
5161
  * @public
@@ -5212,7 +5212,7 @@ export interface FunctionMetadata {
5212
5212
  * <p>When a function is in the <code>LIVE</code> stage, you can attach the function to a
5213
5213
  * distribution's cache behavior, using the function's ARN.</p>
5214
5214
  */
5215
- Stage?: FunctionStage | string;
5215
+ Stage?: FunctionStage;
5216
5216
  /**
5217
5217
  * @public
5218
5218
  * <p>The date and time when the function was created.</p>
@@ -5594,7 +5594,7 @@ export interface RealtimeMetricsSubscriptionConfig {
5594
5594
  * <p>A flag that indicates whether additional CloudWatch metrics are enabled for a given
5595
5595
  * CloudFront distribution.</p>
5596
5596
  */
5597
- RealtimeMetricsSubscriptionStatus: RealtimeMetricsSubscriptionStatus | string | undefined;
5597
+ RealtimeMetricsSubscriptionStatus: RealtimeMetricsSubscriptionStatus | undefined;
5598
5598
  }
5599
5599
  /**
5600
5600
  * @public
@@ -5704,7 +5704,7 @@ export interface OriginAccessControlConfig {
5704
5704
  * <p>The signing protocol of the origin access control, which determines how CloudFront signs
5705
5705
  * (authenticates) requests. The only valid value is <code>sigv4</code>.</p>
5706
5706
  */
5707
- SigningProtocol: OriginAccessControlSigningProtocols | string | undefined;
5707
+ SigningProtocol: OriginAccessControlSigningProtocols | undefined;
5708
5708
  /**
5709
5709
  * @public
5710
5710
  * <p>Specifies which requests CloudFront signs (adds authentication information to). Specify
@@ -5738,12 +5738,12 @@ export interface OriginAccessControlConfig {
5738
5738
  * </li>
5739
5739
  * </ul>
5740
5740
  */
5741
- SigningBehavior: OriginAccessControlSigningBehaviors | string | undefined;
5741
+ SigningBehavior: OriginAccessControlSigningBehaviors | undefined;
5742
5742
  /**
5743
5743
  * @public
5744
5744
  * <p>The type of origin that this origin access control is for.</p>
5745
5745
  */
5746
- OriginAccessControlOriginType: OriginAccessControlOriginTypes | string | undefined;
5746
+ OriginAccessControlOriginType: OriginAccessControlOriginTypes | undefined;
5747
5747
  }
5748
5748
  /**
5749
5749
  * @public
@@ -5874,7 +5874,7 @@ export interface OriginRequestPolicyCookiesConfig {
5874
5874
  * </li>
5875
5875
  * </ul>
5876
5876
  */
5877
- CookieBehavior: OriginRequestPolicyCookieBehavior | string | undefined;
5877
+ CookieBehavior: OriginRequestPolicyCookieBehavior | undefined;
5878
5878
  /**
5879
5879
  * @public
5880
5880
  * <p>Contains a list of cookie names.</p>
@@ -5942,7 +5942,7 @@ export interface OriginRequestPolicyHeadersConfig {
5942
5942
  * </li>
5943
5943
  * </ul>
5944
5944
  */
5945
- HeaderBehavior: OriginRequestPolicyHeaderBehavior | string | undefined;
5945
+ HeaderBehavior: OriginRequestPolicyHeaderBehavior | undefined;
5946
5946
  /**
5947
5947
  * @public
5948
5948
  * <p>Contains a list of HTTP header names.</p>
@@ -6003,7 +6003,7 @@ export interface OriginRequestPolicyQueryStringsConfig {
6003
6003
  * </li>
6004
6004
  * </ul>
6005
6005
  */
6006
- QueryStringBehavior: OriginRequestPolicyQueryStringBehavior | string | undefined;
6006
+ QueryStringBehavior: OriginRequestPolicyQueryStringBehavior | undefined;
6007
6007
  /**
6008
6008
  * @public
6009
6009
  * <p>Contains the specific query strings in viewer requests that either <i>
@@ -6564,7 +6564,7 @@ export interface ResponseHeadersPolicyAccessControlAllowMethods {
6564
6564
  * <code>ALL</code> is a special value that includes all of the listed HTTP
6565
6565
  * methods.</p>
6566
6566
  */
6567
- Items: (ResponseHeadersPolicyAccessControlAllowMethodsValues | string)[] | undefined;
6567
+ Items: ResponseHeadersPolicyAccessControlAllowMethodsValues[] | undefined;
6568
6568
  }
6569
6569
  /**
6570
6570
  * @public
@@ -6812,7 +6812,7 @@ export interface ResponseHeadersPolicyFrameOptions {
6812
6812
  * <code>DENY</code> and <code>SAMEORIGIN</code>.</p>
6813
6813
  * <p>For more information about these values, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Frame-Options">X-Frame-Options</a> in the MDN Web Docs.</p>
6814
6814
  */
6815
- FrameOption: FrameOptionsList | string | undefined;
6815
+ FrameOption: FrameOptionsList | undefined;
6816
6816
  }
6817
6817
  /**
6818
6818
  * @public
@@ -6895,7 +6895,7 @@ export interface ResponseHeadersPolicyReferrerPolicy {
6895
6895
  * </ul>
6896
6896
  * <p>For more information about these values, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Referrer-Policy">Referrer-Policy</a> in the MDN Web Docs.</p>
6897
6897
  */
6898
- ReferrerPolicy: ReferrerPolicyList | string | undefined;
6898
+ ReferrerPolicy: ReferrerPolicyList | undefined;
6899
6899
  }
6900
6900
  /**
6901
6901
  * @public
@@ -214,7 +214,7 @@ export interface StreamingDistributionConfig {
214
214
  * <p>A complex type that contains information about price class for this streaming
215
215
  * distribution.</p>
216
216
  */
217
- PriceClass?: PriceClass | string;
217
+ PriceClass?: PriceClass;
218
218
  /**
219
219
  * @public
220
220
  * <p>Whether the streaming distribution is enabled to accept user requests for
@@ -971,7 +971,7 @@ export interface DescribeFunctionRequest {
971
971
  * @public
972
972
  * <p>The function's stage, either <code>DEVELOPMENT</code> or <code>LIVE</code>.</p>
973
973
  */
974
- Stage?: FunctionStage | string;
974
+ Stage?: FunctionStage;
975
975
  }
976
976
  /**
977
977
  * @public
@@ -1331,7 +1331,7 @@ export interface GetFunctionRequest {
1331
1331
  * @public
1332
1332
  * <p>The function's stage, either <code>DEVELOPMENT</code> or <code>LIVE</code>.</p>
1333
1333
  */
1334
- Stage?: FunctionStage | string;
1334
+ Stage?: FunctionStage;
1335
1335
  }
1336
1336
  /**
1337
1337
  * @public
@@ -1788,7 +1788,7 @@ export interface ListCachePoliciesRequest {
1788
1788
  * </li>
1789
1789
  * </ul>
1790
1790
  */
1791
- Type?: CachePolicyType | string;
1791
+ Type?: CachePolicyType;
1792
1792
  /**
1793
1793
  * @public
1794
1794
  * <p>Use this field when paginating results to indicate where to begin in your list of
@@ -2186,7 +2186,7 @@ export interface DistributionSummary {
2186
2186
  * <p>A complex type that contains information about price class for this streaming
2187
2187
  * distribution.</p>
2188
2188
  */
2189
- PriceClass: PriceClass | string | undefined;
2189
+ PriceClass: PriceClass | undefined;
2190
2190
  /**
2191
2191
  * @public
2192
2192
  * <p>Whether the distribution is enabled to accept user requests for content.</p>
@@ -2215,7 +2215,7 @@ export interface DistributionSummary {
2215
2215
  * CloudFront. The default value for new web distributions is <code>http2</code>. Viewers that
2216
2216
  * don't support <code>HTTP/2</code> will automatically use an earlier version.</p>
2217
2217
  */
2218
- HttpVersion: HttpVersion | string | undefined;
2218
+ HttpVersion: HttpVersion | undefined;
2219
2219
  /**
2220
2220
  * @public
2221
2221
  * <p>Whether CloudFront responds to IPv6 DNS requests with an IPv6 address for your
@@ -2753,7 +2753,7 @@ export interface ListFunctionsRequest {
2753
2753
  * <p>An optional filter to return only the functions that are in the specified stage,
2754
2754
  * either <code>DEVELOPMENT</code> or <code>LIVE</code>.</p>
2755
2755
  */
2756
- Stage?: FunctionStage | string;
2756
+ Stage?: FunctionStage;
2757
2757
  }
2758
2758
  /**
2759
2759
  * @public
@@ -3007,7 +3007,7 @@ export interface OriginAccessControlSummary {
3007
3007
  * <p>The signing protocol of the origin access control. The signing protocol determines how
3008
3008
  * CloudFront signs (authenticates) requests. The only valid value is <code>sigv4</code>.</p>
3009
3009
  */
3010
- SigningProtocol: OriginAccessControlSigningProtocols | string | undefined;
3010
+ SigningProtocol: OriginAccessControlSigningProtocols | undefined;
3011
3011
  /**
3012
3012
  * @public
3013
3013
  * <p>A value that specifies which requests CloudFront signs (adds authentication information to).
@@ -3033,12 +3033,12 @@ export interface OriginAccessControlSummary {
3033
3033
  * </li>
3034
3034
  * </ul>
3035
3035
  */
3036
- SigningBehavior: OriginAccessControlSigningBehaviors | string | undefined;
3036
+ SigningBehavior: OriginAccessControlSigningBehaviors | undefined;
3037
3037
  /**
3038
3038
  * @public
3039
3039
  * <p>The type of origin that this origin access control is for.</p>
3040
3040
  */
3041
- OriginAccessControlOriginType: OriginAccessControlOriginTypes | string | undefined;
3041
+ OriginAccessControlOriginType: OriginAccessControlOriginTypes | undefined;
3042
3042
  }
3043
3043
  /**
3044
3044
  * @public
@@ -3122,7 +3122,7 @@ export interface ListOriginRequestPoliciesRequest {
3122
3122
  * </li>
3123
3123
  * </ul>
3124
3124
  */
3125
- Type?: OriginRequestPolicyType | string;
3125
+ Type?: OriginRequestPolicyType;
3126
3126
  /**
3127
3127
  * @public
3128
3128
  * <p>Use this field when paginating results to indicate where to begin in your list of
@@ -3147,7 +3147,7 @@ export interface OriginRequestPolicySummary {
3147
3147
  * <p>The type of origin request policy, either <code>managed</code> (created by Amazon Web Services) or
3148
3148
  * <code>custom</code> (created in this Amazon Web Services account).</p>
3149
3149
  */
3150
- Type: OriginRequestPolicyType | string | undefined;
3150
+ Type: OriginRequestPolicyType | undefined;
3151
3151
  /**
3152
3152
  * @public
3153
3153
  * <p>The origin request policy.</p>
@@ -3380,7 +3380,7 @@ export interface ListResponseHeadersPoliciesRequest {
3380
3380
  * </li>
3381
3381
  * </ul>
3382
3382
  */
3383
- Type?: ResponseHeadersPolicyType | string;
3383
+ Type?: ResponseHeadersPolicyType;
3384
3384
  /**
3385
3385
  * @public
3386
3386
  * <p>Use this field when paginating results to indicate where to begin in your list of
@@ -3406,7 +3406,7 @@ export interface ResponseHeadersPolicySummary {
3406
3406
  * <p>The type of response headers policy, either <code>managed</code> (created by Amazon Web Services) or
3407
3407
  * <code>custom</code> (created in this Amazon Web Services account).</p>
3408
3408
  */
3409
- Type: ResponseHeadersPolicyType | string | undefined;
3409
+ Type: ResponseHeadersPolicyType | undefined;
3410
3410
  /**
3411
3411
  * @public
3412
3412
  * <p>The response headers policy.</p>
@@ -3542,7 +3542,7 @@ export interface StreamingDistributionSummary {
3542
3542
  * <p>A complex type that contains information about price class for this streaming
3543
3543
  * distribution.</p>
3544
3544
  */
3545
- PriceClass: PriceClass | string | undefined;
3545
+ PriceClass: PriceClass | undefined;
3546
3546
  /**
3547
3547
  * @public
3548
3548
  * <p>Whether the distribution is enabled to accept end user requests for content.</p>
@@ -3700,7 +3700,7 @@ export interface TestFunctionRequest {
3700
3700
  * <p>The stage of the function that you are testing, either <code>DEVELOPMENT</code> or
3701
3701
  * <code>LIVE</code>.</p>
3702
3702
  */
3703
- Stage?: FunctionStage | string;
3703
+ Stage?: FunctionStage;
3704
3704
  /**
3705
3705
  * @public
3706
3706
  * <p>The event object to test the function with. For more information about the structure
@@ -53,7 +53,7 @@ export type ICPRecordalStatus =
53
53
  (typeof ICPRecordalStatus)[keyof typeof ICPRecordalStatus];
54
54
  export interface AliasICPRecordal {
55
55
  CNAME?: string;
56
- ICPRecordalStatus?: ICPRecordalStatus | string;
56
+ ICPRecordalStatus?: ICPRecordalStatus;
57
57
  }
58
58
  export declare const Method: {
59
59
  readonly DELETE: "DELETE";
@@ -67,11 +67,11 @@ export declare const Method: {
67
67
  export type Method = (typeof Method)[keyof typeof Method];
68
68
  export interface CachedMethods {
69
69
  Quantity: number | undefined;
70
- Items: (Method | string)[] | undefined;
70
+ Items: Method[] | undefined;
71
71
  }
72
72
  export interface AllowedMethods {
73
73
  Quantity: number | undefined;
74
- Items: (Method | string)[] | undefined;
74
+ Items: Method[] | undefined;
75
75
  CachedMethods?: CachedMethods;
76
76
  }
77
77
  export interface AssociateAliasRequest {
@@ -121,7 +121,7 @@ export interface CookieNames {
121
121
  Items?: string[];
122
122
  }
123
123
  export interface CookiePreference {
124
- Forward: ItemSelection | string | undefined;
124
+ Forward: ItemSelection | undefined;
125
125
  WhitelistedNames?: CookieNames;
126
126
  }
127
127
  export interface Headers {
@@ -147,7 +147,7 @@ export declare const EventType: {
147
147
  export type EventType = (typeof EventType)[keyof typeof EventType];
148
148
  export interface FunctionAssociation {
149
149
  FunctionARN: string | undefined;
150
- EventType: EventType | string | undefined;
150
+ EventType: EventType | undefined;
151
151
  }
152
152
  export interface FunctionAssociations {
153
153
  Quantity: number | undefined;
@@ -155,7 +155,7 @@ export interface FunctionAssociations {
155
155
  }
156
156
  export interface LambdaFunctionAssociation {
157
157
  LambdaFunctionARN: string | undefined;
158
- EventType: EventType | string | undefined;
158
+ EventType: EventType | undefined;
159
159
  IncludeBody?: boolean;
160
160
  }
161
161
  export interface LambdaFunctionAssociations {
@@ -184,7 +184,7 @@ export interface CacheBehavior {
184
184
  TargetOriginId: string | undefined;
185
185
  TrustedSigners?: TrustedSigners;
186
186
  TrustedKeyGroups?: TrustedKeyGroups;
187
- ViewerProtocolPolicy: ViewerProtocolPolicy | string | undefined;
187
+ ViewerProtocolPolicy: ViewerProtocolPolicy | undefined;
188
188
  AllowedMethods?: AllowedMethods;
189
189
  SmoothStreaming?: boolean;
190
190
  Compress?: boolean;
@@ -213,7 +213,7 @@ export declare const CachePolicyCookieBehavior: {
213
213
  export type CachePolicyCookieBehavior =
214
214
  (typeof CachePolicyCookieBehavior)[keyof typeof CachePolicyCookieBehavior];
215
215
  export interface CachePolicyCookiesConfig {
216
- CookieBehavior: CachePolicyCookieBehavior | string | undefined;
216
+ CookieBehavior: CachePolicyCookieBehavior | undefined;
217
217
  Cookies?: CookieNames;
218
218
  }
219
219
  export declare const CachePolicyHeaderBehavior: {
@@ -223,7 +223,7 @@ export declare const CachePolicyHeaderBehavior: {
223
223
  export type CachePolicyHeaderBehavior =
224
224
  (typeof CachePolicyHeaderBehavior)[keyof typeof CachePolicyHeaderBehavior];
225
225
  export interface CachePolicyHeadersConfig {
226
- HeaderBehavior: CachePolicyHeaderBehavior | string | undefined;
226
+ HeaderBehavior: CachePolicyHeaderBehavior | undefined;
227
227
  Headers?: Headers;
228
228
  }
229
229
  export declare const CachePolicyQueryStringBehavior: {
@@ -239,7 +239,7 @@ export interface QueryStringNames {
239
239
  Items?: string[];
240
240
  }
241
241
  export interface CachePolicyQueryStringsConfig {
242
- QueryStringBehavior: CachePolicyQueryStringBehavior | string | undefined;
242
+ QueryStringBehavior: CachePolicyQueryStringBehavior | undefined;
243
243
  QueryStrings?: QueryStringNames;
244
244
  }
245
245
  export interface ParametersInCacheKeyAndForwardedToOrigin {
@@ -283,7 +283,7 @@ export declare const CachePolicyType: {
283
283
  export type CachePolicyType =
284
284
  (typeof CachePolicyType)[keyof typeof CachePolicyType];
285
285
  export interface CachePolicySummary {
286
- Type: CachePolicyType | string | undefined;
286
+ Type: CachePolicyType | undefined;
287
287
  CachePolicy: CachePolicy | undefined;
288
288
  }
289
289
  export interface CachePolicyList {
@@ -337,7 +337,7 @@ export interface DefaultCacheBehavior {
337
337
  TargetOriginId: string | undefined;
338
338
  TrustedSigners?: TrustedSigners;
339
339
  TrustedKeyGroups?: TrustedKeyGroups;
340
- ViewerProtocolPolicy: ViewerProtocolPolicy | string | undefined;
340
+ ViewerProtocolPolicy: ViewerProtocolPolicy | undefined;
341
341
  AllowedMethods?: AllowedMethods;
342
342
  SmoothStreaming?: boolean;
343
343
  Compress?: boolean;
@@ -413,12 +413,12 @@ export declare const SslProtocol: {
413
413
  export type SslProtocol = (typeof SslProtocol)[keyof typeof SslProtocol];
414
414
  export interface OriginSslProtocols {
415
415
  Quantity: number | undefined;
416
- Items: (SslProtocol | string)[] | undefined;
416
+ Items: SslProtocol[] | undefined;
417
417
  }
418
418
  export interface CustomOriginConfig {
419
419
  HTTPPort: number | undefined;
420
420
  HTTPSPort: number | undefined;
421
- OriginProtocolPolicy: OriginProtocolPolicy | string | undefined;
421
+ OriginProtocolPolicy: OriginProtocolPolicy | undefined;
422
422
  OriginSslProtocols?: OriginSslProtocols;
423
423
  OriginReadTimeout?: number;
424
424
  OriginKeepaliveTimeout?: number;
@@ -460,7 +460,7 @@ export declare const GeoRestrictionType: {
460
460
  export type GeoRestrictionType =
461
461
  (typeof GeoRestrictionType)[keyof typeof GeoRestrictionType];
462
462
  export interface GeoRestriction {
463
- RestrictionType: GeoRestrictionType | string | undefined;
463
+ RestrictionType: GeoRestrictionType | undefined;
464
464
  Quantity: number | undefined;
465
465
  Items?: string[];
466
466
  }
@@ -489,10 +489,10 @@ export interface ViewerCertificate {
489
489
  CloudFrontDefaultCertificate?: boolean;
490
490
  IAMCertificateId?: string;
491
491
  ACMCertificateArn?: string;
492
- SSLSupportMethod?: SSLSupportMethod | string;
493
- MinimumProtocolVersion?: MinimumProtocolVersion | string;
492
+ SSLSupportMethod?: SSLSupportMethod;
493
+ MinimumProtocolVersion?: MinimumProtocolVersion;
494
494
  Certificate?: string;
495
- CertificateSource?: CertificateSource | string;
495
+ CertificateSource?: CertificateSource;
496
496
  }
497
497
  export interface DistributionConfig {
498
498
  CallerReference: string | undefined;
@@ -505,12 +505,12 @@ export interface DistributionConfig {
505
505
  CustomErrorResponses?: CustomErrorResponses;
506
506
  Comment: string | undefined;
507
507
  Logging?: LoggingConfig;
508
- PriceClass?: PriceClass | string;
508
+ PriceClass?: PriceClass;
509
509
  Enabled: boolean | undefined;
510
510
  ViewerCertificate?: ViewerCertificate;
511
511
  Restrictions?: Restrictions;
512
512
  WebACLId?: string;
513
- HttpVersion?: HttpVersion | string;
513
+ HttpVersion?: HttpVersion;
514
514
  IsIPV6Enabled?: boolean;
515
515
  ContinuousDeploymentPolicyId?: string;
516
516
  Staging?: boolean;
@@ -1154,7 +1154,7 @@ export type ContinuousDeploymentPolicyType =
1154
1154
  export interface TrafficConfig {
1155
1155
  SingleWeightConfig?: ContinuousDeploymentSingleWeightConfig;
1156
1156
  SingleHeaderConfig?: ContinuousDeploymentSingleHeaderConfig;
1157
- Type: ContinuousDeploymentPolicyType | string | undefined;
1157
+ Type: ContinuousDeploymentPolicyType | undefined;
1158
1158
  }
1159
1159
  export interface ContinuousDeploymentPolicyConfig {
1160
1160
  StagingDistributionDnsNames: StagingDistributionDnsNames | undefined;
@@ -1279,7 +1279,7 @@ export declare const Format: {
1279
1279
  };
1280
1280
  export type Format = (typeof Format)[keyof typeof Format];
1281
1281
  export interface ContentTypeProfile {
1282
- Format: Format | string | undefined;
1282
+ Format: Format | undefined;
1283
1283
  ProfileId?: string;
1284
1284
  ContentType: string | undefined;
1285
1285
  }
@@ -1490,7 +1490,7 @@ export type FunctionRuntime =
1490
1490
  (typeof FunctionRuntime)[keyof typeof FunctionRuntime];
1491
1491
  export interface FunctionConfig {
1492
1492
  Comment: string | undefined;
1493
- Runtime: FunctionRuntime | string | undefined;
1493
+ Runtime: FunctionRuntime | undefined;
1494
1494
  }
1495
1495
  export interface CreateFunctionRequest {
1496
1496
  Name: string | undefined;
@@ -1504,7 +1504,7 @@ export declare const FunctionStage: {
1504
1504
  export type FunctionStage = (typeof FunctionStage)[keyof typeof FunctionStage];
1505
1505
  export interface FunctionMetadata {
1506
1506
  FunctionARN: string | undefined;
1507
- Stage?: FunctionStage | string;
1507
+ Stage?: FunctionStage;
1508
1508
  CreatedTime?: Date;
1509
1509
  LastModifiedTime: Date | undefined;
1510
1510
  }
@@ -1628,7 +1628,6 @@ export type RealtimeMetricsSubscriptionStatus =
1628
1628
  export interface RealtimeMetricsSubscriptionConfig {
1629
1629
  RealtimeMetricsSubscriptionStatus:
1630
1630
  | RealtimeMetricsSubscriptionStatus
1631
- | string
1632
1631
  | undefined;
1633
1632
  }
1634
1633
  export interface MonitoringSubscription {
@@ -1673,12 +1672,9 @@ export type OriginAccessControlSigningProtocols =
1673
1672
  export interface OriginAccessControlConfig {
1674
1673
  Name: string | undefined;
1675
1674
  Description?: string;
1676
- SigningProtocol: OriginAccessControlSigningProtocols | string | undefined;
1677
- SigningBehavior: OriginAccessControlSigningBehaviors | string | undefined;
1678
- OriginAccessControlOriginType:
1679
- | OriginAccessControlOriginTypes
1680
- | string
1681
- | undefined;
1675
+ SigningProtocol: OriginAccessControlSigningProtocols | undefined;
1676
+ SigningBehavior: OriginAccessControlSigningBehaviors | undefined;
1677
+ OriginAccessControlOriginType: OriginAccessControlOriginTypes | undefined;
1682
1678
  }
1683
1679
  export interface CreateOriginAccessControlRequest {
1684
1680
  OriginAccessControlConfig: OriginAccessControlConfig | undefined;
@@ -1720,7 +1716,7 @@ export declare const OriginRequestPolicyCookieBehavior: {
1720
1716
  export type OriginRequestPolicyCookieBehavior =
1721
1717
  (typeof OriginRequestPolicyCookieBehavior)[keyof typeof OriginRequestPolicyCookieBehavior];
1722
1718
  export interface OriginRequestPolicyCookiesConfig {
1723
- CookieBehavior: OriginRequestPolicyCookieBehavior | string | undefined;
1719
+ CookieBehavior: OriginRequestPolicyCookieBehavior | undefined;
1724
1720
  Cookies?: CookieNames;
1725
1721
  }
1726
1722
  export declare const OriginRequestPolicyHeaderBehavior: {
@@ -1733,7 +1729,7 @@ export declare const OriginRequestPolicyHeaderBehavior: {
1733
1729
  export type OriginRequestPolicyHeaderBehavior =
1734
1730
  (typeof OriginRequestPolicyHeaderBehavior)[keyof typeof OriginRequestPolicyHeaderBehavior];
1735
1731
  export interface OriginRequestPolicyHeadersConfig {
1736
- HeaderBehavior: OriginRequestPolicyHeaderBehavior | string | undefined;
1732
+ HeaderBehavior: OriginRequestPolicyHeaderBehavior | undefined;
1737
1733
  Headers?: Headers;
1738
1734
  }
1739
1735
  export declare const OriginRequestPolicyQueryStringBehavior: {
@@ -1745,10 +1741,7 @@ export declare const OriginRequestPolicyQueryStringBehavior: {
1745
1741
  export type OriginRequestPolicyQueryStringBehavior =
1746
1742
  (typeof OriginRequestPolicyQueryStringBehavior)[keyof typeof OriginRequestPolicyQueryStringBehavior];
1747
1743
  export interface OriginRequestPolicyQueryStringsConfig {
1748
- QueryStringBehavior:
1749
- | OriginRequestPolicyQueryStringBehavior
1750
- | string
1751
- | undefined;
1744
+ QueryStringBehavior: OriginRequestPolicyQueryStringBehavior | undefined;
1752
1745
  QueryStrings?: QueryStringNames;
1753
1746
  }
1754
1747
  export interface OriginRequestPolicyConfig {
@@ -1902,9 +1895,7 @@ export interface ResponseHeadersPolicyAccessControlAllowHeaders {
1902
1895
  }
1903
1896
  export interface ResponseHeadersPolicyAccessControlAllowMethods {
1904
1897
  Quantity: number | undefined;
1905
- Items:
1906
- | (ResponseHeadersPolicyAccessControlAllowMethodsValues | string)[]
1907
- | undefined;
1898
+ Items: ResponseHeadersPolicyAccessControlAllowMethodsValues[] | undefined;
1908
1899
  }
1909
1900
  export interface ResponseHeadersPolicyAccessControlAllowOrigins {
1910
1901
  Quantity: number | undefined;
@@ -1960,7 +1951,7 @@ export type FrameOptionsList =
1960
1951
  (typeof FrameOptionsList)[keyof typeof FrameOptionsList];
1961
1952
  export interface ResponseHeadersPolicyFrameOptions {
1962
1953
  Override: boolean | undefined;
1963
- FrameOption: FrameOptionsList | string | undefined;
1954
+ FrameOption: FrameOptionsList | undefined;
1964
1955
  }
1965
1956
  export declare const ReferrerPolicyList: {
1966
1957
  readonly no_referrer: "no-referrer";
@@ -1976,7 +1967,7 @@ export type ReferrerPolicyList =
1976
1967
  (typeof ReferrerPolicyList)[keyof typeof ReferrerPolicyList];
1977
1968
  export interface ResponseHeadersPolicyReferrerPolicy {
1978
1969
  Override: boolean | undefined;
1979
- ReferrerPolicy: ReferrerPolicyList | string | undefined;
1970
+ ReferrerPolicy: ReferrerPolicyList | undefined;
1980
1971
  }
1981
1972
  export interface ResponseHeadersPolicyStrictTransportSecurity {
1982
1973
  Override: boolean | undefined;
@@ -126,7 +126,7 @@ export interface StreamingDistributionConfig {
126
126
  Comment: string | undefined;
127
127
  Logging?: StreamingLoggingConfig;
128
128
  TrustedSigners: TrustedSigners | undefined;
129
- PriceClass?: PriceClass | string;
129
+ PriceClass?: PriceClass;
130
130
  Enabled: boolean | undefined;
131
131
  }
132
132
  export interface CreateStreamingDistributionRequest {
@@ -409,7 +409,7 @@ export declare class StreamingDistributionNotDisabled extends __BaseException {
409
409
  }
410
410
  export interface DescribeFunctionRequest {
411
411
  Name: string | undefined;
412
- Stage?: FunctionStage | string;
412
+ Stage?: FunctionStage;
413
413
  }
414
414
  export interface DescribeFunctionResult {
415
415
  FunctionSummary?: FunctionSummary;
@@ -501,7 +501,7 @@ export interface GetFieldLevelEncryptionProfileConfigResult {
501
501
  }
502
502
  export interface GetFunctionRequest {
503
503
  Name: string | undefined;
504
- Stage?: FunctionStage | string;
504
+ Stage?: FunctionStage;
505
505
  }
506
506
  export interface GetFunctionResult {
507
507
  FunctionCode?: Uint8Array;
@@ -619,7 +619,7 @@ export interface GetStreamingDistributionConfigResult {
619
619
  ETag?: string;
620
620
  }
621
621
  export interface ListCachePoliciesRequest {
622
- Type?: CachePolicyType | string;
622
+ Type?: CachePolicyType;
623
623
  Marker?: string;
624
624
  MaxItems?: number;
625
625
  }
@@ -699,12 +699,12 @@ export interface DistributionSummary {
699
699
  CacheBehaviors: CacheBehaviors | undefined;
700
700
  CustomErrorResponses: CustomErrorResponses | undefined;
701
701
  Comment: string | undefined;
702
- PriceClass: PriceClass | string | undefined;
702
+ PriceClass: PriceClass | undefined;
703
703
  Enabled: boolean | undefined;
704
704
  ViewerCertificate: ViewerCertificate | undefined;
705
705
  Restrictions: Restrictions | undefined;
706
706
  WebACLId: string | undefined;
707
- HttpVersion: HttpVersion | string | undefined;
707
+ HttpVersion: HttpVersion | undefined;
708
708
  IsIPV6Enabled: boolean | undefined;
709
709
  AliasICPRecordals?: AliasICPRecordal[];
710
710
  Staging: boolean | undefined;
@@ -820,7 +820,7 @@ export interface ListFieldLevelEncryptionProfilesResult {
820
820
  export interface ListFunctionsRequest {
821
821
  Marker?: string;
822
822
  MaxItems?: number;
823
- Stage?: FunctionStage | string;
823
+ Stage?: FunctionStage;
824
824
  }
825
825
  export interface FunctionList {
826
826
  NextMarker?: string;
@@ -876,12 +876,9 @@ export interface OriginAccessControlSummary {
876
876
  Id: string | undefined;
877
877
  Description: string | undefined;
878
878
  Name: string | undefined;
879
- SigningProtocol: OriginAccessControlSigningProtocols | string | undefined;
880
- SigningBehavior: OriginAccessControlSigningBehaviors | string | undefined;
881
- OriginAccessControlOriginType:
882
- | OriginAccessControlOriginTypes
883
- | string
884
- | undefined;
879
+ SigningProtocol: OriginAccessControlSigningProtocols | undefined;
880
+ SigningBehavior: OriginAccessControlSigningBehaviors | undefined;
881
+ OriginAccessControlOriginType: OriginAccessControlOriginTypes | undefined;
885
882
  }
886
883
  export interface OriginAccessControlList {
887
884
  Marker: string | undefined;
@@ -901,12 +898,12 @@ export declare const OriginRequestPolicyType: {
901
898
  export type OriginRequestPolicyType =
902
899
  (typeof OriginRequestPolicyType)[keyof typeof OriginRequestPolicyType];
903
900
  export interface ListOriginRequestPoliciesRequest {
904
- Type?: OriginRequestPolicyType | string;
901
+ Type?: OriginRequestPolicyType;
905
902
  Marker?: string;
906
903
  MaxItems?: number;
907
904
  }
908
905
  export interface OriginRequestPolicySummary {
909
- Type: OriginRequestPolicyType | string | undefined;
906
+ Type: OriginRequestPolicyType | undefined;
910
907
  OriginRequestPolicy: OriginRequestPolicy | undefined;
911
908
  }
912
909
  export interface OriginRequestPolicyList {
@@ -959,12 +956,12 @@ export declare const ResponseHeadersPolicyType: {
959
956
  export type ResponseHeadersPolicyType =
960
957
  (typeof ResponseHeadersPolicyType)[keyof typeof ResponseHeadersPolicyType];
961
958
  export interface ListResponseHeadersPoliciesRequest {
962
- Type?: ResponseHeadersPolicyType | string;
959
+ Type?: ResponseHeadersPolicyType;
963
960
  Marker?: string;
964
961
  MaxItems?: number;
965
962
  }
966
963
  export interface ResponseHeadersPolicySummary {
967
- Type: ResponseHeadersPolicyType | string | undefined;
964
+ Type: ResponseHeadersPolicyType | undefined;
968
965
  ResponseHeadersPolicy: ResponseHeadersPolicy | undefined;
969
966
  }
970
967
  export interface ResponseHeadersPolicyList {
@@ -990,7 +987,7 @@ export interface StreamingDistributionSummary {
990
987
  Aliases: Aliases | undefined;
991
988
  TrustedSigners: TrustedSigners | undefined;
992
989
  Comment: string | undefined;
993
- PriceClass: PriceClass | string | undefined;
990
+ PriceClass: PriceClass | undefined;
994
991
  Enabled: boolean | undefined;
995
992
  }
996
993
  export interface StreamingDistributionList {
@@ -1030,7 +1027,7 @@ export declare class TestFunctionFailed extends __BaseException {
1030
1027
  export interface TestFunctionRequest {
1031
1028
  Name: string | undefined;
1032
1029
  IfMatch: string | undefined;
1033
- Stage?: FunctionStage | string;
1030
+ Stage?: FunctionStage;
1034
1031
  EventObject: Uint8Array | undefined;
1035
1032
  }
1036
1033
  export interface TestResult {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-cloudfront",
3
3
  "description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
4
- "version": "3.428.0",
4
+ "version": "3.430.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -21,29 +21,29 @@
21
21
  "dependencies": {
22
22
  "@aws-crypto/sha256-browser": "3.0.0",
23
23
  "@aws-crypto/sha256-js": "3.0.0",
24
- "@aws-sdk/client-sts": "3.428.0",
25
- "@aws-sdk/credential-provider-node": "3.428.0",
26
- "@aws-sdk/middleware-host-header": "3.428.0",
24
+ "@aws-sdk/client-sts": "3.430.0",
25
+ "@aws-sdk/credential-provider-node": "3.430.0",
26
+ "@aws-sdk/middleware-host-header": "3.429.0",
27
27
  "@aws-sdk/middleware-logger": "3.428.0",
28
28
  "@aws-sdk/middleware-recursion-detection": "3.428.0",
29
29
  "@aws-sdk/middleware-signing": "3.428.0",
30
30
  "@aws-sdk/middleware-user-agent": "3.428.0",
31
- "@aws-sdk/region-config-resolver": "3.428.0",
31
+ "@aws-sdk/region-config-resolver": "3.430.0",
32
32
  "@aws-sdk/types": "3.428.0",
33
33
  "@aws-sdk/util-endpoints": "3.428.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.428.0",
35
- "@aws-sdk/util-user-agent-node": "3.428.0",
35
+ "@aws-sdk/util-user-agent-node": "3.430.0",
36
36
  "@aws-sdk/xml-builder": "3.310.0",
37
- "@smithy/config-resolver": "^2.0.14",
37
+ "@smithy/config-resolver": "^2.0.15",
38
38
  "@smithy/fetch-http-handler": "^2.2.3",
39
39
  "@smithy/hash-node": "^2.0.11",
40
40
  "@smithy/invalid-dependency": "^2.0.11",
41
41
  "@smithy/middleware-content-length": "^2.0.13",
42
- "@smithy/middleware-endpoint": "^2.1.0",
43
- "@smithy/middleware-retry": "^2.0.16",
42
+ "@smithy/middleware-endpoint": "^2.1.2",
43
+ "@smithy/middleware-retry": "^2.0.17",
44
44
  "@smithy/middleware-serde": "^2.0.11",
45
45
  "@smithy/middleware-stack": "^2.0.5",
46
- "@smithy/node-config-provider": "^2.1.1",
46
+ "@smithy/node-config-provider": "^2.1.2",
47
47
  "@smithy/node-http-handler": "^2.1.7",
48
48
  "@smithy/protocol-http": "^3.0.7",
49
49
  "@smithy/smithy-client": "^2.1.11",
@@ -53,7 +53,7 @@
53
53
  "@smithy/util-body-length-browser": "^2.0.0",
54
54
  "@smithy/util-body-length-node": "^2.1.0",
55
55
  "@smithy/util-defaults-mode-browser": "^2.0.15",
56
- "@smithy/util-defaults-mode-node": "^2.0.19",
56
+ "@smithy/util-defaults-mode-node": "^2.0.20",
57
57
  "@smithy/util-retry": "^2.0.4",
58
58
  "@smithy/util-stream": "^2.0.16",
59
59
  "@smithy/util-utf8": "^2.0.0",