@aws-sdk/client-cloudfront 3.936.0 → 3.939.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 (118) hide show
  1. package/README.md +120 -0
  2. package/dist-cjs/index.js +1018 -69
  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 +31 -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 +735 -34
  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/CreateAnycastIpListCommand.d.ts +19 -0
  32. package/dist-types/commands/CreateConnectionFunctionCommand.d.ts +138 -0
  33. package/dist-types/commands/CreateDistributionCommand.d.ts +22 -0
  34. package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +22 -0
  35. package/dist-types/commands/CreateTrustStoreCommand.d.ts +117 -0
  36. package/dist-types/commands/DeleteConnectionFunctionCommand.d.ts +94 -0
  37. package/dist-types/commands/DeleteTrustStoreCommand.d.ts +91 -0
  38. package/dist-types/commands/DescribeConnectionFunctionCommand.d.ts +108 -0
  39. package/dist-types/commands/GetAnycastIpListCommand.d.ts +11 -0
  40. package/dist-types/commands/GetConnectionFunctionCommand.d.ts +93 -0
  41. package/dist-types/commands/GetDistributionCommand.d.ts +11 -0
  42. package/dist-types/commands/GetDistributionConfigCommand.d.ts +11 -0
  43. package/dist-types/commands/GetManagedCertificateDetailsCommand.d.ts +2 -1
  44. package/dist-types/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
  45. package/dist-types/commands/GetOriginAccessControlCommand.d.ts +1 -1
  46. package/dist-types/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
  47. package/dist-types/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
  48. package/dist-types/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
  49. package/dist-types/commands/GetPublicKeyCommand.d.ts +1 -1
  50. package/dist-types/commands/GetPublicKeyConfigCommand.d.ts +1 -1
  51. package/dist-types/commands/GetRealtimeLogConfigCommand.d.ts +1 -1
  52. package/dist-types/commands/GetTrustStoreCommand.d.ts +92 -0
  53. package/dist-types/commands/ListAnycastIpListsCommand.d.ts +11 -0
  54. package/dist-types/commands/ListConnectionFunctionsCommand.d.ts +108 -0
  55. package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +11 -0
  56. package/dist-types/commands/ListDistributionsByConnectionFunctionCommand.d.ts +412 -0
  57. package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +11 -0
  58. package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +11 -0
  59. package/dist-types/commands/ListDistributionsByTrustStoreCommand.d.ts +412 -0
  60. package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +11 -0
  61. package/dist-types/commands/ListDistributionsCommand.d.ts +11 -0
  62. package/dist-types/commands/ListTrustStoresCommand.d.ts +96 -0
  63. package/dist-types/commands/PublishConnectionFunctionCommand.d.ts +113 -0
  64. package/dist-types/commands/TestConnectionFunctionCommand.d.ts +123 -0
  65. package/dist-types/commands/UpdateAnycastIpListCommand.d.ts +11 -0
  66. package/dist-types/commands/UpdateConnectionFunctionCommand.d.ts +130 -0
  67. package/dist-types/commands/UpdateDistributionCommand.d.ts +22 -0
  68. package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +11 -0
  69. package/dist-types/commands/UpdateTrustStoreCommand.d.ts +107 -0
  70. package/dist-types/commands/index.d.ts +18 -3
  71. package/dist-types/models/enums.d.ts +71 -24
  72. package/dist-types/models/errors.d.ts +13 -13
  73. package/dist-types/models/models_0.d.ts +498 -314
  74. package/dist-types/models/models_1.d.ts +627 -3
  75. package/dist-types/pagination/ListConnectionFunctionsPaginator.d.ts +7 -0
  76. package/dist-types/pagination/ListDistributionsByConnectionFunctionPaginator.d.ts +7 -0
  77. package/dist-types/pagination/ListDistributionsByTrustStorePaginator.d.ts +7 -0
  78. package/dist-types/pagination/ListTrustStoresPaginator.d.ts +7 -0
  79. package/dist-types/pagination/index.d.ts +4 -0
  80. package/dist-types/schemas/schemas_0.d.ts +57 -0
  81. package/dist-types/ts3.4/CloudFront.d.ts +263 -0
  82. package/dist-types/ts3.4/CloudFrontClient.d.ts +90 -0
  83. package/dist-types/ts3.4/commands/CreateConnectionFunctionCommand.d.ts +51 -0
  84. package/dist-types/ts3.4/commands/CreateTrustStoreCommand.d.ts +50 -0
  85. package/dist-types/ts3.4/commands/DeleteConnectionFunctionCommand.d.ts +47 -0
  86. package/dist-types/ts3.4/commands/DeleteTrustStoreCommand.d.ts +45 -0
  87. package/dist-types/ts3.4/commands/DescribeConnectionFunctionCommand.d.ts +51 -0
  88. package/dist-types/ts3.4/commands/GetConnectionFunctionCommand.d.ts +58 -0
  89. package/dist-types/ts3.4/commands/GetManagedCertificateDetailsCommand.d.ts +2 -4
  90. package/dist-types/ts3.4/commands/GetMonitoringSubscriptionCommand.d.ts +1 -1
  91. package/dist-types/ts3.4/commands/GetOriginAccessControlCommand.d.ts +1 -1
  92. package/dist-types/ts3.4/commands/GetOriginAccessControlConfigCommand.d.ts +1 -1
  93. package/dist-types/ts3.4/commands/GetOriginRequestPolicyCommand.d.ts +1 -1
  94. package/dist-types/ts3.4/commands/GetOriginRequestPolicyConfigCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/GetPublicKeyCommand.d.ts +1 -1
  96. package/dist-types/ts3.4/commands/GetPublicKeyConfigCommand.d.ts +1 -1
  97. package/dist-types/ts3.4/commands/GetRealtimeLogConfigCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/GetTrustStoreCommand.d.ts +47 -0
  99. package/dist-types/ts3.4/commands/ListConnectionFunctionsCommand.d.ts +51 -0
  100. package/dist-types/ts3.4/commands/ListDistributionsByConnectionFunctionCommand.d.ts +51 -0
  101. package/dist-types/ts3.4/commands/ListDistributionsByTrustStoreCommand.d.ts +51 -0
  102. package/dist-types/ts3.4/commands/ListTrustStoresCommand.d.ts +50 -0
  103. package/dist-types/ts3.4/commands/PublishConnectionFunctionCommand.d.ts +51 -0
  104. package/dist-types/ts3.4/commands/TestConnectionFunctionCommand.d.ts +51 -0
  105. package/dist-types/ts3.4/commands/UpdateConnectionFunctionCommand.d.ts +51 -0
  106. package/dist-types/ts3.4/commands/UpdateTrustStoreCommand.d.ts +50 -0
  107. package/dist-types/ts3.4/commands/index.d.ts +18 -3
  108. package/dist-types/ts3.4/models/enums.d.ts +40 -11
  109. package/dist-types/ts3.4/models/errors.d.ts +8 -8
  110. package/dist-types/ts3.4/models/models_0.d.ts +131 -82
  111. package/dist-types/ts3.4/models/models_1.d.ts +172 -0
  112. package/dist-types/ts3.4/pagination/ListConnectionFunctionsPaginator.d.ts +11 -0
  113. package/dist-types/ts3.4/pagination/ListDistributionsByConnectionFunctionPaginator.d.ts +11 -0
  114. package/dist-types/ts3.4/pagination/ListDistributionsByTrustStorePaginator.d.ts +11 -0
  115. package/dist-types/ts3.4/pagination/ListTrustStoresPaginator.d.ts +11 -0
  116. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  117. package/dist-types/ts3.4/schemas/schemas_0.d.ts +57 -0
  118. package/package.json +2 -2
