@aws-sdk/client-cloudfront 3.937.0 → 3.940.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.
Files changed (112) hide show
  1. package/README.md +120 -0
  2. package/dist-cjs/index.js +977 -63
  3. package/dist-es/CloudFront.js +30 -0
  4. package/dist-es/commands/CreateConnectionFunctionCommand.js +16 -0
  5. package/dist-es/commands/CreateTrustStoreCommand.js +16 -0
  6. package/dist-es/commands/DeleteConnectionFunctionCommand.js +16 -0
  7. package/dist-es/commands/DeleteTrustStoreCommand.js +16 -0
  8. package/dist-es/commands/DescribeConnectionFunctionCommand.js +16 -0
  9. package/dist-es/commands/GetConnectionFunctionCommand.js +16 -0
  10. package/dist-es/commands/GetTrustStoreCommand.js +16 -0
  11. package/dist-es/commands/ListConnectionFunctionsCommand.js +16 -0
  12. package/dist-es/commands/ListDistributionsByConnectionFunctionCommand.js +16 -0
  13. package/dist-es/commands/ListDistributionsByTrustStoreCommand.js +16 -0
  14. package/dist-es/commands/ListTrustStoresCommand.js +16 -0
  15. package/dist-es/commands/PublishConnectionFunctionCommand.js +16 -0
  16. package/dist-es/commands/TestConnectionFunctionCommand.js +16 -0
  17. package/dist-es/commands/UpdateConnectionFunctionCommand.js +16 -0
  18. package/dist-es/commands/UpdateTrustStoreCommand.js +16 -0
  19. package/dist-es/commands/index.js +18 -3
  20. package/dist-es/models/enums.js +17 -8
  21. package/dist-es/models/errors.js +14 -14
  22. package/dist-es/pagination/ListConnectionFunctionsPaginator.js +4 -0
  23. package/dist-es/pagination/ListDistributionsByConnectionFunctionPaginator.js +4 -0
  24. package/dist-es/pagination/ListDistributionsByTrustStorePaginator.js +4 -0
  25. package/dist-es/pagination/ListTrustStoresPaginator.js +4 -0
  26. package/dist-es/pagination/index.js +4 -0
  27. package/dist-es/schemas/schemas_0.js +708 -27
  28. package/dist-types/CloudFront.d.ts +107 -0
  29. package/dist-types/CloudFrontClient.d.ts +17 -2
  30. package/dist-types/commands/CopyDistributionCommand.d.ts +11 -0
  31. package/dist-types/commands/CreateConnectionFunctionCommand.d.ts +138 -0
  32. package/dist-types/commands/CreateDistributionCommand.d.ts +22 -0
  33. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +22 -0
  34. package/dist-types/commands/CreateTrustStoreCommand.d.ts +117 -0
  35. package/dist-types/commands/DeleteConnectionFunctionCommand.d.ts +94 -0
  36. package/dist-types/commands/DeleteTrustStoreCommand.d.ts +91 -0
  37. package/dist-types/commands/DescribeConnectionFunctionCommand.d.ts +108 -0
  38. package/dist-types/commands/GetConnectionFunctionCommand.d.ts +93 -0
  39. package/dist-types/commands/GetDistributionCommand.d.ts +11 -0
  40. package/dist-types/commands/GetDistributionConfigCommand.d.ts +11 -0
  41. package/dist-types/commands/GetManagedCertificateDetailsCommand.d.ts +2 -1
  42. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
  43. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +1 -1
  44. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
  45. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
  46. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
  47. package/dist-types/commands/GetPublicKeyCommand.d.ts +1 -1
  48. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +1 -1
  49. package/dist-types/commands/GetTrustStoreCommand.d.ts +92 -0
  50. package/dist-types/commands/ListConnectionFunctionsCommand.d.ts +108 -0
  51. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +11 -0
  52. package/dist-types/commands/ListDistributionsByConnectionFunctionCommand.d.ts +412 -0
  53. package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +11 -0
  54. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +11 -0
  55. package/dist-types/commands/ListDistributionsByTrustStoreCommand.d.ts +412 -0
  56. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +11 -0
  57. package/dist-types/commands/ListDistributionsCommand.d.ts +11 -0
  58. package/dist-types/commands/ListTrustStoresCommand.d.ts +96 -0
  59. package/dist-types/commands/PublishConnectionFunctionCommand.d.ts +113 -0
  60. package/dist-types/commands/TestConnectionFunctionCommand.d.ts +123 -0
  61. package/dist-types/commands/UpdateConnectionFunctionCommand.d.ts +130 -0
  62. package/dist-types/commands/UpdateDistributionCommand.d.ts +22 -0
  63. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +11 -0
  64. package/dist-types/commands/UpdateTrustStoreCommand.d.ts +107 -0
  65. package/dist-types/commands/index.d.ts +18 -3
  66. package/dist-types/models/enums.d.ts +49 -24
  67. package/dist-types/models/errors.d.ts +13 -13
  68. package/dist-types/models/models_0.d.ts +440 -288
  69. package/dist-types/models/models_1.d.ts +601 -2
  70. package/dist-types/pagination/ListConnectionFunctionsPaginator.d.ts +7 -0
  71. package/dist-types/pagination/ListDistributionsByConnectionFunctionPaginator.d.ts +7 -0
  72. package/dist-types/pagination/ListDistributionsByTrustStorePaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListTrustStoresPaginator.d.ts +7 -0
  74. package/dist-types/pagination/index.d.ts +4 -0
  75. package/dist-types/schemas/schemas_0.d.ts +54 -0
  76. package/dist-types/ts3.4/CloudFront.d.ts +263 -0
  77. package/dist-types/ts3.4/CloudFrontClient.d.ts +90 -0
  78. package/dist-types/ts3.4/commands/CreateConnectionFunctionCommand.d.ts +51 -0
  79. package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +50 -0
  80. package/dist-types/ts3.4/commands/DeleteConnectionFunctionCommand.d.ts +47 -0
  81. package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +45 -0
  82. package/dist-types/ts3.4/commands/DescribeConnectionFunctionCommand.d.ts +51 -0
  83. package/dist-types/ts3.4/commands/GetConnectionFunctionCommand.d.ts +58 -0
  84. package/dist-types/ts3.4/commands/GetManagedCertificateDetailsCommand.d.ts +2 -4
  85. package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/GetOriginAccessControlCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
  88. package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
  89. package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/GetTrustStoreCommand.d.ts +47 -0
  93. package/dist-types/ts3.4/commands/ListConnectionFunctionsCommand.d.ts +51 -0
  94. package/dist-types/ts3.4/commands/ListDistributionsByConnectionFunctionCommand.d.ts +51 -0
  95. package/dist-types/ts3.4/commands/ListDistributionsByTrustStoreCommand.d.ts +51 -0
  96. package/dist-types/ts3.4/commands/ListTrustStoresCommand.d.ts +50 -0
  97. package/dist-types/ts3.4/commands/PublishConnectionFunctionCommand.d.ts +51 -0
  98. package/dist-types/ts3.4/commands/TestConnectionFunctionCommand.d.ts +51 -0
  99. package/dist-types/ts3.4/commands/UpdateConnectionFunctionCommand.d.ts +51 -0
  100. package/dist-types/ts3.4/commands/UpdateTrustStoreCommand.d.ts +50 -0
  101. package/dist-types/ts3.4/commands/index.d.ts +18 -3
  102. package/dist-types/ts3.4/models/enums.d.ts +24 -11
  103. package/dist-types/ts3.4/models/errors.d.ts +8 -8
  104. package/dist-types/ts3.4/models/models_0.d.ts +117 -75
  105. package/dist-types/ts3.4/models/models_1.d.ts +165 -0
  106. package/dist-types/ts3.4/pagination/ListConnectionFunctionsPaginator.d.ts +11 -0
  107. package/dist-types/ts3.4/pagination/ListDistributionsByConnectionFunctionPaginator.d.ts +11 -0
  108. package/dist-types/ts3.4/pagination/ListDistributionsByTrustStorePaginator.d.ts +11 -0
  109. package/dist-types/ts3.4/pagination/ListTrustStoresPaginator.d.ts +11 -0
  110. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  111. package/dist-types/ts3.4/schemas/schemas_0.d.ts +54 -0
  112. package/package.json +5 -5
