@aws-sdk/client-cloudfront 3.693.0 → 3.697.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.
- package/README.md +88 -0
- package/dist-cjs/index.js +976 -199
- package/dist-es/CloudFront.js +22 -0
- package/dist-es/commands/CreateAnycastIpListCommand.js +22 -0
- package/dist-es/commands/CreateVpcOriginCommand.js +22 -0
- package/dist-es/commands/DeleteAnycastIpListCommand.js +22 -0
- package/dist-es/commands/DeleteVpcOriginCommand.js +22 -0
- package/dist-es/commands/GetAnycastIpListCommand.js +22 -0
- package/dist-es/commands/GetVpcOriginCommand.js +22 -0
- package/dist-es/commands/ListAnycastIpListsCommand.js +22 -0
- package/dist-es/commands/ListDistributionsByAnycastIpListIdCommand.js +23 -0
- package/dist-es/commands/ListDistributionsByVpcOriginIdCommand.js +22 -0
- package/dist-es/commands/ListVpcOriginsCommand.js +22 -0
- package/dist-es/commands/UpdateVpcOriginCommand.js +22 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/models/models_0.js +78 -52
- package/dist-es/models/models_1.js +3 -13
- package/dist-es/protocols/Aws_restXml.js +630 -56
- package/dist-types/CloudFront.d.ts +79 -0
- package/dist-types/CloudFrontClient.d.ts +13 -2
- package/dist-types/commands/CopyDistributionCommand.d.ts +14 -4
- package/dist-types/commands/CreateAnycastIpListCommand.d.ts +110 -0
- package/dist-types/commands/CreateDistributionCommand.d.ts +31 -8
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +31 -8
- package/dist-types/commands/CreateKeyValueStoreCommand.d.ts +3 -3
- package/dist-types/commands/CreateVpcOriginCommand.d.ts +135 -0
- package/dist-types/commands/DeleteAnycastIpListCommand.d.ts +95 -0
- package/dist-types/commands/DeleteCachePolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteKeyValueStoreCommand.d.ts +2 -2
- package/dist-types/commands/DeleteOriginRequestPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteResponseHeadersPolicyCommand.d.ts +1 -1
- package/dist-types/commands/DeleteVpcOriginCommand.d.ts +117 -0
- package/dist-types/commands/DescribeKeyValueStoreCommand.d.ts +1 -1
- package/dist-types/commands/GetAnycastIpListCommand.d.ts +94 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +14 -4
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +14 -4
- package/dist-types/commands/GetVpcOriginCommand.d.ts +103 -0
- package/dist-types/commands/ListAnycastIpListsCommand.d.ts +100 -0
- package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +392 -0
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +10 -0
- package/dist-types/commands/ListDistributionsByVpcOriginIdCommand.d.ts +94 -0
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +10 -0
- package/dist-types/commands/ListDistributionsCommand.d.ts +10 -0
- package/dist-types/commands/ListVpcOriginsCommand.d.ts +101 -0
- package/dist-types/commands/UpdateDistributionCommand.d.ts +31 -8
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +17 -4
- package/dist-types/commands/UpdateKeyValueStoreCommand.d.ts +1 -1
- package/dist-types/commands/UpdateVpcOriginCommand.d.ts +141 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/models/models_0.d.ts +337 -314
- package/dist-types/models/models_1.d.ts +668 -24
- package/dist-types/protocols/Aws_restXml.d.ts +99 -0
- package/dist-types/ts3.4/CloudFront.d.ts +195 -0
- package/dist-types/ts3.4/CloudFrontClient.d.ts +68 -2
- package/dist-types/ts3.4/commands/CreateAnycastIpListCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateVpcOriginCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteAnycastIpListCommand.d.ts +46 -0
- package/dist-types/ts3.4/commands/DeleteVpcOriginCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetAnycastIpListCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetVpcOriginCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListAnycastIpListsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDistributionsByVpcOriginIdCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListVpcOriginsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateVpcOriginCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/models/models_0.d.ts +99 -89
- package/dist-types/ts3.4/models/models_1.d.ts +167 -13
- package/dist-types/ts3.4/protocols/Aws_restXml.d.ts +132 -0
- package/package.json +38 -38
|
@@ -320,6 +320,124 @@ export interface AllowedMethods {
|
|
|
320
320
|
*/
|
|
321
321
|
CachedMethods?: CachedMethods | undefined;
|
|
322
322
|
}
|
|
323
|
+
/**
|
|
324
|
+
* <p>An Anycast static IP list.</p>
|
|
325
|
+
* @public
|
|
326
|
+
*/
|
|
327
|
+
export interface AnycastIpList {
|
|
328
|
+
/**
|
|
329
|
+
* <p>The ID of the Anycast static IP list.</p>
|
|
330
|
+
* @public
|
|
331
|
+
*/
|
|
332
|
+
Id: string | undefined;
|
|
333
|
+
/**
|
|
334
|
+
* <p>The name of the Anycast static IP list.</p>
|
|
335
|
+
* @public
|
|
336
|
+
*/
|
|
337
|
+
Name: string | undefined;
|
|
338
|
+
/**
|
|
339
|
+
* <p>The status of the Anycast static IP list. Valid values: <code>Deployed</code>, <code>Deploying</code>, or <code>Failed</code>.</p>
|
|
340
|
+
* @public
|
|
341
|
+
*/
|
|
342
|
+
Status: string | undefined;
|
|
343
|
+
/**
|
|
344
|
+
* <p>The Amazon Resource Name (ARN) of the Anycast static IP list.</p>
|
|
345
|
+
* @public
|
|
346
|
+
*/
|
|
347
|
+
Arn: string | undefined;
|
|
348
|
+
/**
|
|
349
|
+
* <p>The static IP addresses that are allocated to the Anycast static IP list.</p>
|
|
350
|
+
* @public
|
|
351
|
+
*/
|
|
352
|
+
AnycastIps: string[] | undefined;
|
|
353
|
+
/**
|
|
354
|
+
* <p>The number of IP addresses in the Anycast static IP list.</p>
|
|
355
|
+
* @public
|
|
356
|
+
*/
|
|
357
|
+
IpCount: number | undefined;
|
|
358
|
+
/**
|
|
359
|
+
* <p>The last time the Anycast static IP list was modified.</p>
|
|
360
|
+
* @public
|
|
361
|
+
*/
|
|
362
|
+
LastModifiedTime: Date | undefined;
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* <p>An abbreviated version of the <a>AnycastIpList</a> structure. Omits the allocated static IP addresses (<a>AnycastIpList$AnycastIps</a>).</p>
|
|
366
|
+
* @public
|
|
367
|
+
*/
|
|
368
|
+
export interface AnycastIpListSummary {
|
|
369
|
+
/**
|
|
370
|
+
* <p>The ID of the Anycast static IP list.</p>
|
|
371
|
+
* @public
|
|
372
|
+
*/
|
|
373
|
+
Id: string | undefined;
|
|
374
|
+
/**
|
|
375
|
+
* <p>The name of the Anycast static IP list.</p>
|
|
376
|
+
* @public
|
|
377
|
+
*/
|
|
378
|
+
Name: string | undefined;
|
|
379
|
+
/**
|
|
380
|
+
* <p>The deployment status of the Anycast static IP list. Valid values: Deployed, Deploying, or Failed.</p>
|
|
381
|
+
* @public
|
|
382
|
+
*/
|
|
383
|
+
Status: string | undefined;
|
|
384
|
+
/**
|
|
385
|
+
* <p>The Amazon Resource Name (ARN) of the Anycast static IP list.</p>
|
|
386
|
+
* @public
|
|
387
|
+
*/
|
|
388
|
+
Arn: string | undefined;
|
|
389
|
+
/**
|
|
390
|
+
* <p>The number of IP addresses in the Anycast static IP list.</p>
|
|
391
|
+
* @public
|
|
392
|
+
*/
|
|
393
|
+
IpCount: number | undefined;
|
|
394
|
+
/**
|
|
395
|
+
* <p>The last time the Anycast static IP list was modified.</p>
|
|
396
|
+
* @public
|
|
397
|
+
*/
|
|
398
|
+
LastModifiedTime: Date | undefined;
|
|
399
|
+
}
|
|
400
|
+
/**
|
|
401
|
+
* <p>The Anycast static IP list collection.</p>
|
|
402
|
+
* @public
|
|
403
|
+
*/
|
|
404
|
+
export interface AnycastIpListCollection {
|
|
405
|
+
/**
|
|
406
|
+
* <p>Items in the Anycast static IP list collection. Each item is of the <a>AnycastIpListSummary</a> structure type.</p>
|
|
407
|
+
* @public
|
|
408
|
+
*/
|
|
409
|
+
Items?: AnycastIpListSummary[] | undefined;
|
|
410
|
+
/**
|
|
411
|
+
* <p>Use this field when paginating results to indicate where to begin in your list. The response includes items in the list that occur
|
|
412
|
+
* after the marker. To get the next page of the list, set this field's value to the value
|
|
413
|
+
* of <code>NextMarker</code> from the current page's response.</p>
|
|
414
|
+
* @public
|
|
415
|
+
*/
|
|
416
|
+
Marker: string | undefined;
|
|
417
|
+
/**
|
|
418
|
+
* <p>Indicates the next page of the Anycast static IP list collection. To get the next page of the
|
|
419
|
+
* list, use this value in the <code>Marker</code> field of your request.</p>
|
|
420
|
+
* @public
|
|
421
|
+
*/
|
|
422
|
+
NextMarker?: string | undefined;
|
|
423
|
+
/**
|
|
424
|
+
* <p>The maximum number of Anycast static IP list collections that you want returned in the
|
|
425
|
+
* response.</p>
|
|
426
|
+
* @public
|
|
427
|
+
*/
|
|
428
|
+
MaxItems: number | undefined;
|
|
429
|
+
/**
|
|
430
|
+
* <p>If there are more items in the list collection than are in this response, this value is
|
|
431
|
+
* <code>true</code>.</p>
|
|
432
|
+
* @public
|
|
433
|
+
*/
|
|
434
|
+
IsTruncated: boolean | undefined;
|
|
435
|
+
/**
|
|
436
|
+
* <p>The quantity of Anycast static IP lists in the collection.</p>
|
|
437
|
+
* @public
|
|
438
|
+
*/
|
|
439
|
+
Quantity: number | undefined;
|
|
440
|
+
}
|
|
323
441
|
/**
|
|
324
442
|
* @public
|
|
325
443
|
*/
|
|
@@ -670,6 +788,23 @@ export interface FunctionAssociations {
|
|
|
670
788
|
*/
|
|
671
789
|
Items?: FunctionAssociation[] | undefined;
|
|
672
790
|
}
|
|
791
|
+
/**
|
|
792
|
+
* <p>Amazon CloudFront supports gRPC, an open-source remote procedure call (RPC) framework built on
|
|
793
|
+
* HTTP/2. gRPC offers bi-directional streaming and binary protocol that buffers payloads,
|
|
794
|
+
* making it suitable for applications that require low latency communications.</p>
|
|
795
|
+
* <p>To enable your distribution to handle gRPC requests, you must include HTTP/2 as one of the supported <code>HTTP</code> versions and allow <code>HTTP</code> methods, including <code>POST</code>.</p>
|
|
796
|
+
* <p>For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/distribution-using-grpc.html">Using gRPC with CloudFront distributions</a> in the
|
|
797
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
798
|
+
* @public
|
|
799
|
+
*/
|
|
800
|
+
export interface GrpcConfig {
|
|
801
|
+
/**
|
|
802
|
+
* <p>Enables your CloudFront distribution to receive gRPC requests and to proxy them directly to your
|
|
803
|
+
* origins.</p>
|
|
804
|
+
* @public
|
|
805
|
+
*/
|
|
806
|
+
Enabled: boolean | undefined;
|
|
807
|
+
}
|
|
673
808
|
/**
|
|
674
809
|
* <p>A complex type that contains a Lambda@Edge function association.</p>
|
|
675
810
|
* @public
|
|
@@ -1011,6 +1146,11 @@ export interface CacheBehavior {
|
|
|
1011
1146
|
* @public
|
|
1012
1147
|
*/
|
|
1013
1148
|
ResponseHeadersPolicyId?: string | undefined;
|
|
1149
|
+
/**
|
|
1150
|
+
* <p>The gRPC configuration for your cache behavior.</p>
|
|
1151
|
+
* @public
|
|
1152
|
+
*/
|
|
1153
|
+
GrpcConfig?: GrpcConfig | undefined;
|
|
1014
1154
|
/**
|
|
1015
1155
|
* @deprecated
|
|
1016
1156
|
*
|
|
@@ -1612,7 +1752,7 @@ export declare class CannotChangeImmutablePublicKeyFields extends __BaseExceptio
|
|
|
1612
1752
|
constructor(opts: __ExceptionOptionType<CannotChangeImmutablePublicKeyFields, __BaseException>);
|
|
1613
1753
|
}
|
|
1614
1754
|
/**
|
|
1615
|
-
* <p>The
|
|
1755
|
+
* <p>The entity cannot be deleted while it is in use.</p>
|
|
1616
1756
|
* @public
|
|
1617
1757
|
*/
|
|
1618
1758
|
export declare class CannotDeleteEntityWhileInUse extends __BaseException {
|
|
@@ -1624,6 +1764,19 @@ export declare class CannotDeleteEntityWhileInUse extends __BaseException {
|
|
|
1624
1764
|
*/
|
|
1625
1765
|
constructor(opts: __ExceptionOptionType<CannotDeleteEntityWhileInUse, __BaseException>);
|
|
1626
1766
|
}
|
|
1767
|
+
/**
|
|
1768
|
+
* <p>The entity cannot be updated while it is in use.</p>
|
|
1769
|
+
* @public
|
|
1770
|
+
*/
|
|
1771
|
+
export declare class CannotUpdateEntityWhileInUse extends __BaseException {
|
|
1772
|
+
readonly name: "CannotUpdateEntityWhileInUse";
|
|
1773
|
+
readonly $fault: "client";
|
|
1774
|
+
Message?: string | undefined;
|
|
1775
|
+
/**
|
|
1776
|
+
* @internal
|
|
1777
|
+
*/
|
|
1778
|
+
constructor(opts: __ExceptionOptionType<CannotUpdateEntityWhileInUse, __BaseException>);
|
|
1779
|
+
}
|
|
1627
1780
|
/**
|
|
1628
1781
|
* @public
|
|
1629
1782
|
* @enum
|
|
@@ -1980,6 +2133,11 @@ export interface DefaultCacheBehavior {
|
|
|
1980
2133
|
* @public
|
|
1981
2134
|
*/
|
|
1982
2135
|
ResponseHeadersPolicyId?: string | undefined;
|
|
2136
|
+
/**
|
|
2137
|
+
* <p>The gRPC configuration for your cache behavior.</p>
|
|
2138
|
+
* @public
|
|
2139
|
+
*/
|
|
2140
|
+
GrpcConfig?: GrpcConfig | undefined;
|
|
1983
2141
|
/**
|
|
1984
2142
|
* @deprecated
|
|
1985
2143
|
*
|
|
@@ -2064,22 +2222,31 @@ export declare const HttpVersion: {
|
|
|
2064
2222
|
*/
|
|
2065
2223
|
export type HttpVersion = (typeof HttpVersion)[keyof typeof HttpVersion];
|
|
2066
2224
|
/**
|
|
2067
|
-
* <p>A complex type that
|
|
2068
|
-
*
|
|
2225
|
+
* <p>A complex type that specifies whether access logs are written for the distribution.</p>
|
|
2226
|
+
* <note>
|
|
2227
|
+
* <p>If you already enabled standard logging (legacy) and you want to enable standard logging
|
|
2228
|
+
* (v2) to send your access logs to Amazon S3, we recommend that you specify a
|
|
2229
|
+
* <i>different</i> Amazon S3 bucket or use a <i>separate
|
|
2230
|
+
* path</i> in the same bucket (for example, use a log prefix or
|
|
2231
|
+
* partitioning). This helps you keep track of which log files are associated with
|
|
2232
|
+
* which logging subscription and prevents log files from overwriting each other. For
|
|
2233
|
+
* more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/AccessLogs.html">Standard logging (access logs)</a> in the
|
|
2234
|
+
* <i>Amazon CloudFront Developer Guide</i>.</p>
|
|
2235
|
+
* </note>
|
|
2069
2236
|
* @public
|
|
2070
2237
|
*/
|
|
2071
2238
|
export interface LoggingConfig {
|
|
2072
2239
|
/**
|
|
2073
|
-
* <p>Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't
|
|
2074
|
-
*
|
|
2075
|
-
*
|
|
2076
|
-
*
|
|
2240
|
+
* <p>Specifies whether you want CloudFront to save access logs to an Amazon S3 bucket. If you don't want to
|
|
2241
|
+
* enable logging when you create a distribution or if you want to disable logging for an
|
|
2242
|
+
* existing distribution, specify <code>false</code> for <code>Enabled</code>, and specify
|
|
2243
|
+
* empty <code>Bucket</code> and <code>Prefix</code> elements. If you specify
|
|
2077
2244
|
* <code>false</code> for <code>Enabled</code> but you specify values for
|
|
2078
|
-
* <code>Bucket</code
|
|
2079
|
-
*
|
|
2245
|
+
* <code>Bucket</code> and <code>prefix</code>, the values are automatically
|
|
2246
|
+
* deleted.</p>
|
|
2080
2247
|
* @public
|
|
2081
2248
|
*/
|
|
2082
|
-
Enabled
|
|
2249
|
+
Enabled?: boolean | undefined;
|
|
2083
2250
|
/**
|
|
2084
2251
|
* <p>Specifies whether you want CloudFront to include cookies in access logs, specify
|
|
2085
2252
|
* <code>true</code> for <code>IncludeCookies</code>. If you choose to include cookies
|
|
@@ -2089,13 +2256,13 @@ export interface LoggingConfig {
|
|
|
2089
2256
|
* <code>false</code> for <code>IncludeCookies</code>.</p>
|
|
2090
2257
|
* @public
|
|
2091
2258
|
*/
|
|
2092
|
-
IncludeCookies
|
|
2259
|
+
IncludeCookies?: boolean | undefined;
|
|
2093
2260
|
/**
|
|
2094
2261
|
* <p>The Amazon S3 bucket to store the access logs in, for example,
|
|
2095
|
-
* <code>
|
|
2262
|
+
* <code>amzn-s3-demo-bucket.s3.amazonaws.com</code>.</p>
|
|
2096
2263
|
* @public
|
|
2097
2264
|
*/
|
|
2098
|
-
Bucket
|
|
2265
|
+
Bucket?: string | undefined;
|
|
2099
2266
|
/**
|
|
2100
2267
|
* <p>An optional string that you want CloudFront to prefix to the access log
|
|
2101
2268
|
* <code>filenames</code> for this distribution, for example, <code>myprefix/</code>.
|
|
@@ -2103,7 +2270,7 @@ export interface LoggingConfig {
|
|
|
2103
2270
|
* include an empty <code>Prefix</code> element in the <code>Logging</code> element.</p>
|
|
2104
2271
|
* @public
|
|
2105
2272
|
*/
|
|
2106
|
-
Prefix
|
|
2273
|
+
Prefix?: string | undefined;
|
|
2107
2274
|
}
|
|
2108
2275
|
/**
|
|
2109
2276
|
* <p>A complex data type for the status codes that you specify that, when returned by a
|
|
@@ -2428,6 +2595,17 @@ export interface S3OriginConfig {
|
|
|
2428
2595
|
*/
|
|
2429
2596
|
OriginAccessIdentity: string | undefined;
|
|
2430
2597
|
}
|
|
2598
|
+
/**
|
|
2599
|
+
* <p>An Amazon CloudFront VPC origin configuration.</p>
|
|
2600
|
+
* @public
|
|
2601
|
+
*/
|
|
2602
|
+
export interface VpcOriginConfig {
|
|
2603
|
+
/**
|
|
2604
|
+
* <p>The VPC origin ID.</p>
|
|
2605
|
+
* @public
|
|
2606
|
+
*/
|
|
2607
|
+
VpcOriginId: string | undefined;
|
|
2608
|
+
}
|
|
2431
2609
|
/**
|
|
2432
2610
|
* <p>An origin.</p>
|
|
2433
2611
|
* <p>An origin is the location where content is stored, and from which CloudFront gets content to
|
|
@@ -2513,6 +2691,11 @@ export interface Origin {
|
|
|
2513
2691
|
* @public
|
|
2514
2692
|
*/
|
|
2515
2693
|
CustomOriginConfig?: CustomOriginConfig | undefined;
|
|
2694
|
+
/**
|
|
2695
|
+
* <p>The VPC origin configuration.</p>
|
|
2696
|
+
* @public
|
|
2697
|
+
*/
|
|
2698
|
+
VpcOriginConfig?: VpcOriginConfig | undefined;
|
|
2516
2699
|
/**
|
|
2517
2700
|
* <p>The number of times that CloudFront attempts to connect to the origin. The minimum number is
|
|
2518
2701
|
* 1, the maximum is 3, and the default (if you don't specify otherwise) is 3.</p>
|
|
@@ -3110,6 +3293,11 @@ export interface DistributionConfig {
|
|
|
3110
3293
|
* @public
|
|
3111
3294
|
*/
|
|
3112
3295
|
Staging?: boolean | undefined;
|
|
3296
|
+
/**
|
|
3297
|
+
* <p>ID of the Anycast static IP list that is associated with the distribution.</p>
|
|
3298
|
+
* @public
|
|
3299
|
+
*/
|
|
3300
|
+
AnycastIpListId?: string | undefined;
|
|
3113
3301
|
}
|
|
3114
3302
|
/**
|
|
3115
3303
|
* <p>A distribution tells CloudFront where you want content to be delivered from, and the details
|
|
@@ -4010,6 +4198,127 @@ export declare class TrustedSignerDoesNotExist extends __BaseException {
|
|
|
4010
4198
|
*/
|
|
4011
4199
|
constructor(opts: __ExceptionOptionType<TrustedSignerDoesNotExist, __BaseException>);
|
|
4012
4200
|
}
|
|
4201
|
+
/**
|
|
4202
|
+
* <p>A complex type that contains <code>Tag</code> key and <code>Tag</code> value.</p>
|
|
4203
|
+
* @public
|
|
4204
|
+
*/
|
|
4205
|
+
export interface Tag {
|
|
4206
|
+
/**
|
|
4207
|
+
* <p>A string that contains <code>Tag</code> key.</p>
|
|
4208
|
+
* <p>The string length should be between 1 and 128 characters. Valid characters include
|
|
4209
|
+
* <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, space, and the special
|
|
4210
|
+
* characters <code>_ - . : / = + @</code>.</p>
|
|
4211
|
+
* @public
|
|
4212
|
+
*/
|
|
4213
|
+
Key: string | undefined;
|
|
4214
|
+
/**
|
|
4215
|
+
* <p>A string that contains an optional <code>Tag</code> value.</p>
|
|
4216
|
+
* <p>The string length should be between 0 and 256 characters. Valid characters include
|
|
4217
|
+
* <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, space, and the special
|
|
4218
|
+
* characters <code>_ - . : / = + @</code>.</p>
|
|
4219
|
+
* @public
|
|
4220
|
+
*/
|
|
4221
|
+
Value?: string | undefined;
|
|
4222
|
+
}
|
|
4223
|
+
/**
|
|
4224
|
+
* <p>A complex type that contains zero or more <code>Tag</code> elements.</p>
|
|
4225
|
+
* @public
|
|
4226
|
+
*/
|
|
4227
|
+
export interface Tags {
|
|
4228
|
+
/**
|
|
4229
|
+
* <p>A complex type that contains <code>Tag</code> elements.</p>
|
|
4230
|
+
* @public
|
|
4231
|
+
*/
|
|
4232
|
+
Items?: Tag[] | undefined;
|
|
4233
|
+
}
|
|
4234
|
+
/**
|
|
4235
|
+
* @public
|
|
4236
|
+
*/
|
|
4237
|
+
export interface CreateAnycastIpListRequest {
|
|
4238
|
+
/**
|
|
4239
|
+
* <p>Name of the Anycast static IP list.</p>
|
|
4240
|
+
* @public
|
|
4241
|
+
*/
|
|
4242
|
+
Name: string | undefined;
|
|
4243
|
+
/**
|
|
4244
|
+
* <p>The number of static IP addresses that are allocated to the Anycast static IP list.</p>
|
|
4245
|
+
* @public
|
|
4246
|
+
*/
|
|
4247
|
+
IpCount: number | undefined;
|
|
4248
|
+
/**
|
|
4249
|
+
* <p>A complex type that contains zero or more <code>Tag</code> elements.</p>
|
|
4250
|
+
* @public
|
|
4251
|
+
*/
|
|
4252
|
+
Tags?: Tags | undefined;
|
|
4253
|
+
}
|
|
4254
|
+
/**
|
|
4255
|
+
* @public
|
|
4256
|
+
*/
|
|
4257
|
+
export interface CreateAnycastIpListResult {
|
|
4258
|
+
/**
|
|
4259
|
+
* <p>A response structure that includes the version identifier (ETag) and the created <a>AnycastIpList</a> structure.</p>
|
|
4260
|
+
* @public
|
|
4261
|
+
*/
|
|
4262
|
+
AnycastIpList?: AnycastIpList | undefined;
|
|
4263
|
+
/**
|
|
4264
|
+
* <p>The version identifier for the current version of the Anycast static IP list.</p>
|
|
4265
|
+
* @public
|
|
4266
|
+
*/
|
|
4267
|
+
ETag?: string | undefined;
|
|
4268
|
+
}
|
|
4269
|
+
/**
|
|
4270
|
+
* <p>The entity already exists. You must provide a unique
|
|
4271
|
+
* entity.</p>
|
|
4272
|
+
* @public
|
|
4273
|
+
*/
|
|
4274
|
+
export declare class EntityAlreadyExists extends __BaseException {
|
|
4275
|
+
readonly name: "EntityAlreadyExists";
|
|
4276
|
+
readonly $fault: "client";
|
|
4277
|
+
Message?: string | undefined;
|
|
4278
|
+
/**
|
|
4279
|
+
* @internal
|
|
4280
|
+
*/
|
|
4281
|
+
constructor(opts: __ExceptionOptionType<EntityAlreadyExists, __BaseException>);
|
|
4282
|
+
}
|
|
4283
|
+
/**
|
|
4284
|
+
* <p>The entity limit has been exceeded.</p>
|
|
4285
|
+
* @public
|
|
4286
|
+
*/
|
|
4287
|
+
export declare class EntityLimitExceeded extends __BaseException {
|
|
4288
|
+
readonly name: "EntityLimitExceeded";
|
|
4289
|
+
readonly $fault: "client";
|
|
4290
|
+
Message?: string | undefined;
|
|
4291
|
+
/**
|
|
4292
|
+
* @internal
|
|
4293
|
+
*/
|
|
4294
|
+
constructor(opts: __ExceptionOptionType<EntityLimitExceeded, __BaseException>);
|
|
4295
|
+
}
|
|
4296
|
+
/**
|
|
4297
|
+
* <p>The tagging specified is not valid.</p>
|
|
4298
|
+
* @public
|
|
4299
|
+
*/
|
|
4300
|
+
export declare class InvalidTagging extends __BaseException {
|
|
4301
|
+
readonly name: "InvalidTagging";
|
|
4302
|
+
readonly $fault: "client";
|
|
4303
|
+
Message?: string | undefined;
|
|
4304
|
+
/**
|
|
4305
|
+
* @internal
|
|
4306
|
+
*/
|
|
4307
|
+
constructor(opts: __ExceptionOptionType<InvalidTagging, __BaseException>);
|
|
4308
|
+
}
|
|
4309
|
+
/**
|
|
4310
|
+
* <p>This operation is not supported in this region.</p>
|
|
4311
|
+
* @public
|
|
4312
|
+
*/
|
|
4313
|
+
export declare class UnsupportedOperation extends __BaseException {
|
|
4314
|
+
readonly name: "UnsupportedOperation";
|
|
4315
|
+
readonly $fault: "client";
|
|
4316
|
+
Message?: string | undefined;
|
|
4317
|
+
/**
|
|
4318
|
+
* @internal
|
|
4319
|
+
*/
|
|
4320
|
+
constructor(opts: __ExceptionOptionType<UnsupportedOperation, __BaseException>);
|
|
4321
|
+
}
|
|
4013
4322
|
/**
|
|
4014
4323
|
* @public
|
|
4015
4324
|
*/
|
|
@@ -4497,6 +4806,19 @@ export interface CreateDistributionResult {
|
|
|
4497
4806
|
*/
|
|
4498
4807
|
ETag?: string | undefined;
|
|
4499
4808
|
}
|
|
4809
|
+
/**
|
|
4810
|
+
* <p>The entity was not found.</p>
|
|
4811
|
+
* @public
|
|
4812
|
+
*/
|
|
4813
|
+
export declare class EntityNotFound extends __BaseException {
|
|
4814
|
+
readonly name: "EntityNotFound";
|
|
4815
|
+
readonly $fault: "client";
|
|
4816
|
+
Message?: string | undefined;
|
|
4817
|
+
/**
|
|
4818
|
+
* @internal
|
|
4819
|
+
*/
|
|
4820
|
+
constructor(opts: __ExceptionOptionType<EntityNotFound, __BaseException>);
|
|
4821
|
+
}
|
|
4500
4822
|
/**
|
|
4501
4823
|
* <p>An origin cannot contain both an origin access control (OAC) and an origin access
|
|
4502
4824
|
* identity (OAI).</p>
|
|
@@ -4538,39 +4860,6 @@ export declare class NoSuchContinuousDeploymentPolicy extends __BaseException {
|
|
|
4538
4860
|
*/
|
|
4539
4861
|
constructor(opts: __ExceptionOptionType<NoSuchContinuousDeploymentPolicy, __BaseException>);
|
|
4540
4862
|
}
|
|
4541
|
-
/**
|
|
4542
|
-
* <p>A complex type that contains <code>Tag</code> key and <code>Tag</code> value.</p>
|
|
4543
|
-
* @public
|
|
4544
|
-
*/
|
|
4545
|
-
export interface Tag {
|
|
4546
|
-
/**
|
|
4547
|
-
* <p>A string that contains <code>Tag</code> key.</p>
|
|
4548
|
-
* <p>The string length should be between 1 and 128 characters. Valid characters include
|
|
4549
|
-
* <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, space, and the special
|
|
4550
|
-
* characters <code>_ - . : / = + @</code>.</p>
|
|
4551
|
-
* @public
|
|
4552
|
-
*/
|
|
4553
|
-
Key: string | undefined;
|
|
4554
|
-
/**
|
|
4555
|
-
* <p>A string that contains an optional <code>Tag</code> value.</p>
|
|
4556
|
-
* <p>The string length should be between 0 and 256 characters. Valid characters include
|
|
4557
|
-
* <code>a-z</code>, <code>A-Z</code>, <code>0-9</code>, space, and the special
|
|
4558
|
-
* characters <code>_ - . : / = + @</code>.</p>
|
|
4559
|
-
* @public
|
|
4560
|
-
*/
|
|
4561
|
-
Value?: string | undefined;
|
|
4562
|
-
}
|
|
4563
|
-
/**
|
|
4564
|
-
* <p>A complex type that contains zero or more <code>Tag</code> elements.</p>
|
|
4565
|
-
* @public
|
|
4566
|
-
*/
|
|
4567
|
-
export interface Tags {
|
|
4568
|
-
/**
|
|
4569
|
-
* <p>A complex type that contains <code>Tag</code> elements.</p>
|
|
4570
|
-
* @public
|
|
4571
|
-
*/
|
|
4572
|
-
Items?: Tag[] | undefined;
|
|
4573
|
-
}
|
|
4574
4863
|
/**
|
|
4575
4864
|
* <p>A distribution Configuration and a list of tags to be associated with the
|
|
4576
4865
|
* distribution.</p>
|
|
@@ -4620,19 +4909,6 @@ export interface CreateDistributionWithTagsResult {
|
|
|
4620
4909
|
*/
|
|
4621
4910
|
ETag?: string | undefined;
|
|
4622
4911
|
}
|
|
4623
|
-
/**
|
|
4624
|
-
* <p>The tagging specified is not valid.</p>
|
|
4625
|
-
* @public
|
|
4626
|
-
*/
|
|
4627
|
-
export declare class InvalidTagging extends __BaseException {
|
|
4628
|
-
readonly name: "InvalidTagging";
|
|
4629
|
-
readonly $fault: "client";
|
|
4630
|
-
Message?: string | undefined;
|
|
4631
|
-
/**
|
|
4632
|
-
* @internal
|
|
4633
|
-
*/
|
|
4634
|
-
constructor(opts: __ExceptionOptionType<InvalidTagging, __BaseException>);
|
|
4635
|
-
}
|
|
4636
4912
|
/**
|
|
4637
4913
|
* @public
|
|
4638
4914
|
* @enum
|
|
@@ -5365,19 +5641,6 @@ export declare class TooManyFunctions extends __BaseException {
|
|
|
5365
5641
|
*/
|
|
5366
5642
|
constructor(opts: __ExceptionOptionType<TooManyFunctions, __BaseException>);
|
|
5367
5643
|
}
|
|
5368
|
-
/**
|
|
5369
|
-
* <p>This operation is not supported in this region.</p>
|
|
5370
|
-
* @public
|
|
5371
|
-
*/
|
|
5372
|
-
export declare class UnsupportedOperation extends __BaseException {
|
|
5373
|
-
readonly name: "UnsupportedOperation";
|
|
5374
|
-
readonly $fault: "client";
|
|
5375
|
-
Message?: string | undefined;
|
|
5376
|
-
/**
|
|
5377
|
-
* @internal
|
|
5378
|
-
*/
|
|
5379
|
-
constructor(opts: __ExceptionOptionType<UnsupportedOperation, __BaseException>);
|
|
5380
|
-
}
|
|
5381
5644
|
/**
|
|
5382
5645
|
* <p>A complex type that contains information about the objects that you want to
|
|
5383
5646
|
* invalidate. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/Invalidation.html#invalidation-specifying-objects">Specifying the Objects to Invalidate</a> in the
|
|
@@ -5729,34 +5992,7 @@ export interface CreateKeyValueStoreResult {
|
|
|
5729
5992
|
Location?: string | undefined;
|
|
5730
5993
|
}
|
|
5731
5994
|
/**
|
|
5732
|
-
* <p>The
|
|
5733
|
-
* entity.</p>
|
|
5734
|
-
* @public
|
|
5735
|
-
*/
|
|
5736
|
-
export declare class EntityAlreadyExists extends __BaseException {
|
|
5737
|
-
readonly name: "EntityAlreadyExists";
|
|
5738
|
-
readonly $fault: "client";
|
|
5739
|
-
Message?: string | undefined;
|
|
5740
|
-
/**
|
|
5741
|
-
* @internal
|
|
5742
|
-
*/
|
|
5743
|
-
constructor(opts: __ExceptionOptionType<EntityAlreadyExists, __BaseException>);
|
|
5744
|
-
}
|
|
5745
|
-
/**
|
|
5746
|
-
* <p>The key value store entity limit has been exceeded.</p>
|
|
5747
|
-
* @public
|
|
5748
|
-
*/
|
|
5749
|
-
export declare class EntityLimitExceeded extends __BaseException {
|
|
5750
|
-
readonly name: "EntityLimitExceeded";
|
|
5751
|
-
readonly $fault: "client";
|
|
5752
|
-
Message?: string | undefined;
|
|
5753
|
-
/**
|
|
5754
|
-
* @internal
|
|
5755
|
-
*/
|
|
5756
|
-
constructor(opts: __ExceptionOptionType<EntityLimitExceeded, __BaseException>);
|
|
5757
|
-
}
|
|
5758
|
-
/**
|
|
5759
|
-
* <p>The key value store entity size limit was exceeded.</p>
|
|
5995
|
+
* <p>The entity size limit was exceeded.</p>
|
|
5760
5996
|
* @public
|
|
5761
5997
|
*/
|
|
5762
5998
|
export declare class EntitySizeLimitExceeded extends __BaseException {
|
|
@@ -6762,219 +6998,6 @@ export interface ResponseHeadersPolicyAccessControlAllowMethods {
|
|
|
6762
6998
|
*/
|
|
6763
6999
|
Items: ResponseHeadersPolicyAccessControlAllowMethodsValues[] | undefined;
|
|
6764
7000
|
}
|
|
6765
|
-
/**
|
|
6766
|
-
* <p>A list of origins (domain names) that CloudFront can use as the value for the
|
|
6767
|
-
* <code>Access-Control-Allow-Origin</code> HTTP response header.</p>
|
|
6768
|
-
* <p>For more information about the <code>Access-Control-Allow-Origin</code> HTTP response
|
|
6769
|
-
* header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin">Access-Control-Allow-Origin</a> in the MDN Web Docs.</p>
|
|
6770
|
-
* @public
|
|
6771
|
-
*/
|
|
6772
|
-
export interface ResponseHeadersPolicyAccessControlAllowOrigins {
|
|
6773
|
-
/**
|
|
6774
|
-
* <p>The number of origins in the list.</p>
|
|
6775
|
-
* @public
|
|
6776
|
-
*/
|
|
6777
|
-
Quantity: number | undefined;
|
|
6778
|
-
/**
|
|
6779
|
-
* <p>The list of origins (domain names). You can specify <code>*</code> to allow all
|
|
6780
|
-
* origins.</p>
|
|
6781
|
-
* @public
|
|
6782
|
-
*/
|
|
6783
|
-
Items: string[] | undefined;
|
|
6784
|
-
}
|
|
6785
|
-
/**
|
|
6786
|
-
* <p>A list of HTTP headers that CloudFront includes as values for the
|
|
6787
|
-
* <code>Access-Control-Expose-Headers</code> HTTP response header.</p>
|
|
6788
|
-
* <p>For more information about the <code>Access-Control-Expose-Headers</code> HTTP
|
|
6789
|
-
* response header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers">Access-Control-Expose-Headers</a> in the MDN Web Docs.</p>
|
|
6790
|
-
* @public
|
|
6791
|
-
*/
|
|
6792
|
-
export interface ResponseHeadersPolicyAccessControlExposeHeaders {
|
|
6793
|
-
/**
|
|
6794
|
-
* <p>The number of HTTP headers in the list.</p>
|
|
6795
|
-
* @public
|
|
6796
|
-
*/
|
|
6797
|
-
Quantity: number | undefined;
|
|
6798
|
-
/**
|
|
6799
|
-
* <p>The list of HTTP headers. You can specify <code>*</code> to expose all headers.</p>
|
|
6800
|
-
* @public
|
|
6801
|
-
*/
|
|
6802
|
-
Items?: string[] | undefined;
|
|
6803
|
-
}
|
|
6804
|
-
/**
|
|
6805
|
-
* <p>A configuration for a set of HTTP response headers that are used for cross-origin
|
|
6806
|
-
* resource sharing (CORS). CloudFront adds these headers to HTTP responses that it sends for
|
|
6807
|
-
* CORS requests that match a cache behavior associated with this response headers
|
|
6808
|
-
* policy.</p>
|
|
6809
|
-
* <p>For more information about CORS, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS">Cross-Origin Resource
|
|
6810
|
-
* Sharing (CORS)</a> in the MDN Web Docs.</p>
|
|
6811
|
-
* @public
|
|
6812
|
-
*/
|
|
6813
|
-
export interface ResponseHeadersPolicyCorsConfig {
|
|
6814
|
-
/**
|
|
6815
|
-
* <p>A list of origins (domain names) that CloudFront can use as the value for the
|
|
6816
|
-
* <code>Access-Control-Allow-Origin</code> HTTP response header.</p>
|
|
6817
|
-
* <p>For more information about the <code>Access-Control-Allow-Origin</code> HTTP response
|
|
6818
|
-
* header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin">Access-Control-Allow-Origin</a> in the MDN Web Docs.</p>
|
|
6819
|
-
* @public
|
|
6820
|
-
*/
|
|
6821
|
-
AccessControlAllowOrigins: ResponseHeadersPolicyAccessControlAllowOrigins | undefined;
|
|
6822
|
-
/**
|
|
6823
|
-
* <p>A list of HTTP header names that CloudFront includes as values for the
|
|
6824
|
-
* <code>Access-Control-Allow-Headers</code> HTTP response header.</p>
|
|
6825
|
-
* <p>For more information about the <code>Access-Control-Allow-Headers</code> HTTP response
|
|
6826
|
-
* header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Headers">Access-Control-Allow-Headers</a> in the MDN Web Docs.</p>
|
|
6827
|
-
* @public
|
|
6828
|
-
*/
|
|
6829
|
-
AccessControlAllowHeaders: ResponseHeadersPolicyAccessControlAllowHeaders | undefined;
|
|
6830
|
-
/**
|
|
6831
|
-
* <p>A list of HTTP methods that CloudFront includes as values for the
|
|
6832
|
-
* <code>Access-Control-Allow-Methods</code> HTTP response header.</p>
|
|
6833
|
-
* <p>For more information about the <code>Access-Control-Allow-Methods</code> HTTP response
|
|
6834
|
-
* header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Methods">Access-Control-Allow-Methods</a> in the MDN Web Docs.</p>
|
|
6835
|
-
* @public
|
|
6836
|
-
*/
|
|
6837
|
-
AccessControlAllowMethods: ResponseHeadersPolicyAccessControlAllowMethods | undefined;
|
|
6838
|
-
/**
|
|
6839
|
-
* <p>A Boolean that CloudFront uses as the value for the
|
|
6840
|
-
* <code>Access-Control-Allow-Credentials</code> HTTP response header.</p>
|
|
6841
|
-
* <p>For more information about the <code>Access-Control-Allow-Credentials</code> HTTP
|
|
6842
|
-
* response header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Credentials">Access-Control-Allow-Credentials</a> in the MDN Web Docs.</p>
|
|
6843
|
-
* @public
|
|
6844
|
-
*/
|
|
6845
|
-
AccessControlAllowCredentials: boolean | undefined;
|
|
6846
|
-
/**
|
|
6847
|
-
* <p>A list of HTTP headers that CloudFront includes as values for the
|
|
6848
|
-
* <code>Access-Control-Expose-Headers</code> HTTP response header.</p>
|
|
6849
|
-
* <p>For more information about the <code>Access-Control-Expose-Headers</code> HTTP
|
|
6850
|
-
* response header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Expose-Headers">Access-Control-Expose-Headers</a> in the MDN Web Docs.</p>
|
|
6851
|
-
* @public
|
|
6852
|
-
*/
|
|
6853
|
-
AccessControlExposeHeaders?: ResponseHeadersPolicyAccessControlExposeHeaders | undefined;
|
|
6854
|
-
/**
|
|
6855
|
-
* <p>A number that CloudFront uses as the value for the <code>Access-Control-Max-Age</code> HTTP
|
|
6856
|
-
* response header.</p>
|
|
6857
|
-
* <p>For more information about the <code>Access-Control-Max-Age</code> HTTP response
|
|
6858
|
-
* header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Max-Age">Access-Control-Max-Age</a> in the MDN Web Docs.</p>
|
|
6859
|
-
* @public
|
|
6860
|
-
*/
|
|
6861
|
-
AccessControlMaxAgeSec?: number | undefined;
|
|
6862
|
-
/**
|
|
6863
|
-
* <p>A Boolean that determines whether CloudFront overrides HTTP response headers received from
|
|
6864
|
-
* the origin with the ones specified in this response headers policy.</p>
|
|
6865
|
-
* @public
|
|
6866
|
-
*/
|
|
6867
|
-
OriginOverride: boolean | undefined;
|
|
6868
|
-
}
|
|
6869
|
-
/**
|
|
6870
|
-
* <p>An HTTP response header name and its value. CloudFront includes this header in HTTP
|
|
6871
|
-
* responses that it sends for requests that match a cache behavior that's associated with
|
|
6872
|
-
* this response headers policy.</p>
|
|
6873
|
-
* @public
|
|
6874
|
-
*/
|
|
6875
|
-
export interface ResponseHeadersPolicyCustomHeader {
|
|
6876
|
-
/**
|
|
6877
|
-
* <p>The HTTP response header name.</p>
|
|
6878
|
-
* @public
|
|
6879
|
-
*/
|
|
6880
|
-
Header: string | undefined;
|
|
6881
|
-
/**
|
|
6882
|
-
* <p>The value for the HTTP response header.</p>
|
|
6883
|
-
* @public
|
|
6884
|
-
*/
|
|
6885
|
-
Value: string | undefined;
|
|
6886
|
-
/**
|
|
6887
|
-
* <p>A Boolean that determines whether CloudFront overrides a response header with the same name
|
|
6888
|
-
* received from the origin with the header specified here.</p>
|
|
6889
|
-
* @public
|
|
6890
|
-
*/
|
|
6891
|
-
Override: boolean | undefined;
|
|
6892
|
-
}
|
|
6893
|
-
/**
|
|
6894
|
-
* <p>A list of HTTP response header names and their values. CloudFront includes these headers in
|
|
6895
|
-
* HTTP responses that it sends for requests that match a cache behavior that's associated
|
|
6896
|
-
* with this response headers policy.</p>
|
|
6897
|
-
* @public
|
|
6898
|
-
*/
|
|
6899
|
-
export interface ResponseHeadersPolicyCustomHeadersConfig {
|
|
6900
|
-
/**
|
|
6901
|
-
* <p>The number of HTTP response headers in the list.</p>
|
|
6902
|
-
* @public
|
|
6903
|
-
*/
|
|
6904
|
-
Quantity: number | undefined;
|
|
6905
|
-
/**
|
|
6906
|
-
* <p>The list of HTTP response headers and their values.</p>
|
|
6907
|
-
* @public
|
|
6908
|
-
*/
|
|
6909
|
-
Items?: ResponseHeadersPolicyCustomHeader[] | undefined;
|
|
6910
|
-
}
|
|
6911
|
-
/**
|
|
6912
|
-
* <p>The name of an HTTP header that CloudFront removes from HTTP responses to requests that match the
|
|
6913
|
-
* cache behavior that this response headers policy is attached to.</p>
|
|
6914
|
-
* @public
|
|
6915
|
-
*/
|
|
6916
|
-
export interface ResponseHeadersPolicyRemoveHeader {
|
|
6917
|
-
/**
|
|
6918
|
-
* <p>The HTTP header name.</p>
|
|
6919
|
-
* @public
|
|
6920
|
-
*/
|
|
6921
|
-
Header: string | undefined;
|
|
6922
|
-
}
|
|
6923
|
-
/**
|
|
6924
|
-
* <p>A list of HTTP header names that CloudFront removes from HTTP responses to requests that match the
|
|
6925
|
-
* cache behavior that this response headers policy is attached to.</p>
|
|
6926
|
-
* @public
|
|
6927
|
-
*/
|
|
6928
|
-
export interface ResponseHeadersPolicyRemoveHeadersConfig {
|
|
6929
|
-
/**
|
|
6930
|
-
* <p>The number of HTTP header names in the list.</p>
|
|
6931
|
-
* @public
|
|
6932
|
-
*/
|
|
6933
|
-
Quantity: number | undefined;
|
|
6934
|
-
/**
|
|
6935
|
-
* <p>The list of HTTP header names.</p>
|
|
6936
|
-
* @public
|
|
6937
|
-
*/
|
|
6938
|
-
Items?: ResponseHeadersPolicyRemoveHeader[] | undefined;
|
|
6939
|
-
}
|
|
6940
|
-
/**
|
|
6941
|
-
* <p>The policy directives and their values that CloudFront includes as values for the
|
|
6942
|
-
* <code>Content-Security-Policy</code> HTTP response header.</p>
|
|
6943
|
-
* <p>For more information about the <code>Content-Security-Policy</code> HTTP response
|
|
6944
|
-
* header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy">Content-Security-Policy</a> in the MDN Web Docs.</p>
|
|
6945
|
-
* @public
|
|
6946
|
-
*/
|
|
6947
|
-
export interface ResponseHeadersPolicyContentSecurityPolicy {
|
|
6948
|
-
/**
|
|
6949
|
-
* <p>A Boolean that determines whether CloudFront overrides the
|
|
6950
|
-
* <code>Content-Security-Policy</code> HTTP response header received from the origin
|
|
6951
|
-
* with the one specified in this response headers policy.</p>
|
|
6952
|
-
* @public
|
|
6953
|
-
*/
|
|
6954
|
-
Override: boolean | undefined;
|
|
6955
|
-
/**
|
|
6956
|
-
* <p>The policy directives and their values that CloudFront includes as values for the
|
|
6957
|
-
* <code>Content-Security-Policy</code> HTTP response header.</p>
|
|
6958
|
-
* @public
|
|
6959
|
-
*/
|
|
6960
|
-
ContentSecurityPolicy: string | undefined;
|
|
6961
|
-
}
|
|
6962
|
-
/**
|
|
6963
|
-
* <p>Determines whether CloudFront includes the <code>X-Content-Type-Options</code> HTTP response
|
|
6964
|
-
* header with its value set to <code>nosniff</code>.</p>
|
|
6965
|
-
* <p>For more information about the <code>X-Content-Type-Options</code> HTTP response
|
|
6966
|
-
* header, see <a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/X-Content-Type-Options">X-Content-Type-Options</a> in the MDN Web Docs.</p>
|
|
6967
|
-
* @public
|
|
6968
|
-
*/
|
|
6969
|
-
export interface ResponseHeadersPolicyContentTypeOptions {
|
|
6970
|
-
/**
|
|
6971
|
-
* <p>A Boolean that determines whether CloudFront overrides the
|
|
6972
|
-
* <code>X-Content-Type-Options</code> HTTP response header received from the origin
|
|
6973
|
-
* with the one specified in this response headers policy.</p>
|
|
6974
|
-
* @public
|
|
6975
|
-
*/
|
|
6976
|
-
Override: boolean | undefined;
|
|
6977
|
-
}
|
|
6978
7001
|
/**
|
|
6979
7002
|
* @internal
|
|
6980
7003
|
*/
|