@aws-sdk/client-codeartifact 3.353.0 → 3.357.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/protocols/Aws_restJson1.js +3 -9
- package/dist-cjs/runtimeConfig.browser.js +0 -2
- package/dist-cjs/runtimeConfig.js +0 -2
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +1 -7
- package/dist-es/runtimeConfig.browser.js +0 -2
- package/dist-es/runtimeConfig.js +0 -2
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-types/CodeartifactClient.d.ts +1 -1
- package/dist-types/commands/PublishPackageVersionCommand.d.ts +3 -6
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- 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.shared.d.ts +1 -0
- package/package.json +29 -30
|
@@ -2654,7 +2654,7 @@ const de_TagResourceCommand = async (output, context) => {
|
|
|
2654
2654
|
const contents = (0, smithy_client_1.map)({
|
|
2655
2655
|
$metadata: deserializeMetadata(output),
|
|
2656
2656
|
});
|
|
2657
|
-
await collectBody(output.body, context);
|
|
2657
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2658
2658
|
return contents;
|
|
2659
2659
|
};
|
|
2660
2660
|
exports.de_TagResourceCommand = de_TagResourceCommand;
|
|
@@ -2696,7 +2696,7 @@ const de_UntagResourceCommand = async (output, context) => {
|
|
|
2696
2696
|
const contents = (0, smithy_client_1.map)({
|
|
2697
2697
|
$metadata: deserializeMetadata(output),
|
|
2698
2698
|
});
|
|
2699
|
-
await collectBody(output.body, context);
|
|
2699
|
+
await (0, smithy_client_1.collectBody)(output.body, context);
|
|
2700
2700
|
return contents;
|
|
2701
2701
|
};
|
|
2702
2702
|
exports.de_UntagResourceCommand = de_UntagResourceCommand;
|
|
@@ -3020,13 +3020,7 @@ const deserializeMetadata = (output) => ({
|
|
|
3020
3020
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
3021
3021
|
cfId: output.headers["x-amz-cf-id"],
|
|
3022
3022
|
});
|
|
3023
|
-
const
|
|
3024
|
-
if (streamBody instanceof Uint8Array) {
|
|
3025
|
-
return Promise.resolve(streamBody);
|
|
3026
|
-
}
|
|
3027
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
3028
|
-
};
|
|
3029
|
-
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3023
|
+
const collectBodyString = (streamBody, context) => (0, smithy_client_1.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
3030
3024
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
3031
3025
|
value !== null &&
|
|
3032
3026
|
value !== "" &&
|
|
@@ -9,7 +9,6 @@ const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
|
9
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
10
10
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
11
|
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
12
|
-
const util_stream_browser_1 = require("@aws-sdk/util-stream-browser");
|
|
13
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
14
13
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
15
14
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
@@ -31,7 +30,6 @@ const getRuntimeConfig = (config) => {
|
|
|
31
30
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
32
31
|
requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
33
32
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
|
|
34
|
-
sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_browser_1.sdkStreamMixin,
|
|
35
33
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
36
34
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
37
35
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -12,7 +12,6 @@ const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
|
12
12
|
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
13
13
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
14
14
|
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
15
|
-
const util_stream_node_1 = require("@aws-sdk/util-stream-node");
|
|
16
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
17
16
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
18
17
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
@@ -40,7 +39,6 @@ const getRuntimeConfig = (config) => {
|
|
|
40
39
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
41
40
|
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
|
|
42
41
|
}),
|
|
43
|
-
sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_node_1.sdkStreamMixin,
|
|
44
42
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
45
43
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
46
44
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
@@ -4,6 +4,7 @@ exports.getRuntimeConfig = void 0;
|
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
5
|
const url_parser_1 = require("@aws-sdk/url-parser");
|
|
6
6
|
const util_base64_1 = require("@aws-sdk/util-base64");
|
|
7
|
+
const util_stream_1 = require("@aws-sdk/util-stream");
|
|
7
8
|
const util_utf8_1 = require("@aws-sdk/util-utf8");
|
|
8
9
|
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
9
10
|
const getRuntimeConfig = (config) => ({
|
|
@@ -13,6 +14,7 @@ const getRuntimeConfig = (config) => ({
|
|
|
13
14
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
14
15
|
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
15
16
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
17
|
+
sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_1.sdkStreamMixin,
|
|
16
18
|
serviceId: config?.serviceId ?? "codeartifact",
|
|
17
19
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
18
20
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _json, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
1
|
+
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectObject as __expectObject, expectString as __expectString, map, parseEpochTimestamp as __parseEpochTimestamp, strictParseInt32 as __strictParseInt32, take, withBaseException, } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@smithy/protocol-http";
|
|
3
3
|
import { CodeartifactServiceException as __BaseException } from "../models/CodeartifactServiceException";
|
|
4
4
|
import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
@@ -2940,12 +2940,6 @@ const deserializeMetadata = (output) => ({
|
|
|
2940
2940
|
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2941
2941
|
cfId: output.headers["x-amz-cf-id"],
|
|
2942
2942
|
});
|
|
2943
|
-
const collectBody = (streamBody = new Uint8Array(), context) => {
|
|
2944
|
-
if (streamBody instanceof Uint8Array) {
|
|
2945
|
-
return Promise.resolve(streamBody);
|
|
2946
|
-
}
|
|
2947
|
-
return context.streamCollector(streamBody) || Promise.resolve(new Uint8Array());
|
|
2948
|
-
};
|
|
2949
2943
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2950
2944
|
const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
2951
2945
|
value !== null &&
|
|
@@ -5,7 +5,6 @@ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fe
|
|
|
5
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
6
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
7
7
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
|
-
import { sdkStreamMixin } from "@aws-sdk/util-stream-browser";
|
|
9
8
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
10
9
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
11
10
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
@@ -27,7 +26,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
27
26
|
region: config?.region ?? invalidProvider("Region is missing"),
|
|
28
27
|
requestHandler: config?.requestHandler ?? new RequestHandler(defaultConfigProvider),
|
|
29
28
|
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE),
|
|
30
|
-
sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
|
|
31
29
|
sha256: config?.sha256 ?? Sha256,
|
|
32
30
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
33
31
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -8,7 +8,6 @@ import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
|
8
8
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
9
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
10
10
|
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
11
|
-
import { sdkStreamMixin } from "@aws-sdk/util-stream-node";
|
|
12
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
13
12
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
14
13
|
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
@@ -36,7 +35,6 @@ export const getRuntimeConfig = (config) => {
|
|
|
36
35
|
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
37
36
|
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
38
37
|
}),
|
|
39
|
-
sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
|
|
40
38
|
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
41
39
|
streamCollector: config?.streamCollector ?? streamCollector,
|
|
42
40
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { NoOpLogger } from "@aws-sdk/smithy-client";
|
|
2
2
|
import { parseUrl } from "@aws-sdk/url-parser";
|
|
3
3
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64";
|
|
4
|
+
import { sdkStreamMixin } from "@aws-sdk/util-stream";
|
|
4
5
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8";
|
|
5
6
|
import { defaultEndpointResolver } from "./endpoint/endpointResolver";
|
|
6
7
|
export const getRuntimeConfig = (config) => ({
|
|
@@ -10,6 +11,7 @@ export const getRuntimeConfig = (config) => ({
|
|
|
10
11
|
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
11
12
|
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
12
13
|
logger: config?.logger ?? new NoOpLogger(),
|
|
14
|
+
sdkStreamMixin: config?.sdkStreamMixin ?? sdkStreamMixin,
|
|
13
15
|
serviceId: config?.serviceId ?? "codeartifact",
|
|
14
16
|
urlParser: config?.urlParser ?? parseUrl,
|
|
15
17
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -111,7 +111,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
111
111
|
*/
|
|
112
112
|
runtime?: string;
|
|
113
113
|
/**
|
|
114
|
-
* Disable
|
|
114
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
115
115
|
* trait of an operation.
|
|
116
116
|
*/
|
|
117
117
|
disableHostPrefix?: boolean;
|
|
@@ -8,11 +8,6 @@ import { PublishPackageVersionRequest, PublishPackageVersionResult } from "../mo
|
|
|
8
8
|
* @public
|
|
9
9
|
*/
|
|
10
10
|
export { __MetadataBearer, $Command };
|
|
11
|
-
/**
|
|
12
|
-
* @public
|
|
13
|
-
*
|
|
14
|
-
* The input for {@link PublishPackageVersionCommand}.
|
|
15
|
-
*/
|
|
16
11
|
export type PublishPackageVersionCommandInputType = Omit<PublishPackageVersionRequest, "assetContent"> & {
|
|
17
12
|
/**
|
|
18
13
|
* For *`PublishPackageVersionRequest["assetContent"]`*, see {@link PublishPackageVersionRequest.assetContent}.
|
|
@@ -20,7 +15,9 @@ export type PublishPackageVersionCommandInputType = Omit<PublishPackageVersionRe
|
|
|
20
15
|
assetContent: PublishPackageVersionRequest["assetContent"] | string | Uint8Array | Buffer;
|
|
21
16
|
};
|
|
22
17
|
/**
|
|
23
|
-
*
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The input for {@link PublishPackageVersionCommand}.
|
|
24
21
|
*/
|
|
25
22
|
export interface PublishPackageVersionCommandInput extends PublishPackageVersionCommandInputType {
|
|
26
23
|
}
|
|
@@ -13,7 +13,6 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
13
13
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
14
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
-
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
17
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
19
18
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@aws-sdk/types").Provider<boolean>);
|
|
@@ -27,6 +26,7 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
27
26
|
disableHostPrefix: boolean;
|
|
28
27
|
serviceId: string;
|
|
29
28
|
logger: import("@aws-sdk/types").Logger;
|
|
29
|
+
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
30
30
|
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
31
31
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
32
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
@@ -13,7 +13,6 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
13
13
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
14
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@smithy/protocol-http").HttpHandler) | RequestHandler;
|
|
15
15
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
16
|
-
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
17
16
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
18
17
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
19
18
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
@@ -27,6 +26,7 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
27
26
|
disableHostPrefix: boolean;
|
|
28
27
|
serviceId: string;
|
|
29
28
|
logger: import("@aws-sdk/types").Logger;
|
|
29
|
+
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
30
30
|
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@smithy/types").Provider<import("@aws-sdk/types").EndpointV2>)) | undefined;
|
|
31
31
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
32
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
@@ -11,6 +11,7 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
11
11
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
12
12
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
|
+
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
14
15
|
serviceId: string;
|
|
15
16
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
17
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -24,7 +24,6 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
24
24
|
import("@smithy/protocol-http").HttpHandler)
|
|
25
25
|
| RequestHandler;
|
|
26
26
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
27
|
-
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
28
27
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
29
28
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
30
29
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
|
|
@@ -40,6 +39,7 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
40
39
|
disableHostPrefix: boolean;
|
|
41
40
|
serviceId: string;
|
|
42
41
|
logger: import("@aws-sdk/types").Logger;
|
|
42
|
+
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
43
43
|
endpoint?:
|
|
44
44
|
| ((
|
|
45
45
|
| string
|
|
@@ -23,7 +23,6 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
23
23
|
import("@smithy/protocol-http").HttpHandler)
|
|
24
24
|
| RequestHandler;
|
|
25
25
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
26
|
-
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
27
26
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
28
27
|
streamCollector: import("@smithy/types").StreamCollector;
|
|
29
28
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
@@ -37,6 +36,7 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
37
36
|
disableHostPrefix: boolean;
|
|
38
37
|
serviceId: string;
|
|
39
38
|
logger: import("@aws-sdk/types").Logger;
|
|
39
|
+
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
40
40
|
endpoint?:
|
|
41
41
|
| ((
|
|
42
42
|
| string
|
|
@@ -11,6 +11,7 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
11
11
|
}
|
|
12
12
|
) => import("@aws-sdk/types").EndpointV2;
|
|
13
13
|
logger: import("@aws-sdk/types").Logger;
|
|
14
|
+
sdkStreamMixin: import("@aws-sdk/types").SdkStreamMixinInjector;
|
|
14
15
|
serviceId: string;
|
|
15
16
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
16
17
|
utf8Decoder: import("@smithy/types").Decoder;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-codeartifact",
|
|
3
3
|
"description": "AWS SDK for JavaScript Codeartifact Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.357.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -21,38 +21,37 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/config-resolver": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
28
|
-
"@aws-sdk/hash-node": "3.
|
|
29
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
30
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
31
|
-
"@aws-sdk/middleware-endpoint": "3.
|
|
32
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
33
|
-
"@aws-sdk/middleware-logger": "3.
|
|
34
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/smithy-client": "3.
|
|
43
|
-
"@aws-sdk/types": "3.
|
|
44
|
-
"@aws-sdk/url-parser": "3.
|
|
24
|
+
"@aws-sdk/client-sts": "3.357.0",
|
|
25
|
+
"@aws-sdk/config-resolver": "3.357.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.357.0",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.357.0",
|
|
28
|
+
"@aws-sdk/hash-node": "3.357.0",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.357.0",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.357.0",
|
|
31
|
+
"@aws-sdk/middleware-endpoint": "3.357.0",
|
|
32
|
+
"@aws-sdk/middleware-host-header": "3.357.0",
|
|
33
|
+
"@aws-sdk/middleware-logger": "3.357.0",
|
|
34
|
+
"@aws-sdk/middleware-recursion-detection": "3.357.0",
|
|
35
|
+
"@aws-sdk/middleware-retry": "3.357.0",
|
|
36
|
+
"@aws-sdk/middleware-serde": "3.357.0",
|
|
37
|
+
"@aws-sdk/middleware-signing": "3.357.0",
|
|
38
|
+
"@aws-sdk/middleware-stack": "3.357.0",
|
|
39
|
+
"@aws-sdk/middleware-user-agent": "3.357.0",
|
|
40
|
+
"@aws-sdk/node-config-provider": "3.357.0",
|
|
41
|
+
"@aws-sdk/node-http-handler": "3.357.0",
|
|
42
|
+
"@aws-sdk/smithy-client": "3.357.0",
|
|
43
|
+
"@aws-sdk/types": "3.357.0",
|
|
44
|
+
"@aws-sdk/url-parser": "3.357.0",
|
|
45
45
|
"@aws-sdk/util-base64": "3.310.0",
|
|
46
46
|
"@aws-sdk/util-body-length-browser": "3.310.0",
|
|
47
47
|
"@aws-sdk/util-body-length-node": "3.310.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
49
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
50
|
-
"@aws-sdk/util-endpoints": "3.
|
|
51
|
-
"@aws-sdk/util-retry": "3.
|
|
52
|
-
"@aws-sdk/util-stream
|
|
53
|
-
"@aws-sdk/util-
|
|
54
|
-
"@aws-sdk/util-user-agent-
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.353.0",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.357.0",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.357.0",
|
|
50
|
+
"@aws-sdk/util-endpoints": "3.357.0",
|
|
51
|
+
"@aws-sdk/util-retry": "3.357.0",
|
|
52
|
+
"@aws-sdk/util-stream": "3.357.0",
|
|
53
|
+
"@aws-sdk/util-user-agent-browser": "3.357.0",
|
|
54
|
+
"@aws-sdk/util-user-agent-node": "3.357.0",
|
|
56
55
|
"@aws-sdk/util-utf8": "3.310.0",
|
|
57
56
|
"@smithy/protocol-http": "^1.0.1",
|
|
58
57
|
"@smithy/types": "^1.0.0",
|