@aws-sdk/client-codeartifact 3.199.0 → 3.201.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 CHANGED
@@ -3,6 +3,25 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.201.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.200.0...v3.201.0) (2022-11-01)
7
+
8
+
9
+ ### Features
10
+
11
+ * end support for Node.js 12.x ([#4123](https://github.com/aws/aws-sdk-js-v3/issues/4123)) ([83f913e](https://github.com/aws/aws-sdk-js-v3/commit/83f913ec2ac3878d8726c6964f585550dc5caf3e))
12
+
13
+
14
+
15
+
16
+
17
+ # [3.200.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.199.0...v3.200.0) (2022-10-31)
18
+
19
+ **Note:** Version bump only for package @aws-sdk/client-codeartifact
20
+
21
+
22
+
23
+
24
+
6
25
  # [3.199.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.198.0...v3.199.0) (2022-10-28)
7
26
 
8
27
  **Note:** Version bump only for package @aws-sdk/client-codeartifact
@@ -2,11 +2,10 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.resolveClientEndpointParameters = void 0;
4
4
  const resolveClientEndpointParameters = (options) => {
5
- var _a, _b;
6
5
  return {
7
6
  ...options,
8
- useDualstackEndpoint: (_a = options.useDualstackEndpoint) !== null && _a !== void 0 ? _a : false,
9
- useFipsEndpoint: (_b = options.useFipsEndpoint) !== null && _b !== void 0 ? _b : false,
7
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
8
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
10
9
  defaultSigningName: "codeartifact",
11
10
  };
12
11
  };
@@ -9,7 +9,7 @@ const models_0_1 = require("../models/models_0");
9
9
  const serializeAws_restJson1AssociateExternalConnectionCommand = async (input, context) => {
10
10
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
11
11
  const headers = {};
12
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/external-connection";
12
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/external-connection";
13
13
  const query = map({
14
14
  domain: [, input.domain],
15
15
  "domain-owner": [, input.domainOwner],
@@ -34,7 +34,7 @@ const serializeAws_restJson1CopyPackageVersionsCommand = async (input, context)
34
34
  const headers = {
35
35
  "content-type": "application/json",
36
36
  };
37
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions/copy";
37
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions/copy";
38
38
  const query = map({
39
39
  domain: [, input.domain],
40
40
  "domain-owner": [, input.domainOwner],
@@ -70,7 +70,7 @@ const serializeAws_restJson1CreateDomainCommand = async (input, context) => {
70
70
  const headers = {
71
71
  "content-type": "application/json",
72
72
  };
73
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain";
73
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain";
74
74
  const query = map({
75
75
  domain: [, input.domain],
76
76
  });
@@ -96,7 +96,7 @@ const serializeAws_restJson1CreateRepositoryCommand = async (input, context) =>
96
96
  const headers = {
97
97
  "content-type": "application/json",
98
98
  };
99
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
99
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
100
100
  const query = map({
101
101
  domain: [, input.domain],
102
102
  "domain-owner": [, input.domainOwner],
@@ -125,7 +125,7 @@ exports.serializeAws_restJson1CreateRepositoryCommand = serializeAws_restJson1Cr
125
125
  const serializeAws_restJson1DeleteDomainCommand = async (input, context) => {
126
126
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
127
127
  const headers = {};
128
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain";
128
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain";
129
129
  const query = map({
130
130
  domain: [, input.domain],
131
131
  "domain-owner": [, input.domainOwner],
@@ -146,7 +146,7 @@ exports.serializeAws_restJson1DeleteDomainCommand = serializeAws_restJson1Delete
146
146
  const serializeAws_restJson1DeleteDomainPermissionsPolicyCommand = async (input, context) => {
147
147
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
148
148
  const headers = {};
149
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/permissions/policy";
149
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/permissions/policy";
150
150
  const query = map({
151
151
  domain: [, input.domain],
152
152
  "domain-owner": [, input.domainOwner],
@@ -170,7 +170,7 @@ const serializeAws_restJson1DeletePackageVersionsCommand = async (input, context
170
170
  const headers = {
171
171
  "content-type": "application/json",
172
172
  };
173
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions/delete";
173
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions/delete";
174
174
  const query = map({
175
175
  domain: [, input.domain],
176
176
  "domain-owner": [, input.domainOwner],
@@ -199,7 +199,7 @@ exports.serializeAws_restJson1DeletePackageVersionsCommand = serializeAws_restJs
199
199
  const serializeAws_restJson1DeleteRepositoryCommand = async (input, context) => {
200
200
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
201
201
  const headers = {};
202
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
202
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
203
203
  const query = map({
204
204
  domain: [, input.domain],
205
205
  "domain-owner": [, input.domainOwner],
@@ -221,7 +221,7 @@ exports.serializeAws_restJson1DeleteRepositoryCommand = serializeAws_restJson1De
221
221
  const serializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand = async (input, context) => {
222
222
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
223
223
  const headers = {};
224
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/permissions/policies";
224
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/permissions/policies";
225
225
  const query = map({
226
226
  domain: [, input.domain],
227
227
  "domain-owner": [, input.domainOwner],
@@ -244,7 +244,7 @@ exports.serializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand = seriali
244
244
  const serializeAws_restJson1DescribeDomainCommand = async (input, context) => {
245
245
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
246
246
  const headers = {};
247
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain";
247
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain";
248
248
  const query = map({
249
249
  domain: [, input.domain],
250
250
  "domain-owner": [, input.domainOwner],
@@ -265,7 +265,7 @@ exports.serializeAws_restJson1DescribeDomainCommand = serializeAws_restJson1Desc
265
265
  const serializeAws_restJson1DescribePackageCommand = async (input, context) => {
266
266
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
267
267
  const headers = {};
268
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package";
268
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package";
269
269
  const query = map({
270
270
  domain: [, input.domain],
271
271
  "domain-owner": [, input.domainOwner],
@@ -290,7 +290,7 @@ exports.serializeAws_restJson1DescribePackageCommand = serializeAws_restJson1Des
290
290
  const serializeAws_restJson1DescribePackageVersionCommand = async (input, context) => {
291
291
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
292
292
  const headers = {};
293
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version";
293
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version";
294
294
  const query = map({
295
295
  domain: [, input.domain],
296
296
  "domain-owner": [, input.domainOwner],
@@ -316,7 +316,7 @@ exports.serializeAws_restJson1DescribePackageVersionCommand = serializeAws_restJ
316
316
  const serializeAws_restJson1DescribeRepositoryCommand = async (input, context) => {
317
317
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
318
318
  const headers = {};
319
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
319
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
320
320
  const query = map({
321
321
  domain: [, input.domain],
322
322
  "domain-owner": [, input.domainOwner],
@@ -338,7 +338,7 @@ exports.serializeAws_restJson1DescribeRepositoryCommand = serializeAws_restJson1
338
338
  const serializeAws_restJson1DisassociateExternalConnectionCommand = async (input, context) => {
339
339
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
340
340
  const headers = {};
341
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/external-connection";
341
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/external-connection";
342
342
  const query = map({
343
343
  domain: [, input.domain],
344
344
  "domain-owner": [, input.domainOwner],
@@ -363,7 +363,7 @@ const serializeAws_restJson1DisposePackageVersionsCommand = async (input, contex
363
363
  const headers = {
364
364
  "content-type": "application/json",
365
365
  };
366
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions/dispose";
366
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions/dispose";
367
367
  const query = map({
368
368
  domain: [, input.domain],
369
369
  "domain-owner": [, input.domainOwner],
@@ -395,7 +395,7 @@ exports.serializeAws_restJson1DisposePackageVersionsCommand = serializeAws_restJ
395
395
  const serializeAws_restJson1GetAuthorizationTokenCommand = async (input, context) => {
396
396
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
397
397
  const headers = {};
398
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/authorization-token";
398
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/authorization-token";
399
399
  const query = map({
400
400
  domain: [, input.domain],
401
401
  "domain-owner": [, input.domainOwner],
@@ -417,7 +417,7 @@ exports.serializeAws_restJson1GetAuthorizationTokenCommand = serializeAws_restJs
417
417
  const serializeAws_restJson1GetDomainPermissionsPolicyCommand = async (input, context) => {
418
418
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
419
419
  const headers = {};
420
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/permissions/policy";
420
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/permissions/policy";
421
421
  const query = map({
422
422
  domain: [, input.domain],
423
423
  "domain-owner": [, input.domainOwner],
@@ -438,7 +438,7 @@ exports.serializeAws_restJson1GetDomainPermissionsPolicyCommand = serializeAws_r
438
438
  const serializeAws_restJson1GetPackageVersionAssetCommand = async (input, context) => {
439
439
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
440
440
  const headers = {};
441
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/asset";
441
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/asset";
442
442
  const query = map({
443
443
  domain: [, input.domain],
444
444
  "domain-owner": [, input.domainOwner],
@@ -466,7 +466,7 @@ exports.serializeAws_restJson1GetPackageVersionAssetCommand = serializeAws_restJ
466
466
  const serializeAws_restJson1GetPackageVersionReadmeCommand = async (input, context) => {
467
467
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
468
468
  const headers = {};
469
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/readme";
469
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/readme";
470
470
  const query = map({
471
471
  domain: [, input.domain],
472
472
  "domain-owner": [, input.domainOwner],
@@ -492,7 +492,7 @@ exports.serializeAws_restJson1GetPackageVersionReadmeCommand = serializeAws_rest
492
492
  const serializeAws_restJson1GetRepositoryEndpointCommand = async (input, context) => {
493
493
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
494
494
  const headers = {};
495
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/endpoint";
495
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/endpoint";
496
496
  const query = map({
497
497
  domain: [, input.domain],
498
498
  "domain-owner": [, input.domainOwner],
@@ -515,7 +515,7 @@ exports.serializeAws_restJson1GetRepositoryEndpointCommand = serializeAws_restJs
515
515
  const serializeAws_restJson1GetRepositoryPermissionsPolicyCommand = async (input, context) => {
516
516
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
517
517
  const headers = {};
518
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/permissions/policy";
518
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/permissions/policy";
519
519
  const query = map({
520
520
  domain: [, input.domain],
521
521
  "domain-owner": [, input.domainOwner],
@@ -539,7 +539,7 @@ const serializeAws_restJson1ListDomainsCommand = async (input, context) => {
539
539
  const headers = {
540
540
  "content-type": "application/json",
541
541
  };
542
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domains";
542
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domains";
543
543
  let body;
544
544
  body = JSON.stringify({
545
545
  ...(input.maxResults != null && { maxResults: input.maxResults }),
@@ -559,7 +559,7 @@ exports.serializeAws_restJson1ListDomainsCommand = serializeAws_restJson1ListDom
559
559
  const serializeAws_restJson1ListPackagesCommand = async (input, context) => {
560
560
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
561
561
  const headers = {};
562
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/packages";
562
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/packages";
563
563
  const query = map({
564
564
  domain: [, input.domain],
565
565
  "domain-owner": [, input.domainOwner],
@@ -588,7 +588,7 @@ exports.serializeAws_restJson1ListPackagesCommand = serializeAws_restJson1ListPa
588
588
  const serializeAws_restJson1ListPackageVersionAssetsCommand = async (input, context) => {
589
589
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
590
590
  const headers = {};
591
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/assets";
591
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/assets";
592
592
  const query = map({
593
593
  domain: [, input.domain],
594
594
  "domain-owner": [, input.domainOwner],
@@ -616,7 +616,7 @@ exports.serializeAws_restJson1ListPackageVersionAssetsCommand = serializeAws_res
616
616
  const serializeAws_restJson1ListPackageVersionDependenciesCommand = async (input, context) => {
617
617
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
618
618
  const headers = {};
619
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/dependencies";
619
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/dependencies";
620
620
  const query = map({
621
621
  domain: [, input.domain],
622
622
  "domain-owner": [, input.domainOwner],
@@ -643,7 +643,7 @@ exports.serializeAws_restJson1ListPackageVersionDependenciesCommand = serializeA
643
643
  const serializeAws_restJson1ListPackageVersionsCommand = async (input, context) => {
644
644
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
645
645
  const headers = {};
646
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions";
646
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions";
647
647
  const query = map({
648
648
  domain: [, input.domain],
649
649
  "domain-owner": [, input.domainOwner],
@@ -673,7 +673,7 @@ exports.serializeAws_restJson1ListPackageVersionsCommand = serializeAws_restJson
673
673
  const serializeAws_restJson1ListRepositoriesCommand = async (input, context) => {
674
674
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
675
675
  const headers = {};
676
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repositories";
676
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repositories";
677
677
  const query = map({
678
678
  "repository-prefix": [, input.repositoryPrefix],
679
679
  "max-results": [() => input.maxResults !== void 0, () => input.maxResults.toString()],
@@ -695,7 +695,7 @@ exports.serializeAws_restJson1ListRepositoriesCommand = serializeAws_restJson1Li
695
695
  const serializeAws_restJson1ListRepositoriesInDomainCommand = async (input, context) => {
696
696
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
697
697
  const headers = {};
698
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/repositories";
698
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/repositories";
699
699
  const query = map({
700
700
  domain: [, input.domain],
701
701
  "domain-owner": [, input.domainOwner],
@@ -720,7 +720,7 @@ exports.serializeAws_restJson1ListRepositoriesInDomainCommand = serializeAws_res
720
720
  const serializeAws_restJson1ListTagsForResourceCommand = async (input, context) => {
721
721
  const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
722
722
  const headers = {};
723
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tags";
723
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tags";
724
724
  const query = map({
725
725
  resourceArn: [, input.resourceArn],
726
726
  });
@@ -742,7 +742,7 @@ const serializeAws_restJson1PutDomainPermissionsPolicyCommand = async (input, co
742
742
  const headers = {
743
743
  "content-type": "application/json",
744
744
  };
745
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/permissions/policy";
745
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/permissions/policy";
746
746
  let body;
747
747
  body = JSON.stringify({
748
748
  ...(input.domain != null && { domain: input.domain }),
@@ -766,7 +766,7 @@ const serializeAws_restJson1PutPackageOriginConfigurationCommand = async (input,
766
766
  const headers = {
767
767
  "content-type": "application/json",
768
768
  };
769
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package";
769
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package";
770
770
  const query = map({
771
771
  domain: [, input.domain],
772
772
  "domain-owner": [, input.domainOwner],
@@ -798,7 +798,7 @@ const serializeAws_restJson1PutRepositoryPermissionsPolicyCommand = async (input
798
798
  const headers = {
799
799
  "content-type": "application/json",
800
800
  };
801
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/permissions/policy";
801
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/permissions/policy";
802
802
  const query = map({
803
803
  domain: [, input.domain],
804
804
  "domain-owner": [, input.domainOwner],
@@ -826,7 +826,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
826
826
  const headers = {
827
827
  "content-type": "application/json",
828
828
  };
829
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tag";
829
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tag";
830
830
  const query = map({
831
831
  resourceArn: [, input.resourceArn],
832
832
  });
@@ -851,7 +851,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
851
851
  const headers = {
852
852
  "content-type": "application/json",
853
853
  };
854
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/untag";
854
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/untag";
855
855
  const query = map({
856
856
  resourceArn: [, input.resourceArn],
857
857
  });
@@ -876,7 +876,7 @@ const serializeAws_restJson1UpdatePackageVersionsStatusCommand = async (input, c
876
876
  const headers = {
877
877
  "content-type": "application/json",
878
878
  };
879
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions/update_status";
879
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions/update_status";
880
880
  const query = map({
881
881
  domain: [, input.domain],
882
882
  "domain-owner": [, input.domainOwner],
@@ -911,7 +911,7 @@ const serializeAws_restJson1UpdateRepositoryCommand = async (input, context) =>
911
911
  const headers = {
912
912
  "content-type": "application/json",
913
913
  };
914
- const resolvedPath = `${(basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
914
+ const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
915
915
  const query = map({
916
916
  domain: [, input.domain],
917
917
  "domain-owner": [, input.domainOwner],
@@ -3236,15 +3236,12 @@ const deserializeAws_restJson1UpstreamRepositoryInfoList = (output, context) =>
3236
3236
  });
3237
3237
  return retVal;
3238
3238
  };
3239
- const deserializeMetadata = (output) => {
3240
- var _a, _b;
3241
- return ({
3242
- httpStatusCode: output.statusCode,
3243
- requestId: (_b = (_a = output.headers["x-amzn-requestid"]) !== null && _a !== void 0 ? _a : output.headers["x-amzn-request-id"]) !== null && _b !== void 0 ? _b : output.headers["x-amz-request-id"],
3244
- extendedRequestId: output.headers["x-amz-id-2"],
3245
- cfId: output.headers["x-amz-cf-id"],
3246
- });
3247
- };
3239
+ const deserializeMetadata = (output) => ({
3240
+ httpStatusCode: output.statusCode,
3241
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
3242
+ extendedRequestId: output.headers["x-amz-id-2"],
3243
+ cfId: output.headers["x-amz-cf-id"],
3244
+ });
3248
3245
  const collectBody = (streamBody = new Uint8Array(), context) => {
3249
3246
  if (streamBody instanceof Uint8Array) {
3250
3247
  return Promise.resolve(streamBody);
@@ -3264,9 +3261,8 @@ const parseBody = (streamBody, context) => collectBodyString(streamBody, context
3264
3261
  return {};
3265
3262
  });
3266
3263
  const parseErrorBody = async (errorBody, context) => {
3267
- var _a;
3268
3264
  const value = await parseBody(errorBody, context);
3269
- value.message = (_a = value.message) !== null && _a !== void 0 ? _a : value.Message;
3265
+ value.message = value.message ?? value.Message;
3270
3266
  return value;
3271
3267
  };
3272
3268
  const loadRestJsonErrorCode = (output, data) => {
@@ -17,7 +17,6 @@ const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
17
  const smithy_client_1 = require("@aws-sdk/smithy-client");
18
18
  const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
19
19
  const getRuntimeConfig = (config) => {
20
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
21
20
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
22
21
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
23
22
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -26,22 +25,23 @@ const getRuntimeConfig = (config) => {
26
25
  ...config,
27
26
  runtime: "browser",
28
27
  defaultsMode,
29
- base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
30
- base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
31
- bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
32
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : ((_) => () => Promise.reject(new Error("Credential is missing"))),
33
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
34
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
35
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, invalid_dependency_1.invalidProvider)("Region is missing"),
36
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
37
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
38
- sdkStreamMixin: (_k = config === null || config === void 0 ? void 0 : config.sdkStreamMixin) !== null && _k !== void 0 ? _k : util_stream_browser_1.sdkStreamMixin,
39
- sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : sha256_browser_1.Sha256,
40
- streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : fetch_http_handler_1.streamCollector,
41
- useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
42
- useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
43
- utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : util_utf8_browser_1.fromUtf8,
44
- utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : util_utf8_browser_1.toUtf8,
28
+ base64Decoder: config?.base64Decoder ?? util_base64_browser_1.fromBase64,
29
+ base64Encoder: config?.base64Encoder ?? util_base64_browser_1.toBase64,
30
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
31
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
32
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
33
+ (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
34
+ maxAttempts: config?.maxAttempts ?? middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
35
+ region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
36
+ requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
37
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
38
+ sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_browser_1.sdkStreamMixin,
39
+ sha256: config?.sha256 ?? sha256_browser_1.Sha256,
40
+ streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
41
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
42
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
43
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_browser_1.fromUtf8,
44
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_browser_1.toUtf8,
45
45
  };
46
46
  };
47
47
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -20,7 +20,6 @@ const smithy_client_1 = require("@aws-sdk/smithy-client");
20
20
  const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
21
21
  const smithy_client_2 = require("@aws-sdk/smithy-client");
22
22
  const getRuntimeConfig = (config) => {
23
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
24
23
  (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
25
24
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
26
25
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -30,25 +29,27 @@ const getRuntimeConfig = (config) => {
30
29
  ...config,
31
30
  runtime: "node",
32
31
  defaultsMode,
33
- base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
34
- base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
35
- bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
36
- credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
37
- defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
38
- maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
39
- region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
40
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
41
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (0, node_config_provider_1.loadConfig)({
42
- ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
43
- default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
44
- }),
45
- sdkStreamMixin: (_k = config === null || config === void 0 ? void 0 : config.sdkStreamMixin) !== null && _k !== void 0 ? _k : util_stream_node_1.sdkStreamMixin,
46
- sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : hash_node_1.Hash.bind(null, "sha256"),
47
- streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : node_http_handler_1.streamCollector,
48
- useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
49
- useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
50
- utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : util_utf8_node_1.fromUtf8,
51
- utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : util_utf8_node_1.toUtf8,
32
+ base64Decoder: config?.base64Decoder ?? util_base64_node_1.fromBase64,
33
+ base64Encoder: config?.base64Encoder ?? util_base64_node_1.toBase64,
34
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
35
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? (0, client_sts_1.decorateDefaultCredentialProvider)(credential_provider_node_1.defaultProvider),
36
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
37
+ (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
38
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
39
+ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
40
+ requestHandler: config?.requestHandler ?? new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
41
+ retryMode: config?.retryMode ??
42
+ (0, node_config_provider_1.loadConfig)({
43
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
44
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
45
+ }),
46
+ sdkStreamMixin: config?.sdkStreamMixin ?? util_stream_node_1.sdkStreamMixin,
47
+ sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
48
+ streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
49
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
50
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
51
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_node_1.fromUtf8,
52
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_node_1.toUtf8,
52
53
  };
53
54
  };
54
55
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -4,13 +4,12 @@ exports.getRuntimeConfig = void 0;
4
4
  const sha256_js_1 = require("@aws-crypto/sha256-js");
5
5
  const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
6
  const getRuntimeConfig = (config) => {
7
- var _a;
8
7
  const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
9
8
  return {
10
9
  ...browserDefaults,
11
10
  ...config,
12
11
  runtime: "react-native",
13
- sha256: (_a = config === null || config === void 0 ? void 0 : config.sha256) !== null && _a !== void 0 ? _a : sha256_js_1.Sha256,
12
+ sha256: config?.sha256 ?? sha256_js_1.Sha256,
14
13
  };
15
14
  };
16
15
  exports.getRuntimeConfig = getRuntimeConfig;
@@ -3,15 +3,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const url_parser_1 = require("@aws-sdk/url-parser");
5
5
  const endpointResolver_1 = require("./endpoint/endpointResolver");
6
- const getRuntimeConfig = (config) => {
7
- var _a, _b, _c, _d, _e;
8
- return ({
9
- apiVersion: "2018-09-22",
10
- disableHostPrefix: (_a = config === null || config === void 0 ? void 0 : config.disableHostPrefix) !== null && _a !== void 0 ? _a : false,
11
- endpointProvider: (_b = config === null || config === void 0 ? void 0 : config.endpointProvider) !== null && _b !== void 0 ? _b : endpointResolver_1.defaultEndpointResolver,
12
- logger: (_c = config === null || config === void 0 ? void 0 : config.logger) !== null && _c !== void 0 ? _c : {},
13
- serviceId: (_d = config === null || config === void 0 ? void 0 : config.serviceId) !== null && _d !== void 0 ? _d : "codeartifact",
14
- urlParser: (_e = config === null || config === void 0 ? void 0 : config.urlParser) !== null && _e !== void 0 ? _e : url_parser_1.parseUrl,
15
- });
16
- };
6
+ const getRuntimeConfig = (config) => ({
7
+ apiVersion: "2018-09-22",
8
+ disableHostPrefix: config?.disableHostPrefix ?? false,
9
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
10
+ logger: config?.logger ?? {},
11
+ serviceId: config?.serviceId ?? "codeartifact",
12
+ urlParser: config?.urlParser ?? url_parser_1.parseUrl,
13
+ });
17
14
  exports.getRuntimeConfig = getRuntimeConfig;
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.199.0",
4
+ "version": "3.201.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",
@@ -19,46 +19,46 @@
19
19
  "dependencies": {
20
20
  "@aws-crypto/sha256-browser": "2.0.0",
21
21
  "@aws-crypto/sha256-js": "2.0.0",
22
- "@aws-sdk/client-sts": "3.199.0",
23
- "@aws-sdk/config-resolver": "3.198.0",
24
- "@aws-sdk/credential-provider-node": "3.199.0",
25
- "@aws-sdk/fetch-http-handler": "3.199.0",
26
- "@aws-sdk/hash-node": "3.198.0",
27
- "@aws-sdk/invalid-dependency": "3.198.0",
28
- "@aws-sdk/middleware-content-length": "3.199.0",
29
- "@aws-sdk/middleware-endpoint": "3.198.0",
30
- "@aws-sdk/middleware-host-header": "3.198.0",
31
- "@aws-sdk/middleware-logger": "3.198.0",
32
- "@aws-sdk/middleware-recursion-detection": "3.198.0",
33
- "@aws-sdk/middleware-retry": "3.198.0",
34
- "@aws-sdk/middleware-serde": "3.198.0",
35
- "@aws-sdk/middleware-signing": "3.198.0",
36
- "@aws-sdk/middleware-stack": "3.198.0",
37
- "@aws-sdk/middleware-user-agent": "3.198.0",
38
- "@aws-sdk/node-config-provider": "3.198.0",
39
- "@aws-sdk/node-http-handler": "3.199.0",
40
- "@aws-sdk/protocol-http": "3.198.0",
41
- "@aws-sdk/smithy-client": "3.198.0",
42
- "@aws-sdk/types": "3.198.0",
43
- "@aws-sdk/url-parser": "3.198.0",
22
+ "@aws-sdk/client-sts": "3.201.0",
23
+ "@aws-sdk/config-resolver": "3.201.0",
24
+ "@aws-sdk/credential-provider-node": "3.201.0",
25
+ "@aws-sdk/fetch-http-handler": "3.201.0",
26
+ "@aws-sdk/hash-node": "3.201.0",
27
+ "@aws-sdk/invalid-dependency": "3.201.0",
28
+ "@aws-sdk/middleware-content-length": "3.201.0",
29
+ "@aws-sdk/middleware-endpoint": "3.201.0",
30
+ "@aws-sdk/middleware-host-header": "3.201.0",
31
+ "@aws-sdk/middleware-logger": "3.201.0",
32
+ "@aws-sdk/middleware-recursion-detection": "3.201.0",
33
+ "@aws-sdk/middleware-retry": "3.201.0",
34
+ "@aws-sdk/middleware-serde": "3.201.0",
35
+ "@aws-sdk/middleware-signing": "3.201.0",
36
+ "@aws-sdk/middleware-stack": "3.201.0",
37
+ "@aws-sdk/middleware-user-agent": "3.201.0",
38
+ "@aws-sdk/node-config-provider": "3.201.0",
39
+ "@aws-sdk/node-http-handler": "3.201.0",
40
+ "@aws-sdk/protocol-http": "3.201.0",
41
+ "@aws-sdk/smithy-client": "3.201.0",
42
+ "@aws-sdk/types": "3.201.0",
43
+ "@aws-sdk/url-parser": "3.201.0",
44
44
  "@aws-sdk/util-base64-browser": "3.188.0",
45
- "@aws-sdk/util-base64-node": "3.188.0",
45
+ "@aws-sdk/util-base64-node": "3.201.0",
46
46
  "@aws-sdk/util-body-length-browser": "3.188.0",
47
- "@aws-sdk/util-body-length-node": "3.188.0",
48
- "@aws-sdk/util-defaults-mode-browser": "3.198.0",
49
- "@aws-sdk/util-defaults-mode-node": "3.198.0",
50
- "@aws-sdk/util-endpoints": "3.198.0",
51
- "@aws-sdk/util-stream-browser": "3.199.0",
52
- "@aws-sdk/util-stream-node": "3.199.0",
53
- "@aws-sdk/util-user-agent-browser": "3.198.0",
54
- "@aws-sdk/util-user-agent-node": "3.198.0",
47
+ "@aws-sdk/util-body-length-node": "3.201.0",
48
+ "@aws-sdk/util-defaults-mode-browser": "3.201.0",
49
+ "@aws-sdk/util-defaults-mode-node": "3.201.0",
50
+ "@aws-sdk/util-endpoints": "3.201.0",
51
+ "@aws-sdk/util-stream-browser": "3.201.0",
52
+ "@aws-sdk/util-stream-node": "3.201.0",
53
+ "@aws-sdk/util-user-agent-browser": "3.201.0",
54
+ "@aws-sdk/util-user-agent-node": "3.201.0",
55
55
  "@aws-sdk/util-utf8-browser": "3.188.0",
56
- "@aws-sdk/util-utf8-node": "3.199.0",
56
+ "@aws-sdk/util-utf8-node": "3.201.0",
57
57
  "tslib": "^2.3.1"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@aws-sdk/service-client-documentation-generator": "3.188.0",
61
- "@tsconfig/recommended": "1.0.1",
61
+ "@tsconfig/node14": "1.0.3",
62
62
  "@types/node": "^12.7.5",
63
63
  "concurrently": "7.0.0",
64
64
  "downlevel-dts": "0.10.1",
@@ -72,7 +72,7 @@
72
72
  }
73
73
  },
74
74
  "engines": {
75
- "node": ">=12.0.0"
75
+ "node": ">=14.0.0"
76
76
  },
77
77
  "typesVersions": {
78
78
  "<4.0": {