@aws-sdk/client-codecatalyst 3.662.0 → 3.664.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/runtimeConfig.js +1 -0
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-types/runtimeConfig.browser.d.ts +2 -1
- package/dist-types/runtimeConfig.d.ts +2 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +6 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -3
- package/package.json +12 -12
|
@@ -52,6 +52,7 @@ const getRuntimeConfig = (config) => {
|
|
|
52
52
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
53
53
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
54
54
|
useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
55
|
+
userAgentAppId: config?.userAgentAppId ?? (0, node_config_provider_1.loadConfig)(util_user_agent_node_1.NODE_APP_ID_CONFIG_OPTIONS),
|
|
55
56
|
};
|
|
56
57
|
};
|
|
57
58
|
exports.getRuntimeConfig = getRuntimeConfig;
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
2
|
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core";
|
|
3
3
|
import { nodeProvider } from "@aws-sdk/token-providers";
|
|
4
|
-
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
4
|
+
import { NODE_APP_ID_CONFIG_OPTIONS, defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
5
5
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@smithy/config-resolver";
|
|
6
6
|
import { HttpBearerAuthSigner } from "@smithy/core";
|
|
7
7
|
import { Hash } from "@smithy/hash-node";
|
|
@@ -48,5 +48,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
48
48
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
49
49
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
50
50
|
useFipsEndpoint: config?.useFipsEndpoint ?? loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
|
|
51
|
+
userAgentAppId: config?.userAgentAppId ?? loadNodeConfig(NODE_APP_ID_CONFIG_OPTIONS),
|
|
51
52
|
};
|
|
52
53
|
};
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
defaultUserAgentProvider: import("@
|
|
10
|
+
defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
11
11
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
12
12
|
region: string | import("@smithy/types").Provider<any>;
|
|
13
13
|
requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
|
|
@@ -28,6 +28,7 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
30
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
31
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
31
32
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
32
33
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
33
34
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
@@ -9,7 +9,7 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
9
9
|
runtime: string;
|
|
10
10
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
11
11
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
12
|
-
defaultUserAgentProvider: import("@
|
|
12
|
+
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
13
13
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[] | {
|
|
14
14
|
schemeId: string;
|
|
15
15
|
identityProvider: (ipc: IdentityProviderConfig) => import("@smithy/types").IdentityProvider<import("@smithy/types").Identity>;
|
|
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
23
23
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
24
24
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
25
25
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
26
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
26
27
|
apiVersion: string;
|
|
27
28
|
cacheMiddleware?: boolean | undefined;
|
|
28
29
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -20,13 +20,14 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
20
20
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
|
-
defaultUserAgentProvider: import("@
|
|
23
|
+
defaultUserAgentProvider: (config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
24
24
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
25
25
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
26
|
logger: import("@smithy/types").Logger;
|
|
27
27
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
28
28
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
29
29
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
30
|
+
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
30
31
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
31
32
|
endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
|
|
32
33
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
@@ -6,9 +6,9 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
6
6
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
7
7
|
>;
|
|
8
8
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
9
|
-
defaultUserAgentProvider:
|
|
10
|
-
import("@
|
|
11
|
-
>;
|
|
9
|
+
defaultUserAgentProvider: (
|
|
10
|
+
config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
11
|
+
) => 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:
|
|
@@ -31,6 +31,10 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
31
31
|
logger: import("@smithy/types").Logger;
|
|
32
32
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
33
33
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
34
|
+
userAgentAppId?:
|
|
35
|
+
| string
|
|
36
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
37
|
+
| undefined;
|
|
34
38
|
retryStrategy?:
|
|
35
39
|
| import("@smithy/types").RetryStrategy
|
|
36
40
|
| import("@smithy/types").RetryStrategyV2
|
|
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
defaultUserAgentProvider:
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
defaultUserAgentProvider: (
|
|
12
|
+
config?:
|
|
13
|
+
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
14
|
+
| undefined
|
|
15
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
14
16
|
httpAuthSchemes:
|
|
15
17
|
| import("@smithy/types").HttpAuthScheme[]
|
|
16
18
|
| {
|
|
@@ -32,6 +34,7 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
32
34
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
33
35
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
34
36
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
37
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
35
38
|
apiVersion: string;
|
|
36
39
|
cacheMiddleware?: boolean | undefined;
|
|
37
40
|
urlParser: import("@smithy/types").UrlParser;
|
|
@@ -22,9 +22,9 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
22
22
|
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
23
23
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
24
24
|
region: string | import("@smithy/types").Provider<any>;
|
|
25
|
-
defaultUserAgentProvider:
|
|
26
|
-
import("@
|
|
27
|
-
>;
|
|
25
|
+
defaultUserAgentProvider: (
|
|
26
|
+
config: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
27
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
28
28
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
29
29
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
@@ -35,6 +35,10 @@ export declare const getRuntimeConfig: (config: CodeCatalystClientConfig) => {
|
|
|
35
35
|
import("@smithy/smithy-client").DefaultsMode
|
|
36
36
|
>;
|
|
37
37
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
38
|
+
userAgentAppId?:
|
|
39
|
+
| string
|
|
40
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
41
|
+
| undefined;
|
|
38
42
|
retryStrategy?:
|
|
39
43
|
| import("@smithy/types").RetryStrategy
|
|
40
44
|
| import("@smithy/types").RetryStrategyV2
|
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.664.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,17 +20,17 @@
|
|
|
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.
|
|
25
|
-
"@aws-sdk/middleware-logger": "3.
|
|
26
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
29
|
-
"@aws-sdk/token-providers": "3.
|
|
30
|
-
"@aws-sdk/types": "3.
|
|
31
|
-
"@aws-sdk/util-endpoints": "3.
|
|
32
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.664.0",
|
|
24
|
+
"@aws-sdk/middleware-host-header": "3.664.0",
|
|
25
|
+
"@aws-sdk/middleware-logger": "3.664.0",
|
|
26
|
+
"@aws-sdk/middleware-recursion-detection": "3.664.0",
|
|
27
|
+
"@aws-sdk/middleware-user-agent": "3.664.0",
|
|
28
|
+
"@aws-sdk/region-config-resolver": "3.664.0",
|
|
29
|
+
"@aws-sdk/token-providers": "3.664.0",
|
|
30
|
+
"@aws-sdk/types": "3.664.0",
|
|
31
|
+
"@aws-sdk/util-endpoints": "3.664.0",
|
|
32
|
+
"@aws-sdk/util-user-agent-browser": "3.664.0",
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.664.0",
|
|
34
34
|
"@smithy/config-resolver": "^3.0.9",
|
|
35
35
|
"@smithy/core": "^2.4.7",
|
|
36
36
|
"@smithy/fetch-http-handler": "^3.2.9",
|