@@ -1,4 +1,4 @@
1
- import { CachePolicyCookieBehavior, CachePolicyHeaderBehavior, CachePolicyQueryStringBehavior, CachePolicyType, CertificateSource, CertificateTransparencyLoggingPreference, ConnectionMode, ContinuousDeploymentPolicyType, CustomizationActionType, DomainStatus, EventType, Format, FrameOptionsList, FunctionRuntime, FunctionStage, GeoRestrictionType, HttpVersion, ICPRecordalStatus, ImportSourceType, IpAddressType, IpamCidrStatus, ItemSelection, ManagedCertificateStatus, Method, MinimumProtocolVersion, OriginAccessControlOriginTypes, OriginAccessControlSigningBehaviors, OriginAccessControlSigningProtocols, OriginGroupSelectionCriteria, OriginProtocolPolicy, OriginRequestPolicyCookieBehavior, OriginRequestPolicyHeaderBehavior, OriginRequestPolicyQueryStringBehavior, PriceClass, RealtimeMetricsSubscriptionStatus, ReferrerPolicyList, ResponseHeadersPolicyAccessControlAllowMethodsValues, SslProtocol, SSLSupportMethod, ValidationTokenHost, ViewerProtocolPolicy } from "./enums";
1
+ import { CachePolicyCookieBehavior, CachePolicyHeaderBehavior, CachePolicyQueryStringBehavior, CachePolicyType, CertificateSource, CertificateTransparencyLoggingPreference, ConnectionMode, ContinuousDeploymentPolicyType, CustomizationActionType, DomainStatus, EventType, Format, FrameOptionsList, FunctionRuntime, FunctionStage, GeoRestrictionType, HttpVersion, ICPRecordalStatus, ImportSourceType, IpAddressType, IpamCidrStatus, ItemSelection, Method, MinimumProtocolVersion, OriginAccessControlOriginTypes, OriginAccessControlSigningBehaviors, OriginAccessControlSigningProtocols, OriginGroupSelectionCriteria, OriginProtocolPolicy, OriginRequestPolicyCookieBehavior, OriginRequestPolicyHeaderBehavior, OriginRequestPolicyQueryStringBehavior, PriceClass, RealtimeMetricsSubscriptionStatus, ReferrerPolicyList, ResponseHeadersPolicyAccessControlAllowMethodsValues, SslProtocol, SSLSupportMethod, TrustStoreStatus, ValidationTokenHost, ViewerMtlsMode, ViewerProtocolPolicy } from "./enums";
2
2
  /**
3
3
  * <p>A list of CloudFront key pair identifiers.</p>
4
4
  * @public
@@ -433,6 +433,65 @@ export interface AssociateDistributionWebACLResult {
433
433
  */
