@aws-sdk/client-codecatalyst 3.614.0 → 3.620.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/index.js +5 -5
- package/dist-es/CodeCatalystClient.js +5 -5
- package/dist-types/CodeCatalystClient.d.ts +2 -2
- 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/CodeCatalystClient.d.ts +2 -2
- 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 +15 -15
package/dist-cjs/index.js
CHANGED
|
@@ -195,19 +195,19 @@ var _CodeCatalystClient = class _CodeCatalystClient extends import_smithy_client
|
|
|
195
195
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
196
196
|
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
197
197
|
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
198
|
-
const _config_4 = (0,
|
|
199
|
-
const _config_5 = (0,
|
|
200
|
-
const _config_6 = (0,
|
|
198
|
+
const _config_4 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_3);
|
|
199
|
+
const _config_5 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_4);
|
|
200
|
+
const _config_6 = (0, import_middleware_retry.resolveRetryConfig)(_config_5);
|
|
201
201
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
202
202
|
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
203
203
|
super(_config_8);
|
|
204
204
|
this.config = _config_8;
|
|
205
|
-
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
206
|
-
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
207
205
|
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
208
206
|
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
209
207
|
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
210
208
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
209
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
210
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
211
211
|
this.middlewareStack.use(
|
|
212
212
|
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
213
213
|
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
@@ -19,19 +19,19 @@ export class CodeCatalystClient extends __Client {
|
|
|
19
19
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
20
20
|
const _config_2 = resolveRegionConfig(_config_1);
|
|
21
21
|
const _config_3 = resolveEndpointConfig(_config_2);
|
|
22
|
-
const _config_4 =
|
|
23
|
-
const _config_5 =
|
|
24
|
-
const _config_6 =
|
|
22
|
+
const _config_4 = resolveHostHeaderConfig(_config_3);
|
|
23
|
+
const _config_5 = resolveUserAgentConfig(_config_4);
|
|
24
|
+
const _config_6 = resolveRetryConfig(_config_5);
|
|
25
25
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
26
26
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
27
27
|
super(_config_8);
|
|
28
28
|
this.config = _config_8;
|
|
29
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
30
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
31
29
|
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
32
30
|
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
33
31
|
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
34
32
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
35
35
|
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
36
36
|
httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
|
|
37
37
|
identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
|
|
@@ -163,7 +163,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
163
163
|
/**
|
|
164
164
|
* @public
|
|
165
165
|
*/
|
|
166
|
-
export type CodeCatalystClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> &
|
|
166
|
+
export type CodeCatalystClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointInputConfig<EndpointParameters> & HostHeaderInputConfig & UserAgentInputConfig & RetryInputConfig & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
167
167
|
/**
|
|
168
168
|
* @public
|
|
169
169
|
*
|
|
@@ -174,7 +174,7 @@ export interface CodeCatalystClientConfig extends CodeCatalystClientConfigType {
|
|
|
174
174
|
/**
|
|
175
175
|
* @public
|
|
176
176
|
*/
|
|
177
|
-
export type CodeCatalystClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> &
|
|
177
|
+
export type CodeCatalystClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & RegionResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HostHeaderResolvedConfig & UserAgentResolvedConfig & RetryResolvedConfig & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
178
178
|
/**
|
|
179
179
|
* @public
|
|
180
180
|
*
|
|
@@ -31,8 +31,8 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
31
31
|
logger?: import("@smithy/types").Logger | undefined;
|
|
32
32
|
}) => import("@smithy/types").EndpointV2;
|
|
33
33
|
tls?: boolean | undefined;
|
|
34
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
35
34
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
35
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
36
36
|
httpAuthSchemes: {
|
|
37
37
|
schemeId: string;
|
|
38
38
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -38,8 +38,8 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
38
38
|
logger?: import("@smithy/types").Logger | undefined;
|
|
39
39
|
}) => import("@smithy/types").EndpointV2;
|
|
40
40
|
tls?: boolean | undefined;
|
|
41
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
42
41
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
42
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
43
43
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeCatalystHttpAuthSchemeProvider;
|
|
44
44
|
token?: import("@smithy/types").TokenIdentity | import("@smithy/types").TokenIdentityProvider | undefined;
|
|
45
45
|
};
|
|
@@ -30,8 +30,8 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
30
30
|
logger?: import("@smithy/types").Logger | undefined;
|
|
31
31
|
}) => import("@smithy/types").EndpointV2;
|
|
32
32
|
tls?: boolean | undefined;
|
|
33
|
-
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
33
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
34
|
+
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
35
35
|
httpAuthSchemes: {
|
|
36
36
|
schemeId: string;
|
|
37
37
|
identityProvider: (ipc: import("@smithy/types").IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity> | undefined;
|
|
@@ -311,9 +311,9 @@ export type CodeCatalystClientConfigType = Partial<
|
|
|
311
311
|
ClientDefaults &
|
|
312
312
|
RegionInputConfig &
|
|
313
313
|
EndpointInputConfig<EndpointParameters> &
|
|
314
|
-
RetryInputConfig &
|
|
315
314
|
HostHeaderInputConfig &
|
|
316
315
|
UserAgentInputConfig &
|
|
316
|
+
RetryInputConfig &
|
|
317
317
|
HttpAuthSchemeInputConfig &
|
|
318
318
|
ClientInputEndpointParameters;
|
|
319
319
|
export interface CodeCatalystClientConfig
|
|
@@ -324,9 +324,9 @@ export type CodeCatalystClientResolvedConfigType =
|
|
|
324
324
|
RuntimeExtensionsConfig &
|
|
325
325
|
RegionResolvedConfig &
|
|
326
326
|
EndpointResolvedConfig<EndpointParameters> &
|
|
327
|
-
RetryResolvedConfig &
|
|
328
327
|
HostHeaderResolvedConfig &
|
|
329
328
|
UserAgentResolvedConfig &
|
|
329
|
+
RetryResolvedConfig &
|
|
330
330
|
HttpAuthSchemeResolvedConfig &
|
|
331
331
|
ClientResolvedEndpointParameters;
|
|
332
332
|
export interface CodeCatalystClientResolvedConfig
|
|
@@ -53,11 +53,11 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
53
53
|
}
|
|
54
54
|
) => import("@smithy/types").EndpointV2;
|
|
55
55
|
tls?: boolean | undefined;
|
|
56
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
56
57
|
retryStrategy?:
|
|
57
58
|
| import("@smithy/types").RetryStrategy
|
|
58
59
|
| import("@smithy/types").RetryStrategyV2
|
|
59
60
|
| undefined;
|
|
60
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
61
61
|
httpAuthSchemes: {
|
|
62
62
|
schemeId: string;
|
|
63
63
|
identityProvider: (
|
|
@@ -66,11 +66,11 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
66
66
|
}
|
|
67
67
|
) => import("@smithy/types").EndpointV2;
|
|
68
68
|
tls?: boolean | undefined;
|
|
69
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
69
70
|
retryStrategy?:
|
|
70
71
|
| import("@smithy/types").RetryStrategy
|
|
71
72
|
| import("@smithy/types").RetryStrategyV2
|
|
72
73
|
| undefined;
|
|
73
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
74
74
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").CodeCatalystHttpAuthSchemeProvider;
|
|
75
75
|
token?:
|
|
76
76
|
| import("@smithy/types").TokenIdentity
|
|
@@ -47,11 +47,11 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
47
47
|
}
|
|
48
48
|
) => import("@smithy/types").EndpointV2;
|
|
49
49
|
tls?: boolean | undefined;
|
|
50
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
50
51
|
retryStrategy?:
|
|
51
52
|
| import("@smithy/types").RetryStrategy
|
|
52
53
|
| import("@smithy/types").RetryStrategyV2
|
|
53
54
|
| undefined;
|
|
54
|
-
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
55
55
|
httpAuthSchemes: {
|
|
56
56
|
schemeId: string;
|
|
57
57
|
identityProvider: (
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codecatalyst",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codecatalyst Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.620.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-codecatalyst",
|
|
@@ -20,11 +20,11 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
23
|
+
"@aws-sdk/core": "3.620.0",
|
|
24
|
+
"@aws-sdk/middleware-host-header": "3.620.0",
|
|
25
25
|
"@aws-sdk/middleware-logger": "3.609.0",
|
|
26
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
26
|
+
"@aws-sdk/middleware-recursion-detection": "3.620.0",
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.620.0",
|
|
28
28
|
"@aws-sdk/region-config-resolver": "3.614.0",
|
|
29
29
|
"@aws-sdk/token-providers": "3.614.0",
|
|
30
30
|
"@aws-sdk/types": "3.609.0",
|
|
@@ -32,26 +32,26 @@
|
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.609.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-node": "3.614.0",
|
|
34
34
|
"@smithy/config-resolver": "^3.0.5",
|
|
35
|
-
"@smithy/core": "^2.
|
|
36
|
-
"@smithy/fetch-http-handler": "^3.2.
|
|
35
|
+
"@smithy/core": "^2.3.0",
|
|
36
|
+
"@smithy/fetch-http-handler": "^3.2.3",
|
|
37
37
|
"@smithy/hash-node": "^3.0.3",
|
|
38
38
|
"@smithy/invalid-dependency": "^3.0.3",
|
|
39
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
40
|
-
"@smithy/middleware-endpoint": "^3.0
|
|
41
|
-
"@smithy/middleware-retry": "^3.0.
|
|
39
|
+
"@smithy/middleware-content-length": "^3.0.5",
|
|
40
|
+
"@smithy/middleware-endpoint": "^3.1.0",
|
|
41
|
+
"@smithy/middleware-retry": "^3.0.12",
|
|
42
42
|
"@smithy/middleware-serde": "^3.0.3",
|
|
43
43
|
"@smithy/middleware-stack": "^3.0.3",
|
|
44
44
|
"@smithy/node-config-provider": "^3.1.4",
|
|
45
|
-
"@smithy/node-http-handler": "^3.1.
|
|
46
|
-
"@smithy/protocol-http": "^4.0
|
|
47
|
-
"@smithy/smithy-client": "^3.1.
|
|
45
|
+
"@smithy/node-http-handler": "^3.1.4",
|
|
46
|
+
"@smithy/protocol-http": "^4.1.0",
|
|
47
|
+
"@smithy/smithy-client": "^3.1.10",
|
|
48
48
|
"@smithy/types": "^3.3.0",
|
|
49
49
|
"@smithy/url-parser": "^3.0.3",
|
|
50
50
|
"@smithy/util-base64": "^3.0.0",
|
|
51
51
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
52
52
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
53
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
54
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
53
|
+
"@smithy/util-defaults-mode-browser": "^3.0.12",
|
|
54
|
+
"@smithy/util-defaults-mode-node": "^3.0.12",
|
|
55
55
|
"@smithy/util-endpoints": "^2.0.5",
|
|
56
56
|
"@smithy/util-middleware": "^3.0.3",
|
|
57
57
|
"@smithy/util-retry": "^3.0.3",
|