@@ -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, 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
@@ -158,6 +158,48 @@ export interface AllowedMethods {
158
158
  */
159
159
  CachedMethods?: CachedMethods | undefined;
160
160
  }
161
+ /**
162
+ * <p>Configuration for an IPAM CIDR that defines a specific IP address range, IPAM pool, and associated Anycast IP address.</p>
163
+ * @public
164
+ */
165
+ export interface IpamCidrConfig {
166
+ /**
167
+ * <p>The CIDR that specifies the IP address range for this IPAM configuration.</p>
168
+ * @public
169
+ */
170
+ Cidr: string | undefined;
171
+ /**
172
+ * <p>The Amazon Resource Name (ARN) of the IPAM pool that the CIDR block is assigned to.</p>
173
+ * @public
174
+ */
175
+ IpamPoolArn: string | undefined;
176
+ /**
177
+ * <p>The specified Anycast IP address allocated from the IPAM pool for this CIDR configuration.</p>
178
+ * @public
179
+ */
180
+ AnycastIp?: string | undefined;
181
+ /**
182
+ * <p>The current status of the IPAM CIDR configuration.</p>
183
+ * @public
184
+ */
185
+ Status?: IpamCidrStatus | undefined;
186
+ }
187
+ /**
188
+ * <p>The configuration IPAM settings that includes the quantity of CIDR configurations and the list of IPAM CIDR configurations.</p>
189
+ * @public
190
+ */
191
+ export interface IpamConfig {
192
+ /**
193
+ * <p>The number of IPAM CIDR configurations in the <code>IpamCidrConfigs</code> list.</p>
194
+ * @public
195
+ */
196
+ Quantity: number | undefined;
197
+ /**
198
+ * <p>A list of IPAM CIDR configurations that define the IP address ranges, IPAM pools, and associated Anycast IP addresses.</p>
199
+ * @public
200
+ */
201
+ IpamCidrConfigs: IpamCidrConfig[] | undefined;
202
+ }
161
203
  /**
162
204
  * <p>An Anycast static IP list. For more information, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/request-static-ips.html">Request Anycast static IPs to use for allowlisting</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
163
205
  * @public
@@ -188,6 +230,11 @@ export interface AnycastIpList {
188
230
  * @public
189
231
  */