434
434
  ETag?: string | undefined;
435
435
  }
436
+ /**
437
+ * <p>The CA certificates bundle location in Amazon S3.</p>
438
+ * @public
439
+ */
440
+ export interface CaCertificatesBundleS3Location {
441
+ /**
442
+ * <p>The S3 bucket.</p>
443
+ * @public
444
+ */
445
+ Bucket: string | undefined;
446
+ /**
447
+ * <p>The location's key.</p>
448
+ * @public
449
+ */
450
+ Key: string | undefined;
451
+ /**
452
+ * <p>The location's Region.</p>
453
+ * @public
454
+ */
455
+ Region: string | undefined;
456
+ /**
457
+ * <p>The location's version.</p>
458
+ * @public
459
+ */
460
+ Version?: string | undefined;
461
+ }
462
+ /**
463
+ * <p>A CA certificates bundle source.</p>
464
+ * @public
465
+ */
466
+ export type CaCertificatesBundleSource = CaCertificatesBundleSource.CaCertificatesBundleS3LocationMember | CaCertificatesBundleSource.$UnknownMember;
467
+ /**
468
+ * @public
469
+ */
470
+ export declare namespace CaCertificatesBundleSource {
471
+ /**
472
+ * <p>The CA certificates bundle location in Amazon S3.</p>
473
+ * @public
474
+ */
475
+ interface CaCertificatesBundleS3LocationMember {
476
+ CaCertificatesBundleS3Location: CaCertificatesBundleS3Location;
477
+ $unknown?: never;
478
+ }
479
+ /**
480
+ * @public
481
+ */
482
+ interface $UnknownMember {
483
+ CaCertificatesBundleS3Location?: never;
484
+ $unknown: [string, any];
485
+ }
486
+ /**
487
+ * @deprecated unused in schema-serde mode.
488
+ *
489
+ */
490
+ interface Visitor<T> {
491
+ CaCertificatesBundleS3Location: (value: CaCertificatesBundleS3Location) => T;
492
+ _: (name: string, value: any) => T;
493
+ }
494
+ }
436
495
  /**
437
496
  * <p>Contains a list of cookie names.</p>
438
497
  * @public
@@ -1010,6 +1069,17 @@ export interface CopyDistributionRequest {
1010
1069
  */
1011
1070
  Enabled?: boolean | undefined;
1012
1071
  }
1072
+ /**
1073
+ * <p>A connection function association.</p>
1074
+ * @public
1075
+ */
1076
+ export interface ConnectionFunctionAssociation {
1077
+ /**
1078
+ * <p>The association's ID.</p>
1079
+ * @public
1080
+ */
1081
+ Id: string | undefined;
1082
+ }
1013
1083
  /**
1014
1084
  * <p>A complex type that controls:</p> <ul> <li> <p>Whether CloudFront replaces HTTP status codes in the 4xx and 5xx range with custom error messages before returning the response to the viewer.</p> </li> <li> <p>How long CloudFront caches HTTP status codes in the 4xx and 5xx range.</p> </li> </ul> <p>For more information about custom error pages, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/custom-error-pages.html">Customizing Error Responses</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
1015
1085
  * @public
@@ -1648,6 +1718,43 @@ export interface ViewerCertificate {
1648
1718
  */
1649
1719
  CertificateSource?: CertificateSource | undefined;
1650
1720
  }
1721
+ /**
1722
+ * <p>A trust store configuration.</p>
1723
+ * @public
1724
+ */
1725
+ export interface TrustStoreConfig {
1726
+ /**
1727
+ * <p>The trust store ID.</p>
1728
+ * @public
1729
+ */
1730
+ TrustStoreId: string | undefined;
1731
+ /**
1732
+ * <p>The configuration to use to advertise trust store CA names.</p>
1733
+ * @public
1734
+ */
1735
+ AdvertiseTrustStoreCaNames?: boolean | undefined;
1736
+ /**
1737
+ * <p>The configuration to use to ignore certificate expiration.</p>
1738
+ * @public
1739
+ */
1740
+ IgnoreCertificateExpiry?: boolean | undefined;
1741
+ }
1742
+ /**
1743
+ * <p>A viewer mTLS configuration.</p>
1744
+ * @public
1745
+ */
1746
+ export interface ViewerMtlsConfig {
1747
+ /**
1748
+ * <p>The viewer mTLS mode.</p>
1749
+ * @public
1750
+ */
1751
+ Mode?: ViewerMtlsMode | undefined;
1752
+ /**
1753
+ * <p>The trust store configuration associated with the viewer mTLS configuration.</p>
1754
+ * @public
1755
+ */
1756
+ TrustStoreConfig?: TrustStoreConfig | undefined;
1757
+ }
1651
1758
  /**
1652
1759
  * <p>A distribution configuration.</p>
1653
1760
  * @public
@@ -1763,6 +1870,16 @@ export interface DistributionConfig {
1763
1870
  * @public
1764
1871
  */
