@aws-sdk/client-cloudfront 3.1046.0 → 3.1048.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/dist-cjs/endpoint/endpointResolver.js +2 -2
- package/dist-cjs/index.js +10 -13
- package/dist-cjs/runtimeConfig.browser.js +5 -5
- package/dist-cjs/runtimeConfig.js +2 -3
- package/dist-cjs/schemas/schemas_0.js +7 -6
- package/dist-es/CloudFrontClient.js +1 -4
- package/dist-es/endpoint/endpointResolver.js +1 -1
- package/dist-es/models/enums.js +1 -0
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +1 -2
- package/dist-es/runtimeExtensions.js +1 -1
- package/dist-es/schemas/schemas_0.js +7 -6
- package/dist-types/CloudFrontClient.d.ts +1 -2
- package/dist-types/commands/CopyDistributionCommand.d.ts +1 -1
- package/dist-types/commands/CreateDistributionCommand.d.ts +2 -2
- package/dist-types/commands/CreateDistributionWithTagsCommand.d.ts +2 -2
- package/dist-types/commands/CreateTrustStoreCommand.d.ts +2 -0
- package/dist-types/commands/GetDistributionCommand.d.ts +1 -1
- package/dist-types/commands/GetDistributionConfigCommand.d.ts +1 -1
- package/dist-types/commands/GetTrustStoreCommand.d.ts +1 -0
- package/dist-types/commands/ListDistributionsByAnycastIpListIdCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByConnectionFunctionCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByConnectionModeCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByRealtimeLogConfigCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByTrustStoreCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsByWebACLIdCommand.d.ts +1 -1
- package/dist-types/commands/ListDistributionsCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDistributionCommand.d.ts +2 -2
- package/dist-types/commands/UpdateDistributionWithStagingConfigCommand.d.ts +1 -1
- package/dist-types/commands/UpdateTrustStoreCommand.d.ts +2 -0
- package/dist-types/models/enums.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +11 -1
- package/dist-types/models/models_1.d.ts +6 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/CloudFrontClient.d.ts +1 -3
- package/dist-types/ts3.4/models/enums.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/dist-types/ts3.4/models/models_1.d.ts +2 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +7 -15
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.defaultEndpointResolver = void 0;
|
|
4
|
-
const
|
|
4
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
5
5
|
const endpoints_1 = require("@smithy/core/endpoints");
|
|
6
6
|
const bdd_1 = require("./bdd");
|
|
7
7
|
const cache = new endpoints_1.EndpointCache({
|
|
@@ -15,4 +15,4 @@ const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
|
15
15
|
}));
|
|
16
16
|
};
|
|
17
17
|
exports.defaultEndpointResolver = defaultEndpointResolver;
|
|
18
|
-
endpoints_1.customEndpointFunctions.aws =
|
|
18
|
+
endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var middlewareLogger = require('@aws-sdk/middleware-logger');
|
|
5
|
-
var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
|
|
6
|
-
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
3
|
+
var client$1 = require('@aws-sdk/core/client');
|
|
7
4
|
var core = require('@smithy/core');
|
|
8
5
|
var client = require('@smithy/core/client');
|
|
9
6
|
var config = require('@smithy/core/config');
|
|
@@ -13,7 +10,6 @@ var retry = require('@smithy/core/retry');
|
|
|
13
10
|
var schema = require('@smithy/core/schema');
|
|
14
11
|
var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
15
12
|
var runtimeConfig = require('./runtimeConfig');
|
|
16
|
-
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
17
13
|
var schemas_0 = require('./schemas/schemas_0');
|
|
18
14
|
var errors = require('./models/errors');
|
|
19
15
|
var CloudFrontServiceException = require('./models/CloudFrontServiceException');
|
|
@@ -72,9 +68,9 @@ const resolveHttpAuthRuntimeConfig = (config) => {
|
|
|
72
68
|
};
|
|
73
69
|
|
|
74
70
|
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
75
|
-
const extensionConfiguration = Object.assign(
|
|
71
|
+
const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
76
72
|
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
77
|
-
return Object.assign(runtimeConfig,
|
|
73
|
+
return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
78
74
|
};
|
|
79
75
|
|
|
80
76
|
class CloudFrontClient extends client.Client {
|
|
@@ -84,21 +80,21 @@ class CloudFrontClient extends client.Client {
|
|
|
84
80
|
super(_config_0);
|
|
85
81
|
this.initConfig = _config_0;
|
|
86
82
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
87
|
-
const _config_2 =
|
|
83
|
+
const _config_2 = client$1.resolveUserAgentConfig(_config_1);
|
|
88
84
|
const _config_3 = retry.resolveRetryConfig(_config_2);
|
|
89
85
|
const _config_4 = config.resolveRegionConfig(_config_3);
|
|
90
|
-
const _config_5 =
|
|
86
|
+
const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
|
|
91
87
|
const _config_6 = endpoints.resolveEndpointConfig(_config_5);
|
|
92
88
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
89
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
90
|
this.config = _config_8;
|
|
95
91
|
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
96
|
-
this.middlewareStack.use(
|
|
92
|
+
this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
|
|
97
93
|
this.middlewareStack.use(retry.getRetryPlugin(this.config));
|
|
98
94
|
this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
|
|
99
|
-
this.middlewareStack.use(
|
|
100
|
-
this.middlewareStack.use(
|
|
101
|
-
this.middlewareStack.use(
|
|
95
|
+
this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
|
|
96
|
+
this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
|
|
97
|
+
this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
|
|
102
98
|
this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
103
99
|
httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultCloudFrontHttpAuthSchemeParametersProvider,
|
|
104
100
|
identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({
|
|
@@ -2610,6 +2606,7 @@ const SSLSupportMethod = {
|
|
|
2610
2606
|
};
|
|
2611
2607
|
const ViewerMtlsMode = {
|
|
2612
2608
|
Optional: "optional",
|
|
2609
|
+
Passthrough: "passthrough",
|
|
2613
2610
|
Required: "required",
|
|
2614
2611
|
};
|
|
2615
2612
|
const FunctionRuntime = {
|
|
@@ -4,8 +4,8 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
6
|
const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
7
|
-
const
|
|
8
|
-
const
|
|
7
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
8
|
+
const client_2 = require("@smithy/core/client");
|
|
9
9
|
const config_1 = require("@smithy/core/config");
|
|
10
10
|
const retry_1 = require("@smithy/core/retry");
|
|
11
11
|
const serde_1 = require("@smithy/core/serde");
|
|
@@ -13,7 +13,7 @@ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
|
|
|
13
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
14
14
|
const getRuntimeConfig = (config) => {
|
|
15
15
|
const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
|
|
16
|
-
const defaultConfigProvider = () => defaultsMode().then(
|
|
16
|
+
const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
|
|
17
17
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
18
18
|
return {
|
|
19
19
|
...clientSharedValues,
|
|
@@ -22,9 +22,9 @@ const getRuntimeConfig = (config) => {
|
|
|
22
22
|
defaultsMode,
|
|
23
23
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
24
24
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
25
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,
|
|
25
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
26
26
|
maxAttempts: config?.maxAttempts ?? retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
27
|
-
region: config?.region ?? (0,
|
|
27
|
+
region: config?.region ?? (0, client_2.invalidProvider)("Region is missing"),
|
|
28
28
|
requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
29
29
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE),
|
|
30
30
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
@@ -6,7 +6,6 @@ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
|
6
6
|
const client_1 = require("@aws-sdk/core/client");
|
|
7
7
|
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
8
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
9
|
-
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
10
9
|
const client_2 = require("@smithy/core/client");
|
|
11
10
|
const config_1 = require("@smithy/core/config");
|
|
12
11
|
const retry_1 = require("@smithy/core/retry");
|
|
@@ -31,7 +30,7 @@ const getRuntimeConfig = (config) => {
|
|
|
31
30
|
authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
32
31
|
bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
|
|
33
32
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
34
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0,
|
|
33
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
35
34
|
maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
36
35
|
region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, { ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
37
36
|
requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
@@ -44,7 +43,7 @@ const getRuntimeConfig = (config) => {
|
|
|
44
43
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
45
44
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
46
45
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
47
|
-
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(
|
|
46
|
+
userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(client_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
48
47
|
};
|
|
49
48
|
};
|
|
50
49
|
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -1085,6 +1085,7 @@ const _Tag = "Tag";
|
|
|
1085
1085
|
const _UAIL = "UpdateAnycastIpList";
|
|
1086
1086
|
const _UAILR = "UpdateAnycastIpListRequest";
|
|
1087
1087
|
const _UAILRp = "UpdateAnycastIpListResult";
|
|
1088
|
+
const _UCCOCSPE = "UseClientCertificateOCSPEndpoint";
|
|
1088
1089
|
const _UCDP = "UpdateContinuousDeploymentPolicy";
|
|
1089
1090
|
const _UCDPR = "UpdateContinuousDeploymentPolicyRequest";
|
|
1090
1091
|
const _UCDPRp = "UpdateContinuousDeploymentPolicyResult";
|
|
@@ -2617,8 +2618,8 @@ exports.CreateStreamingDistributionWithTagsResult$ = [3, n0, _CSDWTRr,
|
|
|
2617
2618
|
];
|
|
2618
2619
|
exports.CreateTrustStoreRequest$ = [3, n0, _CTSR,
|
|
2619
2620
|
0,
|
|
2620
|
-
[_N, _CCBS, _Ta],
|
|
2621
|
-
[0, () => exports.CaCertificatesBundleSource$, [() => exports.Tags$, 0]], 2
|
|
2621
|
+
[_N, _CCBS, _UCCOCSPE, _Ta],
|
|
2622
|
+
[0, () => exports.CaCertificatesBundleSource$, 2, [() => exports.Tags$, 0]], 2
|
|
2622
2623
|
];
|
|
2623
2624
|
exports.CreateTrustStoreResult$ = [3, n0, _CTSRr,
|
|
2624
2625
|
0,
|
|
@@ -4402,8 +4403,8 @@ exports.TrustedSigners$ = [3, n0, _TS,
|
|
|
4402
4403
|
];
|
|
4403
4404
|
exports.TrustStore$ = [3, n0, _TSr,
|
|
4404
4405
|
0,
|
|
4405
|
-
[_Id, _Ar, _N, _S, _NOCC, _LMT, _Rea],
|
|
4406
|
-
[0, 0, 0, 0, 1, 4, 0]
|
|
4406
|
+
[_Id, _Ar, _N, _S, _NOCC, _LMT, _Rea, _UCCOCSPE],
|
|
4407
|
+
[0, 0, 0, 0, 1, 4, 0, 2]
|
|
4407
4408
|
];
|
|
4408
4409
|
exports.TrustStoreConfig$ = [3, n0, _TSC,
|
|
4409
4410
|
0,
|
|
@@ -4632,8 +4633,8 @@ exports.UpdateStreamingDistributionResult$ = [3, n0, _USDRp,
|
|
|
4632
4633
|
];
|
|
4633
4634
|
exports.UpdateTrustStoreRequest$ = [3, n0, _UTSR,
|
|
4634
4635
|
0,
|
|
4635
|
-
[_Id, _CCBS,
|
|
4636
|
-
[[0, 1], [() => exports.CaCertificatesBundleSource$, 16], [
|
|
4636
|
+
[_Id, _IM, _CCBS, _UCCOCSPE],
|
|
4637
|
+
[[0, 1], [0, { [_hH]: _IM_ }], [() => exports.CaCertificatesBundleSource$, 16], [2, { [_hH]: _UCCOCSPE }]], 2
|
|
4637
4638
|
];
|
|
4638
4639
|
exports.UpdateTrustStoreResult$ = [3, n0, _UTSRp,
|
|
4639
4640
|
0,
|
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/
|
|
2
|
-
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
3
|
-
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
4
|
-
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
1
|
+
import { getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getUserAgentPlugin, resolveHostHeaderConfig, resolveUserAgentConfig, } from "@aws-sdk/core/client";
|
|
5
2
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
6
3
|
import { Client as __Client, } from "@smithy/core/client";
|
|
7
4
|
import { resolveRegionConfig } from "@smithy/core/config";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { awsEndpointFunctions } from "@aws-sdk/
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/core/client";
|
|
2
2
|
import { customEndpointFunctions, decideEndpoint, EndpointCache } from "@smithy/core/endpoints";
|
|
3
3
|
import { bdd } from "./bdd";
|
|
4
4
|
const cache = new EndpointCache({
|
package/dist-es/models/enums.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
3
|
-
import { createDefaultUserAgentProvider } from "@aws-sdk/
|
|
3
|
+
import { createDefaultUserAgentProvider } from "@aws-sdk/core/client";
|
|
4
4
|
import { invalidProvider, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
5
5
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
6
6
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/core/retry";
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
|
|
2
|
+
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
|
|
3
3
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
|
-
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
6
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
7
6
|
import { loadConfig as loadNodeConfig, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, resolveDefaultsModeConfig, } from "@smithy/core/config";
|
|
8
7
|
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@smithy/core/retry";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration
|
|
1
|
+
import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration } from "@aws-sdk/core/client";
|
|
2
2
|
import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/core/client";
|
|
3
3
|
import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/core/protocols";
|
|
4
4
|
import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
|
|
@@ -1066,6 +1066,7 @@ const _Tag = "Tag";
|
|
|
1066
1066
|
const _UAIL = "UpdateAnycastIpList";
|
|
1067
1067
|
const _UAILR = "UpdateAnycastIpListRequest";
|
|
1068
1068
|
const _UAILRp = "UpdateAnycastIpListResult";
|
|
1069
|
+
const _UCCOCSPE = "UseClientCertificateOCSPEndpoint";
|
|
1069
1070
|
const _UCDP = "UpdateContinuousDeploymentPolicy";
|
|
1070
1071
|
const _UCDPR = "UpdateContinuousDeploymentPolicyRequest";
|
|
1071
1072
|
const _UCDPRp = "UpdateContinuousDeploymentPolicyResult";
|
|
@@ -2598,8 +2599,8 @@ export var CreateStreamingDistributionWithTagsResult$ = [3, n0, _CSDWTRr,
|
|
|
2598
2599
|
];
|
|
2599
2600
|
export var CreateTrustStoreRequest$ = [3, n0, _CTSR,
|
|
2600
2601
|
0,
|
|
2601
|
-
[_N, _CCBS, _Ta],
|
|
2602
|
-
[0, () => CaCertificatesBundleSource$, [() => Tags$, 0]], 2
|
|
2602
|
+
[_N, _CCBS, _UCCOCSPE, _Ta],
|
|
2603
|
+
[0, () => CaCertificatesBundleSource$, 2, [() => Tags$, 0]], 2
|
|
2603
2604
|
];
|
|
2604
2605
|
export var CreateTrustStoreResult$ = [3, n0, _CTSRr,
|
|
2605
2606
|
0,
|
|
@@ -4383,8 +4384,8 @@ export var TrustedSigners$ = [3, n0, _TS,
|
|
|
4383
4384
|
];
|
|
4384
4385
|
export var TrustStore$ = [3, n0, _TSr,
|
|
4385
4386
|
0,
|
|
4386
|
-
[_Id, _Ar, _N, _S, _NOCC, _LMT, _Rea],
|
|
4387
|
-
[0, 0, 0, 0, 1, 4, 0]
|
|
4387
|
+
[_Id, _Ar, _N, _S, _NOCC, _LMT, _Rea, _UCCOCSPE],
|
|
4388
|
+
[0, 0, 0, 0, 1, 4, 0, 2]
|
|
4388
4389
|
];
|
|
4389
4390
|
export var TrustStoreConfig$ = [3, n0, _TSC,
|
|
4390
4391
|
0,
|
|
@@ -4613,8 +4614,8 @@ export var UpdateStreamingDistributionResult$ = [3, n0, _USDRp,
|
|
|
4613
4614
|
];
|
|
4614
4615
|
export var UpdateTrustStoreRequest$ = [3, n0, _UTSR,
|
|
4615
4616
|
0,
|
|
4616
|
-
[_Id, _CCBS,
|
|
4617
|
-
[[0, 1], [() => CaCertificatesBundleSource$, 16], [
|
|
4617
|
+
[_Id, _IM, _CCBS, _UCCOCSPE],
|
|
4618
|
+
[[0, 1], [0, { [_hH]: _IM_ }], [() => CaCertificatesBundleSource$, 16], [2, { [_hH]: _UCCOCSPE }]], 2
|
|
4618
4619
|
];
|
|
4619
4620
|
export var UpdateTrustStoreResult$ = [3, n0, _UTSRp,
|
|
4620
4621
|
0,
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/
|
|
2
|
-
import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
1
|
+
import { type HostHeaderInputConfig, type HostHeaderResolvedConfig, type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/core/client";
|
|
3
2
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/core/client";
|
|
4
3
|
import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/core/config";
|
|
5
4
|
import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/core/endpoints";
|
|
@@ -407,7 +407,7 @@ declare const CopyDistributionCommand_base: {
|
|
|
407
407
|
* // },
|
|
408
408
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
409
409
|
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
410
|
-
* // Mode: "required" || "optional",
|
|
410
|
+
* // Mode: "required" || "optional" || "passthrough",
|
|
411
411
|
* // TrustStoreConfig: { // TrustStoreConfig
|
|
412
412
|
* // TrustStoreId: "STRING_VALUE", // required
|
|
413
413
|
* // AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -361,7 +361,7 @@ declare const CreateDistributionCommand_base: {
|
|
|
361
361
|
* },
|
|
362
362
|
* ConnectionMode: "direct" || "tenant-only",
|
|
363
363
|
* ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
364
|
-
* Mode: "required" || "optional",
|
|
364
|
+
* Mode: "required" || "optional" || "passthrough",
|
|
365
365
|
* TrustStoreConfig: { // TrustStoreConfig
|
|
366
366
|
* TrustStoreId: "STRING_VALUE", // required
|
|
367
367
|
* AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -738,7 +738,7 @@ declare const CreateDistributionCommand_base: {
|
|
|
738
738
|
* // },
|
|
739
739
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
740
740
|
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
741
|
-
* // Mode: "required" || "optional",
|
|
741
|
+
* // Mode: "required" || "optional" || "passthrough",
|
|
742
742
|
* // TrustStoreConfig: { // TrustStoreConfig
|
|
743
743
|
* // TrustStoreId: "STRING_VALUE", // required
|
|
744
744
|
* // AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -362,7 +362,7 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
362
362
|
* },
|
|
363
363
|
* ConnectionMode: "direct" || "tenant-only",
|
|
364
364
|
* ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
365
|
-
* Mode: "required" || "optional",
|
|
365
|
+
* Mode: "required" || "optional" || "passthrough",
|
|
366
366
|
* TrustStoreConfig: { // TrustStoreConfig
|
|
367
367
|
* TrustStoreId: "STRING_VALUE", // required
|
|
368
368
|
* AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -748,7 +748,7 @@ declare const CreateDistributionWithTagsCommand_base: {
|
|
|
748
748
|
* // },
|
|
749
749
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
750
750
|
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
751
|
-
* // Mode: "required" || "optional",
|
|
751
|
+
* // Mode: "required" || "optional" || "passthrough",
|
|
752
752
|
* // TrustStoreConfig: { // TrustStoreConfig
|
|
753
753
|
* // TrustStoreId: "STRING_VALUE", // required
|
|
754
754
|
* // AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -48,6 +48,7 @@ declare const CreateTrustStoreCommand_base: {
|
|
|
48
48
|
* Version: "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
50
|
* },
|
|
51
|
+
* UseClientCertificateOCSPEndpoint: true || false,
|
|
51
52
|
* Tags: { // Tags
|
|
52
53
|
* Items: [ // TagList
|
|
53
54
|
* { // Tag
|
|
@@ -68,6 +69,7 @@ declare const CreateTrustStoreCommand_base: {
|
|
|
68
69
|
* // NumberOfCaCertificates: Number("int"),
|
|
69
70
|
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
70
71
|
* // Reason: "STRING_VALUE",
|
|
72
|
+
* // UseClientCertificateOCSPEndpoint: true || false,
|
|
71
73
|
* // },
|
|
72
74
|
* // ETag: "STRING_VALUE",
|
|
73
75
|
* // };
|
|
@@ -403,7 +403,7 @@ declare const GetDistributionCommand_base: {
|
|
|
403
403
|
* // },
|
|
404
404
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
405
405
|
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
406
|
-
* // Mode: "required" || "optional",
|
|
406
|
+
* // Mode: "required" || "optional" || "passthrough",
|
|
407
407
|
* // TrustStoreConfig: { // TrustStoreConfig
|
|
408
408
|
* // TrustStoreId: "STRING_VALUE", // required
|
|
409
409
|
* // AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -366,7 +366,7 @@ declare const GetDistributionConfigCommand_base: {
|
|
|
366
366
|
* // },
|
|
367
367
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
368
368
|
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
369
|
-
* // Mode: "required" || "optional",
|
|
369
|
+
* // Mode: "required" || "optional" || "passthrough",
|
|
370
370
|
* // TrustStoreConfig: { // TrustStoreConfig
|
|
371
371
|
* // TrustStoreId: "STRING_VALUE", // required
|
|
372
372
|
* // AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -52,6 +52,7 @@ declare const GetTrustStoreCommand_base: {
|
|
|
52
52
|
* // NumberOfCaCertificates: Number("int"),
|
|
53
53
|
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
54
54
|
* // Reason: "STRING_VALUE",
|
|
55
|
+
* // UseClientCertificateOCSPEndpoint: true || false,
|
|
55
56
|
* // },
|
|
56
57
|
* // ETag: "STRING_VALUE",
|
|
57
58
|
* // };
|
|
@@ -364,7 +364,7 @@ declare const ListDistributionsByAnycastIpListIdCommand_base: {
|
|
|
364
364
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
365
365
|
* // AnycastIpListId: "STRING_VALUE",
|
|
366
366
|
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
367
|
-
* // Mode: "required" || "optional",
|
|
367
|
+
* // Mode: "required" || "optional" || "passthrough",
|
|
368
368
|
* // TrustStoreConfig: { // TrustStoreConfig
|
|
369
369
|
* // TrustStoreId: "STRING_VALUE", // required
|
|
370
370
|
* // AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -364,7 +364,7 @@ declare const ListDistributionsByConnectionFunctionCommand_base: {
|
|
|
364
364
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
365
365
|
* // AnycastIpListId: "STRING_VALUE",
|
|
366
366
|
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
367
|
-
* // Mode: "required" || "optional",
|
|
367
|
+
* // Mode: "required" || "optional" || "passthrough",
|
|
368
368
|
* // TrustStoreConfig: { // TrustStoreConfig
|
|
369
369
|
* // TrustStoreId: "STRING_VALUE", // required
|
|
370
370
|
* // AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -364,7 +364,7 @@ declare const ListDistributionsByConnectionModeCommand_base: {
|
|
|
364
364
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
365
365
|
* // AnycastIpListId: "STRING_VALUE",
|
|
366
366
|
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
367
|
-
* // Mode: "required" || "optional",
|
|
367
|
+
* // Mode: "required" || "optional" || "passthrough",
|
|
368
368
|
* // TrustStoreConfig: { // TrustStoreConfig
|
|
369
369
|
* // TrustStoreId: "STRING_VALUE", // required
|
|
370
370
|
* // AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -365,7 +365,7 @@ declare const ListDistributionsByRealtimeLogConfigCommand_base: {
|
|
|
365
365
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
366
366
|
* // AnycastIpListId: "STRING_VALUE",
|
|
367
367
|
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
368
|
-
* // Mode: "required" || "optional",
|
|
368
|
+
* // Mode: "required" || "optional" || "passthrough",
|
|
369
369
|
* // TrustStoreConfig: { // TrustStoreConfig
|
|
370
370
|
* // TrustStoreId: "STRING_VALUE", // required
|
|
371
371
|
* // AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -364,7 +364,7 @@ declare const ListDistributionsByTrustStoreCommand_base: {
|
|
|
364
364
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
365
365
|
* // AnycastIpListId: "STRING_VALUE",
|
|
366
366
|
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
367
|
-
* // Mode: "required" || "optional",
|
|
367
|
+
* // Mode: "required" || "optional" || "passthrough",
|
|
368
368
|
* // TrustStoreConfig: { // TrustStoreConfig
|
|
369
369
|
* // TrustStoreId: "STRING_VALUE", // required
|
|
370
370
|
* // AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -364,7 +364,7 @@ declare const ListDistributionsByWebACLIdCommand_base: {
|
|
|
364
364
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
365
365
|
* // AnycastIpListId: "STRING_VALUE",
|
|
366
366
|
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
367
|
-
* // Mode: "required" || "optional",
|
|
367
|
+
* // Mode: "required" || "optional" || "passthrough",
|
|
368
368
|
* // TrustStoreConfig: { // TrustStoreConfig
|
|
369
369
|
* // TrustStoreId: "STRING_VALUE", // required
|
|
370
370
|
* // AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -363,7 +363,7 @@ declare const ListDistributionsCommand_base: {
|
|
|
363
363
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
364
364
|
* // AnycastIpListId: "STRING_VALUE",
|
|
365
365
|
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
366
|
-
* // Mode: "required" || "optional",
|
|
366
|
+
* // Mode: "required" || "optional" || "passthrough",
|
|
367
367
|
* // TrustStoreConfig: { // TrustStoreConfig
|
|
368
368
|
* // TrustStoreId: "STRING_VALUE", // required
|
|
369
369
|
* // AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -361,7 +361,7 @@ declare const UpdateDistributionCommand_base: {
|
|
|
361
361
|
* },
|
|
362
362
|
* ConnectionMode: "direct" || "tenant-only",
|
|
363
363
|
* ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
364
|
-
* Mode: "required" || "optional",
|
|
364
|
+
* Mode: "required" || "optional" || "passthrough",
|
|
365
365
|
* TrustStoreConfig: { // TrustStoreConfig
|
|
366
366
|
* TrustStoreId: "STRING_VALUE", // required
|
|
367
367
|
* AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -740,7 +740,7 @@ declare const UpdateDistributionCommand_base: {
|
|
|
740
740
|
* // },
|
|
741
741
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
742
742
|
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
743
|
-
* // Mode: "required" || "optional",
|
|
743
|
+
* // Mode: "required" || "optional" || "passthrough",
|
|
744
744
|
* // TrustStoreConfig: { // TrustStoreConfig
|
|
745
745
|
* // TrustStoreId: "STRING_VALUE", // required
|
|
746
746
|
* // AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -405,7 +405,7 @@ declare const UpdateDistributionWithStagingConfigCommand_base: {
|
|
|
405
405
|
* // },
|
|
406
406
|
* // ConnectionMode: "direct" || "tenant-only",
|
|
407
407
|
* // ViewerMtlsConfig: { // ViewerMtlsConfig
|
|
408
|
-
* // Mode: "required" || "optional",
|
|
408
|
+
* // Mode: "required" || "optional" || "passthrough",
|
|
409
409
|
* // TrustStoreConfig: { // TrustStoreConfig
|
|
410
410
|
* // TrustStoreId: "STRING_VALUE", // required
|
|
411
411
|
* // AdvertiseTrustStoreCaNames: true || false,
|
|
@@ -48,6 +48,7 @@ declare const UpdateTrustStoreCommand_base: {
|
|
|
48
48
|
* Version: "STRING_VALUE",
|
|
49
49
|
* },
|
|
50
50
|
* },
|
|
51
|
+
* UseClientCertificateOCSPEndpoint: true || false,
|
|
51
52
|
* IfMatch: "STRING_VALUE", // required
|
|
52
53
|
* };
|
|
53
54
|
* const command = new UpdateTrustStoreCommand(input);
|
|
@@ -61,6 +62,7 @@ declare const UpdateTrustStoreCommand_base: {
|
|
|
61
62
|
* // NumberOfCaCertificates: Number("int"),
|
|
62
63
|
* // LastModifiedTime: new Date("TIMESTAMP"),
|
|
63
64
|
* // Reason: "STRING_VALUE",
|
|
65
|
+
* // UseClientCertificateOCSPEndpoint: true || false,
|
|
64
66
|
* // },
|
|
65
67
|
* // ETag: "STRING_VALUE",
|
|
66
68
|
* // };
|
|
@@ -328,6 +328,7 @@ export type SSLSupportMethod = (typeof SSLSupportMethod)[keyof typeof SSLSupport
|
|
|
328
328
|
*/
|
|
329
329
|
export declare const ViewerMtlsMode: {
|
|
330
330
|
readonly Optional: "optional";
|
|
331
|
+
readonly Passthrough: "passthrough";
|
|
331
332
|
readonly Required: "required";
|
|
332
333
|
};
|
|
333
334
|
/**
|
|
@@ -1721,7 +1721,7 @@ export interface ViewerCertificate {
|
|
|
1721
1721
|
*/
|
|
1722
1722
|
ACMCertificateArn?: string | undefined;
|
|
1723
1723
|
/**
|
|
1724
|
-
* <p>If the distribution uses <code>Aliases</code> (alternate domain names or CNAMEs), specify which viewers the distribution accepts HTTPS connections from.</p> <ul> <li> <p> <code>sni-only</code> – The distribution accepts HTTPS connections from only viewers that support <a href="https://en.wikipedia.org/wiki/Server_Name_Indication">server name indication (SNI)</a>. This is recommended. Most browsers and clients support SNI.</p> </li> <li> <p> <code>vip</code> – The distribution accepts HTTPS connections from all viewers including those that don't support SNI. This is not recommended, and results in additional monthly charges from CloudFront.</p> </li> <li> <p> <code>static-ip</code> - Do not specify this value unless your distribution has been enabled for this feature by the CloudFront team. If you have a use case that requires static IP addresses for a distribution, contact CloudFront through the <a href="https://console.aws.amazon.com/support/home">Amazon Web
|
|
1724
|
+
* <p>If the distribution uses <code>Aliases</code> (alternate domain names or CNAMEs), specify which viewers the distribution accepts HTTPS connections from.</p> <ul> <li> <p> <code>sni-only</code> – The distribution accepts HTTPS connections from only viewers that support <a href="https://en.wikipedia.org/wiki/Server_Name_Indication">server name indication (SNI)</a>. This is recommended. Most browsers and clients support SNI.</p> </li> <li> <p> <code>vip</code> – The distribution accepts HTTPS connections from all viewers including those that don't support SNI. This is not recommended, and results in additional monthly charges from CloudFront.</p> </li> <li> <p> <code>static-ip</code> - Do not specify this value unless your distribution has been enabled for this feature by the CloudFront team. If you have a use case that requires static IP addresses for a distribution, contact CloudFront through the <a href="https://console.aws.amazon.com/support/home">Amazon Web Services Support Center</a>.</p> </li> </ul> <p>If the distribution uses the CloudFront domain name such as <code>d111111abcdef8.cloudfront.net</code>, don't set a value for this field.</p>
|
|
1725
1725
|
* @public
|
|
1726
1726
|
*/
|
|
1727
1727
|
SSLSupportMethod?: SSLSupportMethod | undefined;
|
|
@@ -4665,6 +4665,11 @@ export interface CreateTrustStoreRequest {
|
|
|
4665
4665
|
* @public
|
|
4666
4666
|
*/
|
|
4667
4667
|
CaCertificatesBundleSource: CaCertificatesBundleSource | undefined;
|
|
4668
|
+
/**
|
|
4669
|
+
* <p>A Boolean that determines whether to use the CA certificate's OCSP endpoint to check certificate revocation status.</p>
|
|
4670
|
+
* @public
|
|
4671
|
+
*/
|
|
4672
|
+
UseClientCertificateOCSPEndpoint?: boolean | undefined;
|
|
4668
4673
|
/**
|
|
4669
4674
|
* <p>A complex type that contains zero or more <code>Tag</code> elements.</p>
|
|
4670
4675
|
* @public
|
|
@@ -4711,6 +4716,11 @@ export interface TrustStore {
|
|
|
4711
4716
|
* @public
|
|
4712
4717
|
*/
|
|
4713
4718
|
Reason?: string | undefined;
|
|
4719
|
+
/**
|
|
4720
|
+
* <p>A Boolean that determines whether the trust store uses the CA certificate's OCSP endpoint to check certificate revocation status.</p>
|
|
4721
|
+
* @public
|
|
4722
|
+
*/
|
|
4723
|
+
UseClientCertificateOCSPEndpoint?: boolean | undefined;
|
|
4714
4724
|
}
|
|
4715
4725
|
/**
|
|
4716
4726
|
* @public
|
|
@@ -4008,7 +4008,12 @@ export interface UpdateTrustStoreRequest {
|
|
|
4008
4008
|
* <p>The CA certificates bundle source.</p>
|
|
4009
4009
|
* @public
|
|
4010
4010
|
*/
|
|
4011
|
-
CaCertificatesBundleSource
|
|
4011
|
+
CaCertificatesBundleSource?: CaCertificatesBundleSource | undefined;
|
|
4012
|
+
/**
|
|
4013
|
+
* <p>A Boolean that determines whether to use the CA certificate's OCSP endpoint to check certificate revocation status.</p>
|
|
4014
|
+
* @public
|
|
4015
|
+
*/
|
|
4016
|
+
UseClientCertificateOCSPEndpoint?: boolean | undefined;
|
|
4012
4017
|
/**
|
|
4013
4018
|
* <p>The current version (<code>ETag</code> value) of the trust store you are updating.</p>
|
|
4014
4019
|
* @public
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/core/client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/
|
|
11
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
14
14
|
requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
9
9
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
11
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
12
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/
|
|
12
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
14
14
|
region: string | import("@smithy/types").Provider<string>;
|
|
15
15
|
requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
|
|
@@ -26,7 +26,7 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
26
26
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
27
27
|
region: string | import("@smithy/types").Provider<any>;
|
|
28
28
|
profile?: string;
|
|
29
|
-
defaultUserAgentProvider: (config?: import("@aws-sdk/
|
|
29
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
30
30
|
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
31
31
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
32
32
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
HostHeaderInputConfig,
|
|
3
3
|
HostHeaderResolvedConfig,
|
|
4
|
-
} from "@aws-sdk/middleware-host-header";
|
|
5
|
-
import {
|
|
6
4
|
UserAgentInputConfig,
|
|
7
5
|
UserAgentResolvedConfig,
|
|
8
|
-
} from "@aws-sdk/
|
|
6
|
+
} from "@aws-sdk/core/client";
|
|
9
7
|
import {
|
|
10
8
|
DefaultsMode as __DefaultsMode,
|
|
11
9
|
SmithyConfiguration as __SmithyConfiguration,
|
|
@@ -179,6 +179,7 @@ export type SSLSupportMethod =
|
|
|
179
179
|
(typeof SSLSupportMethod)[keyof typeof SSLSupportMethod];
|
|
180
180
|
export declare const ViewerMtlsMode: {
|
|
181
181
|
readonly Optional: "optional";
|
|
182
|
+
readonly Passthrough: "passthrough";
|
|
182
183
|
readonly Required: "required";
|
|
183
184
|
};
|
|
184
185
|
export type ViewerMtlsMode =
|
|
@@ -1200,6 +1200,7 @@ export interface CreateStreamingDistributionWithTagsResult {
|
|
|
1200
1200
|
export interface CreateTrustStoreRequest {
|
|
1201
1201
|
Name: string | undefined;
|
|
1202
1202
|
CaCertificatesBundleSource: CaCertificatesBundleSource | undefined;
|
|
1203
|
+
UseClientCertificateOCSPEndpoint?: boolean | undefined;
|
|
1203
1204
|
Tags?: Tags | undefined;
|
|
1204
1205
|
}
|
|
1205
1206
|
export interface TrustStore {
|
|
@@ -1210,6 +1211,7 @@ export interface TrustStore {
|
|
|
1210
1211
|
NumberOfCaCertificates?: number | undefined;
|
|
1211
1212
|
LastModifiedTime?: Date | undefined;
|
|
1212
1213
|
Reason?: string | undefined;
|
|
1214
|
+
UseClientCertificateOCSPEndpoint?: boolean | undefined;
|
|
1213
1215
|
}
|
|
1214
1216
|
export interface CreateTrustStoreResult {
|
|
1215
1217
|
TrustStore?: TrustStore | undefined;
|
|
@@ -1087,7 +1087,8 @@ export interface UpdateStreamingDistributionResult {
|
|
|
1087
1087
|
}
|
|
1088
1088
|
export interface UpdateTrustStoreRequest {
|
|
1089
1089
|
Id: string | undefined;
|
|
1090
|
-
CaCertificatesBundleSource
|
|
1090
|
+
CaCertificatesBundleSource?: CaCertificatesBundleSource | undefined;
|
|
1091
|
+
UseClientCertificateOCSPEndpoint?: boolean | undefined;
|
|
1091
1092
|
IfMatch: string | undefined;
|
|
1092
1093
|
}
|
|
1093
1094
|
export interface UpdateTrustStoreResult {
|
|
@@ -12,7 +12,7 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
12
12
|
_: unknown
|
|
13
13
|
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
14
|
defaultUserAgentProvider: (
|
|
15
|
-
config?: import("@aws-sdk/
|
|
15
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
16
16
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
17
17
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
18
18
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -13,7 +13,7 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
13
13
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
14
|
) => import("@aws-sdk/credential-provider-node/dist-types/runtime/memoize-chain").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
|
|
15
15
|
defaultUserAgentProvider: (
|
|
16
|
-
config?: import("@aws-sdk/
|
|
16
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
17
17
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
18
18
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
19
19
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -34,7 +34,7 @@ export declare const getRuntimeConfig: (config: CloudFrontClientConfig) => {
|
|
|
34
34
|
region: string | import("@smithy/types").Provider<any>;
|
|
35
35
|
profile?: string;
|
|
36
36
|
defaultUserAgentProvider: (
|
|
37
|
-
config?: import("@aws-sdk/
|
|
37
|
+
config?: import("@aws-sdk/core/client").PreviouslyResolved
|
|
38
38
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
39
39
|
credentialDefaultProvider:
|
|
40
40
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-cloudfront",
|
|
3
3
|
"description": "AWS SDK for JavaScript Cloudfront Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1048.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-cloudfront",
|
|
@@ -27,25 +27,17 @@
|
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
29
29
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
30
|
-
"@aws-sdk/core": "^3.974.
|
|
31
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "^3.972.11",
|
|
33
|
-
"@aws-sdk/middleware-logger": "^3.972.10",
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.12",
|
|
35
|
-
"@aws-sdk/middleware-user-agent": "^3.972.39",
|
|
36
|
-
"@aws-sdk/region-config-resolver": "^3.972.14",
|
|
30
|
+
"@aws-sdk/core": "^3.974.11",
|
|
31
|
+
"@aws-sdk/credential-provider-node": "^3.972.42",
|
|
37
32
|
"@aws-sdk/types": "^3.973.8",
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
40
|
-
"@
|
|
41
|
-
"@smithy/core": "^3.24.1",
|
|
42
|
-
"@smithy/fetch-http-handler": "^5.4.1",
|
|
43
|
-
"@smithy/node-http-handler": "^4.7.1",
|
|
33
|
+
"@smithy/core": "^3.24.2",
|
|
34
|
+
"@smithy/fetch-http-handler": "^5.4.2",
|
|
35
|
+
"@smithy/node-http-handler": "^4.7.2",
|
|
44
36
|
"@smithy/types": "^4.14.1",
|
|
45
37
|
"tslib": "^2.6.2"
|
|
46
38
|
},
|
|
47
39
|
"devDependencies": {
|
|
48
|
-
"@smithy/snapshot-testing": "^2.1.
|
|
40
|
+
"@smithy/snapshot-testing": "^2.1.2",
|
|
49
41
|
"@tsconfig/node20": "20.1.8",
|
|
50
42
|
"@types/node": "^20.14.8",
|
|
51
43
|
"concurrently": "7.0.0",
|