190
232
  IpAddressType?: IpAddressType | undefined;
233
+ /**
234
+ * <p>The IPAM configuration for the Anycast static IP list, that contains the quantity and list of IPAM CIDR configurations.</p>
235
+ * @public
236
+ */
237
+ IpamConfig?: IpamConfig | undefined;
191
238
  /**
192
239
  * <p>The static IP addresses that are allocated to the Anycast static IP list.</p>
193
240
  * @public
@@ -249,6 +296,11 @@ export interface AnycastIpListSummary {
249
296
  * @public
250
297
  */
251
298
  ETag?: string | undefined;
299
+ /**
300
+ * <p>The IPAM configuration for the Anycast static IP list, that contains the quantity and list of IPAM CIDR configurations.</p>
301
+ * @public
302
+ */
303
+ IpamConfig?: IpamConfig | undefined;
252
304
  }
253
305
  /**
254
306
  * <p>The Anycast static IP list collection.</p>
@@ -381,6 +433,65 @@ export interface AssociateDistributionWebACLResult {
381
433
  */
382
434
  ETag?: string | undefined;
383
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
+ }
384
495
  /**
385
496
  * <p>Contains a list of cookie names.</p>
386
497
  * @public
@@ -958,6 +1069,17 @@ export interface CopyDistributionRequest {
958
1069
  */
959
1070
  Enabled?: boolean | undefined;
960
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
+ }
961
1083
  /**
962
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>
963
1085
  * @public
@@ -1596,6 +1718,43 @@ export interface ViewerCertificate {
1596
1718
  */
1597
1719
  CertificateSource?: CertificateSource | undefined;
1598
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
+ }
1599
1758
  /**
1600
1759
  * <p>A distribution configuration.</p>
1601
1760
  * @public
@@ -1711,6 +1870,16 @@ export interface DistributionConfig {
1711
1870
  * @public
1712
1871
  */
1713
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;
1714
1883
  }
1715
1884
  /**
1716
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>
@@ -1835,10 +2004,15 @@ export interface CreateAnycastIpListRequest {
1835
2004
  */
1836
2005
  Tags?: Tags | undefined;