1765
1872
  ConnectionMode?: ConnectionMode | undefined;
1873
+ /**
1874
+ * <p>The distribution's viewer mTLS configuration.</p>
1875
+ * @public
1876
+ */
1877
+ ViewerMtlsConfig?: ViewerMtlsConfig | undefined;
1878
+ /**
1879
+ * <p>The distribution's connection function association.</p>
1880
+ * @public
1881
+ */
1882
+ ConnectionFunctionAssociation?: ConnectionFunctionAssociation | undefined;
1766
1883
  }
1767
1884
  /**
1768
1885
  * <p>A distribution tells CloudFront where you want content to be delivered from, and the details about how to track and manage content delivery.</p>
@@ -2011,6 +2128,145 @@ export interface CreateCloudFrontOriginAccessIdentityResult {
2011
2128
  */
2012
2129
  ETag?: string | undefined;
2013
2130
  }
2131
+ /**
2132
+ * <p>The key value store association.</p>
2133
+ * @public
2134
+ */
2135
+ export interface KeyValueStoreAssociation {
2136
+ /**
2137
+ * <p>The Amazon Resource Name (ARN) of the key value store association.</p>
2138
+ * @public
2139
+ */
2140
+ KeyValueStoreARN: string | undefined;
2141
+ }
2142
+ /**
2143
+ * <p>The key value store associations.</p>
2144
+ * @public
2145
+ */
2146
+ export interface KeyValueStoreAssociations {
2147
+ /**
2148
+ * <p>The quantity of key value store associations.</p>
2149
+ * @public
2150
+ */
2151
+ Quantity: number | undefined;
2152
+ /**
2153
+ * <p>The items of the key value store association.</p>
2154
+ * @public
2155
+ */
2156
+ Items?: KeyValueStoreAssociation[] | undefined;
2157
+ }
2158
+ /**
2159
+ * <p>Contains configuration information about a CloudFront function.</p>
2160
+ * @public
2161
+ */
2162
+ export interface FunctionConfig {
2163
+ /**
2164
+ * <p>A comment to describe the function.</p>
2165
+ * @public
2166
+ */
2167
+ Comment: string | undefined;
2168
+ /**
2169
+ * <p>The function's runtime environment version.</p>
2170
+ * @public
2171
+ */
2172
+ Runtime: FunctionRuntime | undefined;
2173
+ /**
2174
+ * <p>The configuration for the key value store associations.</p>
2175
+ * @public
2176
+ */
2177
+ KeyValueStoreAssociations?: KeyValueStoreAssociations | undefined;
2178
+ }
2179
+ /**
2180
+ * @public
2181
+ */
2182
+ export interface CreateConnectionFunctionRequest {
2183
+ /**
2184
+ * <p>A name for the connection function.</p>
2185
+ * @public
2186
+ */
2187
+ Name: string | undefined;
2188
+ /**
2189
+ * <p>Contains configuration information about a CloudFront function.</p>
2190
+ * @public
2191
+ */
2192
+ ConnectionFunctionConfig: FunctionConfig | undefined;
2193
+ /**
2194
+ * <p>The code for the connection function.</p>
2195
+ * @public
2196
+ */
2197
+ ConnectionFunctionCode: Uint8Array | undefined;
2198
+ /**
2199
+ * <p>A complex type that contains zero or more <code>Tag</code> elements.</p>
2200
+ * @public
2201
+ */
2202
+ Tags?: Tags | undefined;
2203
+ }
2204
+ /**
2205
+ * <p>A connection function summary.</p>
2206
+ * @public
2207
+ */
2208
+ export interface ConnectionFunctionSummary {
2209
+ /**
2210
+ * <p>The connection function name.</p>
2211
+ * @public
2212
+ */
2213
+ Name: string | undefined;
2214
+ /**
2215
+ * <p>The connection function ID.</p>
2216
+ * @public
2217
+ */
2218
+ Id: string | undefined;
2219
+ /**
2220
+ * <p>Contains configuration information about a CloudFront function.</p>
2221
+ * @public
2222
+ */
2223
+ ConnectionFunctionConfig: FunctionConfig | undefined;
2224
+ /**
2225
+ * <p>The connection function Amazon Resource Name (ARN).</p>
2226
+ * @public
2227
+ */
2228
+ ConnectionFunctionArn: string | undefined;
2229
+ /**
2230
+ * <p>The connection function status.</p>
2231
+ * @public
2232
+ */
2233
+ Status: string | undefined;
2234
+ /**
2235
+ * <p>The connection function stage.</p>
2236
+ * @public
2237
+ */
2238
+ Stage: FunctionStage | undefined;
2239
+ /**
2240
+ * <p>The connection function created time.</p>
2241
+ * @public
2242
+ */
2243
+ CreatedTime: Date | undefined;
2244
+ /**
2245
+ * <p>The connection function last modified time.</p>
2246
+ * @public
2247
+ */
2248
+ LastModifiedTime: Date | undefined;
2249
+ }
2250
+ /**
2251
+ * @public
2252
+ */
2253
+ export interface CreateConnectionFunctionResult {
2254
+ /**
2255
+ * <p>The summary for the connection function.</p>
2256
+ * @public
2257
+ */
2258
+ ConnectionFunctionSummary?: ConnectionFunctionSummary | undefined;
2259
+ /**
2260
+ * <p>The location of the connection function.</p>
2261
+ * @public
2262
+ */
2263
+ Location?: string | undefined;
2264
+ /**
2265
+ * <p>The version identifier for the current version of the connection function.</p>
2266
+ * @public
2267
+ */
2268
+ ETag?: string | undefined;
2269
+ }
2014
2270
  /**
2015
2271
  * @public
2016
2272
  */
