@aws-sdk/client-codeartifact 3.53.0 → 3.55.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/CHANGELOG.md +24 -0
- package/dist-cjs/CodeartifactClient.js +13 -13
- package/dist-cjs/commands/AssociateExternalConnectionCommand.js +3 -3
- package/dist-cjs/commands/CopyPackageVersionsCommand.js +3 -3
- package/dist-cjs/commands/CreateDomainCommand.js +3 -3
- package/dist-cjs/commands/CreateRepositoryCommand.js +3 -3
- package/dist-cjs/commands/DeleteDomainCommand.js +3 -3
- package/dist-cjs/commands/DeleteDomainPermissionsPolicyCommand.js +3 -3
- package/dist-cjs/commands/DeletePackageVersionsCommand.js +3 -3
- package/dist-cjs/commands/DeleteRepositoryCommand.js +3 -3
- package/dist-cjs/commands/DeleteRepositoryPermissionsPolicyCommand.js +3 -3
- package/dist-cjs/commands/DescribeDomainCommand.js +3 -3
- package/dist-cjs/commands/DescribePackageVersionCommand.js +3 -3
- package/dist-cjs/commands/DescribeRepositoryCommand.js +3 -3
- package/dist-cjs/commands/DisassociateExternalConnectionCommand.js +3 -3
- package/dist-cjs/commands/DisposePackageVersionsCommand.js +3 -3
- package/dist-cjs/commands/GetAuthorizationTokenCommand.js +3 -3
- package/dist-cjs/commands/GetDomainPermissionsPolicyCommand.js +3 -3
- package/dist-cjs/commands/GetPackageVersionAssetCommand.js +3 -3
- package/dist-cjs/commands/GetPackageVersionReadmeCommand.js +3 -3
- package/dist-cjs/commands/GetRepositoryEndpointCommand.js +3 -3
- package/dist-cjs/commands/GetRepositoryPermissionsPolicyCommand.js +3 -3
- package/dist-cjs/commands/ListDomainsCommand.js +3 -3
- package/dist-cjs/commands/ListPackageVersionAssetsCommand.js +3 -3
- package/dist-cjs/commands/ListPackageVersionDependenciesCommand.js +3 -3
- package/dist-cjs/commands/ListPackageVersionsCommand.js +3 -3
- package/dist-cjs/commands/ListPackagesCommand.js +3 -3
- package/dist-cjs/commands/ListRepositoriesCommand.js +3 -3
- package/dist-cjs/commands/ListRepositoriesInDomainCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/PutDomainPermissionsPolicyCommand.js +3 -3
- package/dist-cjs/commands/PutRepositoryPermissionsPolicyCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdatePackageVersionsStatusCommand.js +3 -3
- package/dist-cjs/commands/UpdateRepositoryCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +183 -183
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/Codeartifact.js +34 -34
- package/dist-es/pagination/ListDomainsPaginator.js +4 -4
- package/dist-es/pagination/ListPackageVersionAssetsPaginator.js +4 -4
- package/dist-es/pagination/ListPackageVersionsPaginator.js +4 -4
- package/dist-es/pagination/ListPackagesPaginator.js +4 -4
- package/dist-es/pagination/ListRepositoriesInDomainPaginator.js +4 -4
- package/dist-es/pagination/ListRepositoriesPaginator.js +4 -4
- package/dist-es/protocols/Aws_restJson1.js +34 -34
- package/dist-types/CodeartifactClient.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 +3 -3
- package/dist-types/ts3.4/CodeartifactClient.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 +3 -3
- package/package.json +34 -34
|
@@ -11,7 +11,7 @@ export var serializeAws_restJson1AssociateExternalConnectionCommand = function (
|
|
|
11
11
|
case 1:
|
|
12
12
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
13
13
|
headers = {};
|
|
14
|
-
resolvedPath = ""
|
|
14
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/repository/external-connection";
|
|
15
15
|
query = __assign(__assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository })), (input.externalConnection !== undefined && { "external-connection": input.externalConnection }));
|
|
16
16
|
return [2, new __HttpRequest({
|
|
17
17
|
protocol: protocol,
|
|
@@ -36,7 +36,7 @@ export var serializeAws_restJson1CopyPackageVersionsCommand = function (input, c
|
|
|
36
36
|
headers = {
|
|
37
37
|
"content-type": "application/json",
|
|
38
38
|
};
|
|
39
|
-
resolvedPath = ""
|
|
39
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/package/versions/copy";
|
|
40
40
|
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.sourceRepository !== undefined && { "source-repository": input.sourceRepository })), (input.destinationRepository !== undefined && { "destination-repository": input.destinationRepository })), (input.format !== undefined && { format: input.format })), (input.namespace !== undefined && { namespace: input.namespace })), (input.package !== undefined && { package: input.package }));
|
|
41
41
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.allowOverwrite !== undefined &&
|
|
42
42
|
input.allowOverwrite !== null && { allowOverwrite: input.allowOverwrite })), (input.includeFromUpstream !== undefined &&
|
|
@@ -68,7 +68,7 @@ export var serializeAws_restJson1CreateDomainCommand = function (input, context)
|
|
|
68
68
|
headers = {
|
|
69
69
|
"content-type": "application/json",
|
|
70
70
|
};
|
|
71
|
-
resolvedPath = ""
|
|
71
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/domain";
|
|
72
72
|
query = __assign({}, (input.domain !== undefined && { domain: input.domain }));
|
|
73
73
|
body = JSON.stringify(__assign(__assign({}, (input.encryptionKey !== undefined && input.encryptionKey !== null && { encryptionKey: input.encryptionKey })), (input.tags !== undefined &&
|
|
74
74
|
input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) })));
|
|
@@ -95,7 +95,7 @@ export var serializeAws_restJson1CreateRepositoryCommand = function (input, cont
|
|
|
95
95
|
headers = {
|
|
96
96
|
"content-type": "application/json",
|
|
97
97
|
};
|
|
98
|
-
resolvedPath = ""
|
|
98
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/repository";
|
|
99
99
|
query = __assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository }));
|
|
100
100
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.description !== undefined && input.description !== null && { description: input.description })), (input.tags !== undefined &&
|
|
101
101
|
input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) })), (input.upstreams !== undefined &&
|
|
@@ -123,7 +123,7 @@ export var serializeAws_restJson1DeleteDomainCommand = function (input, context)
|
|
|
123
123
|
case 1:
|
|
124
124
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
125
125
|
headers = {};
|
|
126
|
-
resolvedPath = ""
|
|
126
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/domain";
|
|
127
127
|
query = __assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner }));
|
|
128
128
|
return [2, new __HttpRequest({
|
|
129
129
|
protocol: protocol,
|
|
@@ -146,7 +146,7 @@ export var serializeAws_restJson1DeleteDomainPermissionsPolicyCommand = function
|
|
|
146
146
|
case 1:
|
|
147
147
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
148
148
|
headers = {};
|
|
149
|
-
resolvedPath = ""
|
|
149
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/domain/permissions/policy";
|
|
150
150
|
query = __assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.policyRevision !== undefined && { "policy-revision": input.policyRevision }));
|
|
151
151
|
return [2, new __HttpRequest({
|
|
152
152
|
protocol: protocol,
|
|
@@ -171,7 +171,7 @@ export var serializeAws_restJson1DeletePackageVersionsCommand = function (input,
|
|
|
171
171
|
headers = {
|
|
172
172
|
"content-type": "application/json",
|
|
173
173
|
};
|
|
174
|
-
resolvedPath = ""
|
|
174
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/package/versions/delete";
|
|
175
175
|
query = __assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository })), (input.format !== undefined && { format: input.format })), (input.namespace !== undefined && { namespace: input.namespace })), (input.package !== undefined && { package: input.package }));
|
|
176
176
|
body = JSON.stringify(__assign(__assign({}, (input.expectedStatus !== undefined &&
|
|
177
177
|
input.expectedStatus !== null && { expectedStatus: input.expectedStatus })), (input.versions !== undefined &&
|
|
@@ -197,7 +197,7 @@ export var serializeAws_restJson1DeleteRepositoryCommand = function (input, cont
|
|
|
197
197
|
case 1:
|
|
198
198
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
199
199
|
headers = {};
|
|
200
|
-
resolvedPath = ""
|
|
200
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/repository";
|
|
201
201
|
query = __assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository }));
|
|
202
202
|
return [2, new __HttpRequest({
|
|
203
203
|
protocol: protocol,
|
|
@@ -220,7 +220,7 @@ export var serializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand = func
|
|
|
220
220
|
case 1:
|
|
221
221
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
222
222
|
headers = {};
|
|
223
|
-
resolvedPath = ""
|
|
223
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/repository/permissions/policies";
|
|
224
224
|
query = __assign(__assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository })), (input.policyRevision !== undefined && { "policy-revision": input.policyRevision }));
|
|
225
225
|
return [2, new __HttpRequest({
|
|
226
226
|
protocol: protocol,
|
|
@@ -243,7 +243,7 @@ export var serializeAws_restJson1DescribeDomainCommand = function (input, contex
|
|
|
243
243
|
case 1:
|
|
244
244
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
245
245
|
headers = {};
|
|
246
|
-
resolvedPath = ""
|
|
246
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/domain";
|
|
247
247
|
query = __assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner }));
|
|
248
248
|
return [2, new __HttpRequest({
|
|
249
249
|
protocol: protocol,
|
|
@@ -266,7 +266,7 @@ export var serializeAws_restJson1DescribePackageVersionCommand = function (input
|
|
|
266
266
|
case 1:
|
|
267
267
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
268
268
|
headers = {};
|
|
269
|
-
resolvedPath = ""
|
|
269
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/package/version";
|
|
270
270
|
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository })), (input.format !== undefined && { format: input.format })), (input.namespace !== undefined && { namespace: input.namespace })), (input.package !== undefined && { package: input.package })), (input.packageVersion !== undefined && { version: input.packageVersion }));
|
|
271
271
|
return [2, new __HttpRequest({
|
|
272
272
|
protocol: protocol,
|
|
@@ -289,7 +289,7 @@ export var serializeAws_restJson1DescribeRepositoryCommand = function (input, co
|
|
|
289
289
|
case 1:
|
|
290
290
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
291
291
|
headers = {};
|
|
292
|
-
resolvedPath = ""
|
|
292
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/repository";
|
|
293
293
|
query = __assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository }));
|
|
294
294
|
return [2, new __HttpRequest({
|
|
295
295
|
protocol: protocol,
|
|
@@ -312,7 +312,7 @@ export var serializeAws_restJson1DisassociateExternalConnectionCommand = functio
|
|
|
312
312
|
case 1:
|
|
313
313
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
314
314
|
headers = {};
|
|
315
|
-
resolvedPath = ""
|
|
315
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/repository/external-connection";
|
|
316
316
|
query = __assign(__assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository })), (input.externalConnection !== undefined && { "external-connection": input.externalConnection }));
|
|
317
317
|
return [2, new __HttpRequest({
|
|
318
318
|
protocol: protocol,
|
|
@@ -337,7 +337,7 @@ export var serializeAws_restJson1DisposePackageVersionsCommand = function (input
|
|
|
337
337
|
headers = {
|
|
338
338
|
"content-type": "application/json",
|
|
339
339
|
};
|
|
340
|
-
resolvedPath = ""
|
|
340
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/package/versions/dispose";
|
|
341
341
|
query = __assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository })), (input.format !== undefined && { format: input.format })), (input.namespace !== undefined && { namespace: input.namespace })), (input.package !== undefined && { package: input.package }));
|
|
342
342
|
body = JSON.stringify(__assign(__assign(__assign({}, (input.expectedStatus !== undefined &&
|
|
343
343
|
input.expectedStatus !== null && { expectedStatus: input.expectedStatus })), (input.versionRevisions !== undefined &&
|
|
@@ -366,7 +366,7 @@ export var serializeAws_restJson1GetAuthorizationTokenCommand = function (input,
|
|
|
366
366
|
case 1:
|
|
367
367
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
368
368
|
headers = {};
|
|
369
|
-
resolvedPath = ""
|
|
369
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/authorization-token";
|
|
370
370
|
query = __assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.durationSeconds !== undefined && { duration: input.durationSeconds.toString() }));
|
|
371
371
|
return [2, new __HttpRequest({
|
|
372
372
|
protocol: protocol,
|
|
@@ -389,7 +389,7 @@ export var serializeAws_restJson1GetDomainPermissionsPolicyCommand = function (i
|
|
|
389
389
|
case 1:
|
|
390
390
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
391
391
|
headers = {};
|
|
392
|
-
resolvedPath = ""
|
|
392
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/domain/permissions/policy";
|
|
393
393
|
query = __assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner }));
|
|
394
394
|
return [2, new __HttpRequest({
|
|
395
395
|
protocol: protocol,
|
|
@@ -412,7 +412,7 @@ export var serializeAws_restJson1GetPackageVersionAssetCommand = function (input
|
|
|
412
412
|
case 1:
|
|
413
413
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
414
414
|
headers = {};
|
|
415
|
-
resolvedPath = ""
|
|
415
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/package/version/asset";
|
|
416
416
|
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository })), (input.format !== undefined && { format: input.format })), (input.namespace !== undefined && { namespace: input.namespace })), (input.package !== undefined && { package: input.package })), (input.packageVersion !== undefined && { version: input.packageVersion })), (input.asset !== undefined && { asset: input.asset })), (input.packageVersionRevision !== undefined && { revision: input.packageVersionRevision }));
|
|
417
417
|
return [2, new __HttpRequest({
|
|
418
418
|
protocol: protocol,
|
|
@@ -435,7 +435,7 @@ export var serializeAws_restJson1GetPackageVersionReadmeCommand = function (inpu
|
|
|
435
435
|
case 1:
|
|
436
436
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
437
437
|
headers = {};
|
|
438
|
-
resolvedPath = ""
|
|
438
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/package/version/readme";
|
|
439
439
|
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository })), (input.format !== undefined && { format: input.format })), (input.namespace !== undefined && { namespace: input.namespace })), (input.package !== undefined && { package: input.package })), (input.packageVersion !== undefined && { version: input.packageVersion }));
|
|
440
440
|
return [2, new __HttpRequest({
|
|
441
441
|
protocol: protocol,
|
|
@@ -458,7 +458,7 @@ export var serializeAws_restJson1GetRepositoryEndpointCommand = function (input,
|
|
|
458
458
|
case 1:
|
|
459
459
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
460
460
|
headers = {};
|
|
461
|
-
resolvedPath = ""
|
|
461
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/repository/endpoint";
|
|
462
462
|
query = __assign(__assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository })), (input.format !== undefined && { format: input.format }));
|
|
463
463
|
return [2, new __HttpRequest({
|
|
464
464
|
protocol: protocol,
|
|
@@ -481,7 +481,7 @@ export var serializeAws_restJson1GetRepositoryPermissionsPolicyCommand = functio
|
|
|
481
481
|
case 1:
|
|
482
482
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
483
483
|
headers = {};
|
|
484
|
-
resolvedPath = ""
|
|
484
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/repository/permissions/policy";
|
|
485
485
|
query = __assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository }));
|
|
486
486
|
return [2, new __HttpRequest({
|
|
487
487
|
protocol: protocol,
|
|
@@ -506,7 +506,7 @@ export var serializeAws_restJson1ListDomainsCommand = function (input, context)
|
|
|
506
506
|
headers = {
|
|
507
507
|
"content-type": "application/json",
|
|
508
508
|
};
|
|
509
|
-
resolvedPath = ""
|
|
509
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/domains";
|
|
510
510
|
body = JSON.stringify(__assign(__assign({}, (input.maxResults !== undefined && input.maxResults !== null && { maxResults: input.maxResults })), (input.nextToken !== undefined && input.nextToken !== null && { nextToken: input.nextToken })));
|
|
511
511
|
return [2, new __HttpRequest({
|
|
512
512
|
protocol: protocol,
|
|
@@ -528,7 +528,7 @@ export var serializeAws_restJson1ListPackagesCommand = function (input, context)
|
|
|
528
528
|
case 1:
|
|
529
529
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
530
530
|
headers = {};
|
|
531
|
-
resolvedPath = ""
|
|
531
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/packages";
|
|
532
532
|
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository })), (input.format !== undefined && { format: input.format })), (input.namespace !== undefined && { namespace: input.namespace })), (input.packagePrefix !== undefined && { "package-prefix": input.packagePrefix })), (input.maxResults !== undefined && { "max-results": input.maxResults.toString() })), (input.nextToken !== undefined && { "next-token": input.nextToken }));
|
|
533
533
|
return [2, new __HttpRequest({
|
|
534
534
|
protocol: protocol,
|
|
@@ -551,7 +551,7 @@ export var serializeAws_restJson1ListPackageVersionAssetsCommand = function (inp
|
|
|
551
551
|
case 1:
|
|
552
552
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
553
553
|
headers = {};
|
|
554
|
-
resolvedPath = ""
|
|
554
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/package/version/assets";
|
|
555
555
|
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository })), (input.format !== undefined && { format: input.format })), (input.namespace !== undefined && { namespace: input.namespace })), (input.package !== undefined && { package: input.package })), (input.packageVersion !== undefined && { version: input.packageVersion })), (input.maxResults !== undefined && { "max-results": input.maxResults.toString() })), (input.nextToken !== undefined && { "next-token": input.nextToken }));
|
|
556
556
|
return [2, new __HttpRequest({
|
|
557
557
|
protocol: protocol,
|
|
@@ -574,7 +574,7 @@ export var serializeAws_restJson1ListPackageVersionDependenciesCommand = functio
|
|
|
574
574
|
case 1:
|
|
575
575
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
576
576
|
headers = {};
|
|
577
|
-
resolvedPath = ""
|
|
577
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/package/version/dependencies";
|
|
578
578
|
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository })), (input.format !== undefined && { format: input.format })), (input.namespace !== undefined && { namespace: input.namespace })), (input.package !== undefined && { package: input.package })), (input.packageVersion !== undefined && { version: input.packageVersion })), (input.nextToken !== undefined && { "next-token": input.nextToken }));
|
|
579
579
|
return [2, new __HttpRequest({
|
|
580
580
|
protocol: protocol,
|
|
@@ -597,7 +597,7 @@ export var serializeAws_restJson1ListPackageVersionsCommand = function (input, c
|
|
|
597
597
|
case 1:
|
|
598
598
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
599
599
|
headers = {};
|
|
600
|
-
resolvedPath = ""
|
|
600
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/package/versions";
|
|
601
601
|
query = __assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository })), (input.format !== undefined && { format: input.format })), (input.namespace !== undefined && { namespace: input.namespace })), (input.package !== undefined && { package: input.package })), (input.status !== undefined && { status: input.status })), (input.sortBy !== undefined && { sortBy: input.sortBy })), (input.maxResults !== undefined && { "max-results": input.maxResults.toString() })), (input.nextToken !== undefined && { "next-token": input.nextToken }));
|
|
602
602
|
return [2, new __HttpRequest({
|
|
603
603
|
protocol: protocol,
|
|
@@ -620,7 +620,7 @@ export var serializeAws_restJson1ListRepositoriesCommand = function (input, cont
|
|
|
620
620
|
case 1:
|
|
621
621
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
622
622
|
headers = {};
|
|
623
|
-
resolvedPath = ""
|
|
623
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/repositories";
|
|
624
624
|
query = __assign(__assign(__assign({}, (input.repositoryPrefix !== undefined && { "repository-prefix": input.repositoryPrefix })), (input.maxResults !== undefined && { "max-results": input.maxResults.toString() })), (input.nextToken !== undefined && { "next-token": input.nextToken }));
|
|
625
625
|
return [2, new __HttpRequest({
|
|
626
626
|
protocol: protocol,
|
|
@@ -643,7 +643,7 @@ export var serializeAws_restJson1ListRepositoriesInDomainCommand = function (inp
|
|
|
643
643
|
case 1:
|
|
644
644
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
645
645
|
headers = {};
|
|
646
|
-
resolvedPath = ""
|
|
646
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/domain/repositories";
|
|
647
647
|
query = __assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.administratorAccount !== undefined && { "administrator-account": input.administratorAccount })), (input.repositoryPrefix !== undefined && { "repository-prefix": input.repositoryPrefix })), (input.maxResults !== undefined && { "max-results": input.maxResults.toString() })), (input.nextToken !== undefined && { "next-token": input.nextToken }));
|
|
648
648
|
return [2, new __HttpRequest({
|
|
649
649
|
protocol: protocol,
|
|
@@ -666,7 +666,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
666
666
|
case 1:
|
|
667
667
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
668
668
|
headers = {};
|
|
669
|
-
resolvedPath = ""
|
|
669
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/tags";
|
|
670
670
|
query = __assign({}, (input.resourceArn !== undefined && { resourceArn: input.resourceArn }));
|
|
671
671
|
return [2, new __HttpRequest({
|
|
672
672
|
protocol: protocol,
|
|
@@ -691,7 +691,7 @@ export var serializeAws_restJson1PutDomainPermissionsPolicyCommand = function (i
|
|
|
691
691
|
headers = {
|
|
692
692
|
"content-type": "application/json",
|
|
693
693
|
};
|
|
694
|
-
resolvedPath = ""
|
|
694
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/domain/permissions/policy";
|
|
695
695
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.domain !== undefined && input.domain !== null && { domain: input.domain })), (input.domainOwner !== undefined && input.domainOwner !== null && { domainOwner: input.domainOwner })), (input.policyDocument !== undefined &&
|
|
696
696
|
input.policyDocument !== null && { policyDocument: input.policyDocument })), (input.policyRevision !== undefined &&
|
|
697
697
|
input.policyRevision !== null && { policyRevision: input.policyRevision })));
|
|
@@ -717,7 +717,7 @@ export var serializeAws_restJson1PutRepositoryPermissionsPolicyCommand = functio
|
|
|
717
717
|
headers = {
|
|
718
718
|
"content-type": "application/json",
|
|
719
719
|
};
|
|
720
|
-
resolvedPath = ""
|
|
720
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/repository/permissions/policy";
|
|
721
721
|
query = __assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository }));
|
|
722
722
|
body = JSON.stringify(__assign(__assign({}, (input.policyDocument !== undefined &&
|
|
723
723
|
input.policyDocument !== null && { policyDocument: input.policyDocument })), (input.policyRevision !== undefined &&
|
|
@@ -745,7 +745,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
745
745
|
headers = {
|
|
746
746
|
"content-type": "application/json",
|
|
747
747
|
};
|
|
748
|
-
resolvedPath = ""
|
|
748
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/tag";
|
|
749
749
|
query = __assign({}, (input.resourceArn !== undefined && { resourceArn: input.resourceArn }));
|
|
750
750
|
body = JSON.stringify(__assign({}, (input.tags !== undefined &&
|
|
751
751
|
input.tags !== null && { tags: serializeAws_restJson1TagList(input.tags, context) })));
|
|
@@ -772,7 +772,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
772
772
|
headers = {
|
|
773
773
|
"content-type": "application/json",
|
|
774
774
|
};
|
|
775
|
-
resolvedPath = ""
|
|
775
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/untag";
|
|
776
776
|
query = __assign({}, (input.resourceArn !== undefined && { resourceArn: input.resourceArn }));
|
|
777
777
|
body = JSON.stringify(__assign({}, (input.tagKeys !== undefined &&
|
|
778
778
|
input.tagKeys !== null && { tagKeys: serializeAws_restJson1TagKeyList(input.tagKeys, context) })));
|
|
@@ -799,7 +799,7 @@ export var serializeAws_restJson1UpdatePackageVersionsStatusCommand = function (
|
|
|
799
799
|
headers = {
|
|
800
800
|
"content-type": "application/json",
|
|
801
801
|
};
|
|
802
|
-
resolvedPath = ""
|
|
802
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/package/versions/update_status";
|
|
803
803
|
query = __assign(__assign(__assign(__assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository })), (input.format !== undefined && { format: input.format })), (input.namespace !== undefined && { namespace: input.namespace })), (input.package !== undefined && { package: input.package }));
|
|
804
804
|
body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.expectedStatus !== undefined &&
|
|
805
805
|
input.expectedStatus !== null && { expectedStatus: input.expectedStatus })), (input.targetStatus !== undefined && input.targetStatus !== null && { targetStatus: input.targetStatus })), (input.versionRevisions !== undefined &&
|
|
@@ -830,7 +830,7 @@ export var serializeAws_restJson1UpdateRepositoryCommand = function (input, cont
|
|
|
830
830
|
headers = {
|
|
831
831
|
"content-type": "application/json",
|
|
832
832
|
};
|
|
833
|
-
resolvedPath = ""
|
|
833
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/v1/repository";
|
|
834
834
|
query = __assign(__assign(__assign({}, (input.domain !== undefined && { domain: input.domain })), (input.domainOwner !== undefined && { "domain-owner": input.domainOwner })), (input.repository !== undefined && { repository: input.repository }));
|
|
835
835
|
body = JSON.stringify(__assign(__assign({}, (input.description !== undefined && input.description !== null && { description: input.description })), (input.upstreams !== undefined &&
|
|
836
836
|
input.upstreams !== null && {
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateExternalConnectionCommandInput, AssociateExternalConnectionCommandOutput } from "./commands/AssociateExternalConnectionCommand";
|
|
10
10
|
import { CopyPackageVersionsCommandInput, CopyPackageVersionsCommandOutput } from "./commands/CopyPackageVersionsCommand";
|
|
11
11
|
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
|
|
@@ -62,7 +62,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
62
62
|
* A function that can calculate the length of a request body.
|
|
63
63
|
* @internal
|
|
64
64
|
*/
|
|
65
|
-
bodyLengthChecker?:
|
|
65
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
66
66
|
/**
|
|
67
67
|
* A function that converts a stream into an array of bytes.
|
|
68
68
|
* @internal
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
8
8
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
10
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
13
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
14
14
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -8,7 +8,7 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
8
8
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
apiVersion: string;
|
|
10
10
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
11
|
-
bodyLengthChecker: (
|
|
11
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
12
12
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
13
13
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
14
14
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -5,7 +5,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
|
|
|
5
5
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
6
6
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
-
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
8
|
+
import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
9
9
|
import { AssociateExternalConnectionCommandInput, AssociateExternalConnectionCommandOutput } from "./commands/AssociateExternalConnectionCommand";
|
|
10
10
|
import { CopyPackageVersionsCommandInput, CopyPackageVersionsCommandOutput } from "./commands/CopyPackageVersionsCommand";
|
|
11
11
|
import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
|
|
@@ -50,7 +50,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
50
50
|
|
|
51
51
|
urlParser?: __UrlParser;
|
|
52
52
|
|
|
53
|
-
bodyLengthChecker?:
|
|
53
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
54
54
|
|
|
55
55
|
streamCollector?: __StreamCollector;
|
|
56
56
|
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
6
6
|
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
7
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
8
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
11
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
6
6
|
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
9
|
-
bodyLengthChecker: (
|
|
9
|
+
bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
|
|
10
10
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
11
11
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
12
12
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: CodeartifactClientConfig) => {
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
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.55.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",
|
|
@@ -18,47 +18,47 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.55.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.55.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.55.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.55.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.55.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.55.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.55.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.55.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.55.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.55.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.55.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.55.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.55.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.55.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.55.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.55.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"tslib": "^2.3.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.55.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|
|
58
58
|
"downlevel-dts": "0.7.0",
|
|
59
59
|
"rimraf": "3.0.2",
|
|
60
60
|
"typedoc": "0.19.2",
|
|
61
|
-
"typescript": "~4.
|
|
61
|
+
"typescript": "~4.6.2"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=12.0.0"
|