1837
2006
  /**
1838
- * <p>The IP address type for the Anycast static IP list. You can specify one of the following options:</p> <ul> <li> <p> <code>ipv4</code> - Allocate a list of only IPv4 addresses</p> </li> <li> <p> <code>ipv6</code> - Allocate a list of only IPv4 addresses</p> </li> <li> <p> <code>dualstack</code> - Allocate a list of both IPv4 and IPv6 addresses</p> </li> </ul>
2007
+ * <p>The IP address type for the Anycast static IP list. You can specify one of the following options:</p> <ul> <li> <p> <code>ipv4</code> only</p> </li> <li> <p> <code>ipv6</code> only </p> </li> <li> <p> <code>dualstack</code> - Allocate a list of both IPv4 and IPv6 addresses</p> </li> </ul>
1839
2008
  * @public
1840
2009
  */
1841
2010
  IpAddressType?: IpAddressType | undefined;
2011
+ /**
2012
+ * <p> A list of IPAM CIDR configurations that specify the IP address ranges and IPAM pool settings for creating the Anycast static IP list. </p>
2013
+ * @public
2014
+ */
2015
+ IpamCidrConfigs?: IpamCidrConfig[] | undefined;
1842
2016
  }
1843
2017
  /**
1844
2018
  * @public
@@ -1954,6 +2128,145 @@ export interface CreateCloudFrontOriginAccessIdentityResult {
1954
2128
  */
1955
2129
  ETag?: string | undefined;
1956
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
+ }
1957
2270
  /**
1958
2271
  * @public
1959
2272
  */
@@ -2864,85 +3177,37 @@ export interface CreateFieldLevelEncryptionProfileResult {
2864
3177
  ETag?: string | undefined;
2865
3178
  }
2866
3179
  /**
2867
- * <p>The key value store association.</p>
2868
3180
  * @public
2869
3181
  */