@@ -2920,54 +3176,6 @@ export interface CreateFieldLevelEncryptionProfileResult {
2920
3176
  */
2921
3177
  ETag?: string | undefined;
2922
3178
  }
2923
- /**
2924
- * <p>The key value store association.</p>
2925
- * @public
2926
- */
2927
- export interface KeyValueStoreAssociation {
2928
- /**
2929
- * <p>The Amazon Resource Name (ARN) of the key value store association.</p>
2930
- * @public
2931
- */
2932
- KeyValueStoreARN: string | undefined;
2933
- }
2934
- /**
2935
- * <p>The key value store associations.</p>
2936
- * @public
2937
- */
2938
- export interface KeyValueStoreAssociations {
2939
- /**
2940
- * <p>The quantity of key value store associations.</p>
2941
- * @public
2942
- */
2943
- Quantity: number | undefined;
2944
- /**
2945
- * <p>The items of the key value store association.</p>
2946
- * @public
2947
- */
2948
- Items?: KeyValueStoreAssociation[] | undefined;
2949
- }
2950
- /**
2951
- * <p>Contains configuration information about a CloudFront function.</p>
2952
- * @public
2953
- */
2954
- export interface FunctionConfig {
2955
- /**
2956
- * <p>A comment to describe the function.</p>
2957
- * @public
2958
- */
2959
- Comment: string | undefined;
2960
- /**
2961
- * <p>The function's runtime environment version.</p>
2962
- * @public
2963
- */
2964
- Runtime: FunctionRuntime | undefined;
2965
- /**
2966
- * <p>The configuration for the key value store associations.</p>
2967
- * @public
2968
- */
2969
- KeyValueStoreAssociations?: KeyValueStoreAssociations | undefined;
2970
- }
2971
3179
  /**
2972
3180
  * @public
2973
3181
  */
@@ -4402,37 +4610,113 @@ export interface CreateStreamingDistributionWithTagsResult {
4402
4610
  ETag?: string | undefined;
4403
4611
  }
4404
4612
  /**
4405
- * <p>An Amazon CloudFront VPC origin endpoint configuration.</p>
4406
4613
  * @public
4407
4614
  */