2870
- export interface KeyValueStoreAssociation {
3182
+ export interface CreateFunctionRequest {
2871
3183
  /**
2872
- * <p>The Amazon Resource Name (ARN) of the key value store association.</p>
3184
+ * <p>A name to identify the function.</p>
2873
3185
  * @public
2874
3186
  */
2875
- KeyValueStoreARN: string | undefined;
2876
- }
2877
- /**
2878
- * <p>The key value store associations.</p>
2879
- * @public
2880
- */
2881
- export interface KeyValueStoreAssociations {
3187
+ Name: string | undefined;
2882
3188
  /**
2883
- * <p>The quantity of key value store associations.</p>
3189
+ * <p>Configuration information about the function, including an optional comment and the function's runtime.</p>
2884
3190
  * @public
2885
3191
  */
2886
- Quantity: number | undefined;
3192
+ FunctionConfig: FunctionConfig | undefined;
2887
3193
  /**
2888
- * <p>The items of the key value store association.</p>
3194
+ * <p>The function code. For more information about writing a CloudFront function, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html">Writing function code for CloudFront Functions</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
2889
3195
  * @public
2890
3196
  */
2891
- Items?: KeyValueStoreAssociation[] | undefined;
3197
+ FunctionCode: Uint8Array | undefined;
2892
3198
  }
2893
3199
  /**
2894
- * <p>Contains configuration information about a CloudFront function.</p>
3200
+ * <p>Contains metadata about a CloudFront function.</p>
2895
3201
  * @public
2896
3202
  */
2897
- export interface FunctionConfig {
3203
+ export interface FunctionMetadata {
2898
3204
  /**
2899
- * <p>A comment to describe the function.</p>
3205
+ * <p>The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.</p>
2900
3206
  * @public
2901
3207
  */
2902
- Comment: string | undefined;
3208
+ FunctionARN: string | undefined;
2903
3209
  /**
2904
- * <p>The function's runtime environment version.</p>
2905
- * @public
2906
- */
2907
- Runtime: FunctionRuntime | undefined;
2908
- /**
2909
- * <p>The configuration for the key value store associations.</p>
2910
- * @public
2911
- */
2912
- KeyValueStoreAssociations?: KeyValueStoreAssociations | undefined;
2913
- }
2914
- /**
2915
- * @public
2916
- */
2917
- export interface CreateFunctionRequest {
2918
- /**
2919
- * <p>A name to identify the function.</p>
2920
- * @public
2921
- */
2922
- Name: string | undefined;
2923
- /**
2924
- * <p>Configuration information about the function, including an optional comment and the function's runtime.</p>
2925
- * @public
2926
- */
2927
- FunctionConfig: FunctionConfig | undefined;
2928
- /**
2929
- * <p>The function code. For more information about writing a CloudFront function, see <a href="https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/writing-function-code.html">Writing function code for CloudFront Functions</a> in the <i>Amazon CloudFront Developer Guide</i>.</p>
2930
- * @public
2931
- */
2932
- FunctionCode: Uint8Array | undefined;
2933
- }
2934
- /**
2935
- * <p>Contains metadata about a CloudFront function.</p>
2936
- * @public
2937
- */
2938
- export interface FunctionMetadata {
2939
- /**
2940
- * <p>The Amazon Resource Name (ARN) of the function. The ARN uniquely identifies the function.</p>
2941
- * @public
2942
- */
2943
- FunctionARN: string | undefined;
2944
- /**
2945
- * <p>The stage that the function is in, either <code>DEVELOPMENT</code> or <code>LIVE</code>.</p> <p>When a function is in the <code>DEVELOPMENT</code> stage, you can test the function with <code>TestFunction</code>, and update it with <code>UpdateFunction</code>.</p> <p>When a function is in the <code>LIVE</code> stage, you can attach the function to a distribution's cache behavior, using the function's ARN.</p>
3210
+ * <p>The stage that the function is in, either <code>DEVELOPMENT</code> or <code>LIVE</code>.</p> <p>When a function is in the <code>DEVELOPMENT</code> stage, you can test the function with <code>TestFunction</code>, and update it with <code>UpdateFunction</code>.</p> <p>When a function is in the <code>LIVE</code> stage, you can attach the function to a distribution's cache behavior, using the function's ARN.</p>
2946
3211
  * @public
2947
3212
  */
2948
3213
  Stage?: FunctionStage | undefined;
@@ -4344,6 +4609,82 @@ export interface CreateStreamingDistributionWithTagsResult {
4344
4609
  */
4345
4610
  ETag?: string | undefined;
4346
4611
  }
4612
+ /**
4613
+ * @public
4614
+ */
4615
+ export interface CreateTrustStoreRequest {
4616
+ /**
4617
+ * <p>A name for the trust store.</p>
4618
+ * @public
4619
+ */
4620
+ Name: string | undefined;
4621
+ /**
4622
+ * <p>The CA certificates bundle source for the trust store.</p>
4623
+ * @public
4624
+ */
4625
+ CaCertificatesBundleSource: CaCertificatesBundleSource | undefined;
4626
+ /**
4627
+ * <p>A complex type that contains zero or more <code>Tag</code> elements.</p>
4628
+ * @public
4629
+ */
4630
+ Tags?: Tags | undefined;
4631
+ }
4632
+ /**
4633
+ * <p>A trust store.</p>
4634
+ * @public
4635
+ */
4636
+ export interface TrustStore {
4637
+ /**
4638
+ * <p>The trust store's ID.</p>
4639
+ * @public
4640
+ */
4641
+ Id?: string | undefined;
4642
+ /**
4643
+ * <p>The trust store's Amazon Resource Name (ARN).</p>
4644
+ * @public
4645
+ */
4646
+ Arn?: string | undefined;
4647
+ /**
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
+ }
4347
4688
  /**
4348
4689
  * <p>An Amazon CloudFront VPC origin endpoint configuration.</p>
4349
4690
  * @public
@@ -4502,6 +4843,21 @@ export interface DeleteCloudFrontOriginAccessIdentityRequest {
4502
4843
  */
4503
4844
  IfMatch?: string | undefined;
4504
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
+ }
4505
4861
  /**
4506
4862
  * @public
4507
4863
  */
@@ -4754,6 +5110,21 @@ export interface DeleteStreamingDistributionRequest {
4754
5110
  */
4755
5111
  IfMatch?: string | undefined;
4756
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
+ }
4757
5128
  /**
4758
5129
  * @public
4759
5130
  */
@@ -4784,6 +5155,36 @@ export interface DeleteVpcOriginResult {
4784
5155
  */
4785
5156
  ETag?: string | undefined;
4786
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
+ }
4787
5188
  /**
4788
5189
  * @public
4789
5190
  */
@@ -5028,6 +5429,41 @@ export interface GetCloudFrontOriginAccessIdentityConfigResult {
5028
5429
  */
5029
5430
  ETag?: string | undefined;
5030
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
+ }
5031
5467
  /**
5032
5468
  * @public
5033
5469
  */
@@ -5479,255 +5915,3 @@ export interface GetManagedCertificateDetailsRequest {
5479
5915
  */
5480
5916
  Identifier: string | undefined;
5481
5917
  }
5482
- /**
5483
- * <p>Contains details about the validation token.</p>
5484
- * @public
5485
- */
5486
- export interface ValidationTokenDetail {
5487
- /**
5488
- * <p>The domain name.</p>
5489
- * @public
5490
- */
5491
- Domain: string | undefined;
5492
- /**
5493
- * <p>The domain to redirect to.</p>
5494
- * @public
5495
- */
5496
- RedirectTo?: string | undefined;
5497
- /**
5498
- * <p>The domain to redirect from.</p>
5499
- * @public
5500
- */
5501
- RedirectFrom?: string | undefined;
5502
- }
5503
- /**
5504
- * <p>Contains details about the CloudFront managed ACM certificate.</p>
5505
- * @public
5506
- */
5507
- export interface ManagedCertificateDetails {
5508
- /**
5509
- * <p>The ARN of the CloudFront managed ACM certificate.</p>
5510
- * @public
5511
- */
5512
- CertificateArn?: string | undefined;
5513
- /**
5514
- * <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>
5515
- * @public
5516
- */
5517
- CertificateStatus?: ManagedCertificateStatus | undefined;
5518
- /**
5519
- * <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>
5520
- * @public
5521
- */
5522
- ValidationTokenHost?: ValidationTokenHost | undefined;
5523
- /**
5524
- * <p>Contains details about the validation token of the specified CloudFront managed ACM certificate.</p>
5525
- * @public
5526
- */
5527
- ValidationTokenDetails?: ValidationTokenDetail[] | undefined;
5528
- }
5529
- /**
5530
- * @public
5531
- */
5532
- export interface GetManagedCertificateDetailsResult {
5533
- /**
5534
- * <p>Contains details about the CloudFront managed ACM certificate.</p>
5535
- * @public
5536
- */
5537
- ManagedCertificateDetails?: ManagedCertificateDetails | undefined;
5538
- }
5539
- /**
5540
- * @public
5541
- */
5542
- export interface GetMonitoringSubscriptionRequest {
5543
- /**
5544
- * <p>The ID of the distribution that you are getting metrics information for.</p>
5545
- * @public
5546
- */
5547
- DistributionId: string | undefined;
5548
- }
5549
- /**
5550
- * @public
5551
- */
5552
- export interface GetMonitoringSubscriptionResult {
5553
- /**
5554
- * <p>A monitoring subscription. This structure contains information about whether additional CloudWatch metrics are enabled for a given CloudFront distribution.</p>
5555
- * @public
5556
- */
5557
- MonitoringSubscription?: MonitoringSubscription | undefined;
5558
- }
5559
- /**
5560
- * @public
5561
- */
5562
- export interface GetOriginAccessControlRequest {
5563
- /**
5564
- * <p>The unique identifier of the origin access control.</p>
5565
- * @public
5566
- */
5567
- Id: string | undefined;
5568
- }
5569
- /**
5570
- * @public
5571
- */
5572
- export interface GetOriginAccessControlResult {
5573
- /**
5574
- * <p>Contains an origin access control, including its unique identifier.</p>
5575
- * @public
5576
- */
5577
- OriginAccessControl?: OriginAccessControl | undefined;
5578
- /**
5579
- * <p>The version identifier for the current version of the origin access control.</p>
5580
- * @public
5581
- */
5582
- ETag?: string | undefined;
5583
- }
5584
- /**
5585
- * @public
5586
- */
5587
- export interface GetOriginAccessControlConfigRequest {
5588
- /**
5589
- * <p>The unique identifier of the origin access control.</p>
5590
- * @public
5591
- */
5592
- Id: string | undefined;
5593
- }
5594
- /**
5595
- * @public
5596
- */
5597
- export interface GetOriginAccessControlConfigResult {
5598
- /**
5599
- * <p>Contains an origin access control configuration.</p>
5600
- * @public
5601
- */
5602
- OriginAccessControlConfig?: OriginAccessControlConfig | undefined;
5603
- /**
5604
- * <p>The version identifier for the current version of the origin access control.</p>
5605
- * @public
5606
- */
5607
- ETag?: string | undefined;
5608
- }
5609
- /**
5610
- * @public
5611
- */
5612
- export interface GetOriginRequestPolicyRequest {
5613
- /**
5614
- * <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>
5615
- * @public
5616
- */
5617
- Id: string | undefined;
5618
- }
5619
- /**
5620
- * @public
5621
- */
5622
- export interface GetOriginRequestPolicyResult {
5623
- /**
5624
- * <p>The origin request policy.</p>
5625
- * @public
5626
- */
5627
- OriginRequestPolicy?: OriginRequestPolicy | undefined;
5628
- /**
5629
- * <p>The current version of the origin request policy.</p>
5630
- * @public
5631
- */
5632
- ETag?: string | undefined;
5633
- }
5634
- /**
5635
- * @public
5636
- */
5637
- export interface GetOriginRequestPolicyConfigRequest {
5638
- /**
5639
- * <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>
5640
- * @public
5641
- */
5642
- Id: string | undefined;
5643
- }
5644
- /**
5645
- * @public
5646
- */
5647
- export interface GetOriginRequestPolicyConfigResult {
5648
- /**
5649
- * <p>The origin request policy configuration.</p>
5650
- * @public
5651
- */
5652
- OriginRequestPolicyConfig?: OriginRequestPolicyConfig | undefined;
5653
- /**
5654
- * <p>The current version of the origin request policy.</p>
5655
- * @public
5656
- */
5657
- ETag?: string | undefined;
5658
- }
5659
- /**
5660
- * @public
5661
- */
5662
- export interface GetPublicKeyRequest {
5663
- /**
5664
- * <p>The identifier of the public key you are getting.</p>
5665
- * @public
5666
- */
5667
- Id: string | undefined;
5668
- }
5669
- /**
5670
- * @public
5671
- */
5672
- export interface GetPublicKeyResult {
5673
- /**
5674
- * <p>The public key.</p>
5675
- * @public
5676
- */
5677
- PublicKey?: PublicKey | undefined;
5678
- /**
5679
- * <p>The identifier for this version of the public key.</p>
5680
- * @public
5681
- */
5682
- ETag?: string | undefined;
5683
- }
5684
- /**
5685
- * @public
5686
- */
5687
- export interface GetPublicKeyConfigRequest {
5688
- /**
5689
- * <p>The identifier of the public key whose configuration you are getting.</p>
5690
- * @public
5691
- */
5692
- Id: string | undefined;
5693
- }
5694
- /**
5695
- * @public
5696
- */
5697
- export interface GetPublicKeyConfigResult {
5698
- /**
5699
- * <p>A public key configuration.</p>
5700
- * @public
5701
- */
5702
- PublicKeyConfig?: PublicKeyConfig | undefined;
5703
- /**
5704
- * <p>The identifier for this version of the public key configuration.</p>
5705
- * @public
5706
- */
5707
- ETag?: string | undefined;
5708
- }
5709
- /**
5710
- * @public
5711
- */
5712
- export interface GetRealtimeLogConfigRequest {
5713
- /**
5714
- * <p>The name of the real-time log configuration to get.</p>
5715
- * @public
5716
- */
5717
- Name?: string | undefined;
5718
- /**
5719
- * <p>The Amazon Resource Name (ARN) of the real-time log configuration to get.</p>
5720
- * @public
5721
- */
5722
- ARN?: string | undefined;
5723
- }
5724
- /**
5725
- * @public
5726
- */
5727
- export interface GetRealtimeLogConfigResult {
5728
- /**
5729
- * <p>A real-time log configuration.</p>
5730
- * @public
5731
- */
5732
- RealtimeLogConfig?: RealtimeLogConfig | undefined;
5733
- }