4408
- export interface VpcOriginEndpointConfig {
4615
+ export interface CreateTrustStoreRequest {
4409
4616
  /**
4410
- * <p>The name of the CloudFront VPC origin endpoint configuration.</p>
4617
+ * <p>A name for the trust store.</p>
4411
4618
  * @public
4412
4619
  */
4413
4620
  Name: string | undefined;
4414
4621
  /**
4415
- * <p>The ARN of the CloudFront VPC origin endpoint configuration.</p>
4622
+ * <p>The CA certificates bundle source for the trust store.</p>
4416
4623
  * @public
4417
4624
  */
4418
- Arn: string | undefined;
4625
+ CaCertificatesBundleSource: CaCertificatesBundleSource | undefined;
4419
4626
  /**
4420
- * <p>The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is <code>80</code>.</p>
4627
+ * <p>A complex type that contains zero or more <code>Tag</code> elements.</p>
4421
4628
  * @public
4422
4629
  */
4423
- HTTPPort: number | undefined;
4630
+ Tags?: Tags | undefined;
4631
+ }
4632
+ /**
4633
+ * <p>A trust store.</p>
4634
+ * @public
4635
+ */
4636
+ export interface TrustStore {
4424
4637
  /**
4425
- * <p>The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is <code>443</code>.</p>
4638
+ * <p>The trust store's ID.</p>
4426
4639
  * @public
4427
4640
  */
4428
- HTTPSPort: number | undefined;
4641
+ Id?: string | undefined;
4429
4642
  /**
4430
- * <p>The origin protocol policy for the CloudFront VPC origin endpoint configuration.</p>
4643
+ * <p>The trust store's Amazon Resource Name (ARN).</p>
4431
4644
  * @public
4432
4645
  */
4433
- OriginProtocolPolicy: OriginProtocolPolicy | undefined;
4646
+ Arn?: string | undefined;
4434
4647
  /**
4435
- * <p>A complex type that contains information about the SSL/TLS protocols that CloudFront can use when establishing an HTTPS connection with your origin.</p>
4648
+ * <p>The trust store's name.</p>
4649
+ * @public
4650
+ */
4651
+ Name?: string | undefined;
4652
+ /**
4653
+ * <p>The trust store's status.</p>
4654
+ * @public
4655
+ */
4656
+ Status?: TrustStoreStatus | undefined;
4657
+ /**
4658
+ * <p>The trust store's number of CA certificates.</p>
4659
+ * @public
4660
+ */
4661
+ NumberOfCaCertificates?: number | undefined;
4662
+ /**
4663
+ * <p>The trust store's last modified time.</p>
4664
+ * @public
4665
+ */
4666
+ LastModifiedTime?: Date | undefined;
4667
+ /**
4668
+ * <p>The trust store's reason.</p>
4669
+ * @public
4670
+ */
4671
+ Reason?: string | undefined;
4672
+ }
4673
+ /**
4674
+ * @public
4675
+ */
4676
+ export interface CreateTrustStoreResult {
4677
+ /**
4678
+ * <p>The trust store.</p>
4679
+ * @public
4680
+ */
4681
+ TrustStore?: TrustStore | undefined;
4682
+ /**
4683
+ * <p>The version identifier for the current version of the trust store.</p>
4684
+ * @public
4685
+ */
4686
+ ETag?: string | undefined;
4687
+ }
4688
+ /**
4689
+ * <p>An Amazon CloudFront VPC origin endpoint configuration.</p>
4690
+ * @public
4691
+ */
4692
+ export interface VpcOriginEndpointConfig {
4693
+ /**
4694
+ * <p>The name of the CloudFront VPC origin endpoint configuration.</p>
4695
+ * @public
4696
+ */
4697
+ Name: string | undefined;
4698
+ /**
4699
+ * <p>The ARN of the CloudFront VPC origin endpoint configuration.</p>
4700
+ * @public
4701
+ */
4702
+ Arn: string | undefined;
4703
+ /**
4704
+ * <p>The HTTP port for the CloudFront VPC origin endpoint configuration. The default value is <code>80</code>.</p>
4705
+ * @public
4706
+ */
4707
+ HTTPPort: number | undefined;
4708
+ /**
4709
+ * <p>The HTTPS port of the CloudFront VPC origin endpoint configuration. The default value is <code>443</code>.</p>
4710
+ * @public
4711
+ */
4712
+ HTTPSPort: number | undefined;
4713
+ /**
4714
+ * <p>The origin protocol policy for the CloudFront VPC origin endpoint configuration.</p>
4715
+ * @public
4716
+ */
4717
+ OriginProtocolPolicy: OriginProtocolPolicy | undefined;
4718
+ /**
4719
+ * <p>A complex type that contains information about the SSL/TLS protocols that CloudFront can use when establishing an HTTPS connection with your origin.</p>
4436
4720
  * @public
4437
4721
  */
4438
4722
  OriginSslProtocols?: OriginSslProtocols | undefined;
@@ -4559,6 +4843,21 @@ export interface DeleteCloudFrontOriginAccessIdentityRequest {
4559
4843
  */
4560
4844
  IfMatch?: string | undefined;
4561
4845
  }
4846
+ /**
4847
+ * @public
4848
+ */
4849
+ export interface DeleteConnectionFunctionRequest {
4850
+ /**
4851
+ * <p>The connection function's ID.</p>
4852
+ * @public
4853
+ */
4854
+ Id: string | undefined;
4855
+ /**
4856
+ * <p>The current version (<code>ETag</code> value) of the connection function you are deleting.</p>
4857
+ * @public
4858
+ */
4859
+ IfMatch: string | undefined;
4860
+ }
4562
4861
  /**
4563
4862
  * @public
4564
4863
  */
@@ -4811,6 +5110,21 @@ export interface DeleteStreamingDistributionRequest {
4811
5110
  */
4812
5111
  IfMatch?: string | undefined;
4813
5112
  }
5113
+ /**
5114
+ * @public
5115
+ */
5116
+ export interface DeleteTrustStoreRequest {
5117
+ /**
5118
+ * <p>The trust store's ID.</p>
5119
+ * @public
5120
+ */
5121
+ Id: string | undefined;
5122
+ /**
5123
+ * <p>The current version (<code>ETag</code> value) of the trust store you are deleting.</p>
5124
+ * @public
5125
+ */
5126
+ IfMatch: string | undefined;
5127
+ }
4814
5128
  /**
4815
5129
  * @public
4816
5130
  */
@@ -4841,6 +5155,36 @@ export interface DeleteVpcOriginResult {
4841
5155
  */
4842
5156
  ETag?: string | undefined;
4843
5157
  }
5158
+ /**
5159
+ * @public
5160
+ */
5161
+ export interface DescribeConnectionFunctionRequest {
5162
+ /**
5163
+ * <p>The connection function's identifier.</p>
5164
+ * @public
5165
+ */
5166
+ Identifier: string | undefined;
5167
+ /**
5168
+ * <p>The connection function's stage.</p>
5169
+ * @public
5170
+ */
5171
+ Stage?: FunctionStage | undefined;
5172
+ }
5173
+ /**
5174
+ * @public
5175
+ */
5176
+ export interface DescribeConnectionFunctionResult {
5177
+ /**
5178
+ * <p>The connection function's summary.</p>
5179
+ * @public
5180
+ */
5181
+ ConnectionFunctionSummary?: ConnectionFunctionSummary | undefined;
5182
+ /**
5183
+ * <p>The version identifier for the current version of the connection function.</p>
5184
+ * @public
5185
+ */
5186
+ ETag?: string | undefined;
5187
+ }
4844
5188
  /**
4845
5189
  * @public
4846
5190
  */
@@ -5085,6 +5429,41 @@ export interface GetCloudFrontOriginAccessIdentityConfigResult {
5085
5429
  */
5086
5430
  ETag?: string | undefined;
5087
5431
  }
5432
+ /**
5433
+ * @public
5434
+ */
5435
+ export interface GetConnectionFunctionRequest {
5436
+ /**
5437
+ * <p>The connection function's identifier.</p>
5438
+ * @public
5439
+ */
5440
+ Identifier: string | undefined;
5441
+ /**
5442
+ * <p>The connection function's stage.</p>
5443
+ * @public
5444
+ */
5445
+ Stage?: FunctionStage | undefined;
5446
+ }
5447
+ /**
5448
+ * @public
5449
+ */
5450
+ export interface GetConnectionFunctionResult {
5451
+ /**
5452
+ * <p>The connection function's code.</p>
5453
+ * @public
5454
+ */
5455
+ ConnectionFunctionCode?: Uint8Array | undefined;
5456
+ /**
5457
+ * <p>The version identifier for the current version of the connection function.</p>
5458
+ * @public
5459
+ */
5460
+ ETag?: string | undefined;
5461
+ /**
5462
+ * <p>The connection function's content type.</p>
5463
+ * @public
5464
+ */
5465
+ ContentType?: string | undefined;
5466
+ }
5088
5467
  /**
5089
5468
  * @public
5090
5469
  */
@@ -5536,230 +5915,3 @@ export interface GetManagedCertificateDetailsRequest {
5536
5915
  */
5537
5916
  Identifier: string | undefined;
5538
5917
  }
5539
- /**
5540
- * <p>Contains details about the validation token.</p>
5541
- * @public
5542
- */
5543
- export interface ValidationTokenDetail {
5544
- /**
5545
- * <p>The domain name.</p>
5546
- * @public
5547
- */
5548
- Domain: string | undefined;
5549
- /**
5550
- * <p>The domain to redirect to.</p>
5551
- * @public
5552
- */
5553
- RedirectTo?: string | undefined;
5554
- /**
5555
- * <p>The domain to redirect from.</p>
5556
- * @public
5557
- */
5558
- RedirectFrom?: string | undefined;
5559
- }
5560
- /**
5561
- * <p>Contains details about the CloudFront managed ACM certificate.</p>
5562
- * @public
5563
- */
5564
- export interface ManagedCertificateDetails {
5565
- /**
5566
- * <p>The ARN of the CloudFront managed ACM certificate.</p>
5567
- * @public
5568
- */
5569
- CertificateArn?: string | undefined;
5570
- /**
5571
- * <p>The status of the CloudFront managed ACM certificate.</p> <note> <p>Your distribution tenant will be updated with the latest certificate status. When calling the <a href="https://docs.aws.amazon.com/cloudfront/latest/APIReference/API_UpdateDistributionTenant.html">UpdateDistributionTenant</a> operation, use the latest value for the <code>ETag</code>.</p> </note>
5572
- * @public
5573
- */
5574
- CertificateStatus?: ManagedCertificateStatus | undefined;
5575
- /**
5576
- * <p>Contains details about the validation token host of the specified CloudFront managed ACM certificate.</p> <ul> <li> <p>For <code>cloudfront</code>, CloudFront will automatically serve the validation token. Choose this mode if you can point the domain's DNS to CloudFront immediately.</p> </li> <li> <p>For <code>self-hosted</code>, you serve the validation token from your existing infrastructure. Choose this mode when you need to maintain current traffic flow while your certificate is being issued. You can place the validation token at the well-known path on your existing web server, wait for ACM to validate and issue the certificate, and then update your DNS to point to CloudFront.</p> </li> </ul> <note> <p>This setting only affects the initial certificate request. Once the DNS points to CloudFront, all future certificate renewals are automatically handled through CloudFront.</p> </note>
5577
- * @public
5578
- */
5579
- ValidationTokenHost?: ValidationTokenHost | undefined;
5580
- /**
5581
- * <p>Contains details about the validation token of the specified CloudFront managed ACM certificate.</p>
5582
- * @public
5583
- */
5584
- ValidationTokenDetails?: ValidationTokenDetail[] | undefined;
5585
- }
5586
- /**
5587
- * @public
5588
- */
5589
- export interface GetManagedCertificateDetailsResult {
5590
- /**
5591
- * <p>Contains details about the CloudFront managed ACM certificate.</p>
5592
- * @public
5593
- */
5594
- ManagedCertificateDetails?: ManagedCertificateDetails | undefined;
5595
- }
5596
- /**
5597
- * @public
5598
- */
5599
- export interface GetMonitoringSubscriptionRequest {
5600
- /**
5601
- * <p>The ID of the distribution that you are getting metrics information for.</p>
5602
- * @public
5603
- */
5604
- DistributionId: string | undefined;
5605
- }
5606
- /**
5607
- * @public
5608
- */
5609
- export interface GetMonitoringSubscriptionResult {
5610
- /**
5611
- * <p>A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.</p>
5612
- * @public
5613
- */
5614
- MonitoringSubscription?: MonitoringSubscription | undefined;
5615
- }
5616
- /**
5617
- * @public
5618
- */
5619
- export interface GetOriginAccessControlRequest {
5620
- /**
5621
- * <p>The unique identifier of the origin access control.</p>
5622
- * @public
5623
- */
5624
- Id: string | undefined;
5625
- }
5626
- /**
5627
- * @public
5628
- */
5629
- export interface GetOriginAccessControlResult {
5630
- /**
5631
- * <p>Contains an origin access control, including its unique identifier.</p>
5632
- * @public
5633
- */
5634
- OriginAccessControl?: OriginAccessControl | undefined;
5635
- /**
5636
- * <p>The version identifier for the current version of the origin access control.</p>
5637
- * @public
5638
- */
5639
- ETag?: string | undefined;
5640
- }
5641
- /**
5642
- * @public
5643
- */
5644
- export interface GetOriginAccessControlConfigRequest {
5645
- /**
5646
- * <p>The unique identifier of the origin access control.</p>
5647
- * @public
5648
- */
5649
- Id: string | undefined;
5650
- }
5651
- /**
5652
- * @public
5653
- */
5654
- export interface GetOriginAccessControlConfigResult {
5655
- /**
5656
- * <p>Contains an origin access control configuration.</p>
5657
- * @public
5658
- */
5659
- OriginAccessControlConfig?: OriginAccessControlConfig | undefined;
5660
- /**
5661
- * <p>The version identifier for the current version of the origin access control.</p>
5662
- * @public
5663
- */
5664
- ETag?: string | undefined;
5665
- }
5666
- /**
5667
- * @public
5668
- */
5669
- export interface GetOriginRequestPolicyRequest {
5670
- /**
5671
- * <p>The unique identifier for the origin request policy. If the origin request policy is attached to a distribution's cache behavior, you can get the policy's identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. If the origin request policy is not attached to a cache behavior, you can get the identifier using <code>ListOriginRequestPolicies</code>.</p>
5672
- * @public
5673
- */
5674
- Id: string | undefined;
5675
- }
5676
- /**
5677
- * @public
5678
- */
5679
- export interface GetOriginRequestPolicyResult {
5680
- /**
5681
- * <p>The origin request policy.</p>
5682
- * @public
5683
- */
5684
- OriginRequestPolicy?: OriginRequestPolicy | undefined;
5685
- /**
5686
- * <p>The current version of the origin request policy.</p>
5687
- * @public
5688
- */
5689
- ETag?: string | undefined;
5690
- }
5691
- /**
5692
- * @public
5693
- */
5694
- export interface GetOriginRequestPolicyConfigRequest {
5695
- /**
5696
- * <p>The unique identifier for the origin request policy. If the origin request policy is attached to a distribution's cache behavior, you can get the policy's identifier using <code>ListDistributions</code> or <code>GetDistribution</code>. If the origin request policy is not attached to a cache behavior, you can get the identifier using <code>ListOriginRequestPolicies</code>.</p>
5697
- * @public
5698
- */
5699
- Id: string | undefined;
5700
- }
5701
- /**
5702
- * @public
5703
- */
5704
- export interface GetOriginRequestPolicyConfigResult {
5705
- /**
5706
- * <p>The origin request policy configuration.</p>
5707
- * @public
5708
- */
5709
- OriginRequestPolicyConfig?: OriginRequestPolicyConfig | undefined;
5710
- /**
5711
- * <p>The current version of the origin request policy.</p>
5712
- * @public
5713
- */
5714
- ETag?: string | undefined;
5715
- }
5716
- /**
5717
- * @public
5718
- */
5719
- export interface GetPublicKeyRequest {
5720
- /**
5721
- * <p>The identifier of the public key you are getting.</p>
5722
- * @public
5723
- */
5724
- Id: string | undefined;
5725
- }
5726
- /**
5727
- * @public
5728
- */
5729
- export interface GetPublicKeyResult {
5730
- /**
5731
- * <p>The public key.</p>
5732
- * @public
5733
- */
5734
- PublicKey?: PublicKey | undefined;
5735
- /**
5736
- * <p>The identifier for this version of the public key.</p>
5737
- * @public
5738
- */
5739
- ETag?: string | undefined;
5740
- }
5741
- /**
5742
- * @public
5743
- */
5744
- export interface GetPublicKeyConfigRequest {
5745
- /**
5746
- * <p>The identifier of the public key whose configuration you are getting.</p>
5747
- * @public
5748
- */
5749
- Id: string | undefined;
5750
- }
5751
- /**
5752
- * @public
5753
- */
5754
- export interface GetPublicKeyConfigResult {
5755
- /**
5756
- * <p>A public key configuration.</p>
5757
- * @public
5758
- */
5759
- PublicKeyConfig?: PublicKeyConfig | undefined;
5760
- /**
5761
- * <p>The identifier for this version of the public key configuration.</p>
5762
- * @public
5763
- */
5764
- ETag?: string | undefined;
5765
- }