@aws-sdk/client-codeartifact 3.215.0 → 3.218.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.
|
@@ -11,10 +11,10 @@ const serializeAws_restJson1AssociateExternalConnectionCommand = async (input, c
|
|
|
11
11
|
const headers = {};
|
|
12
12
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/external-connection";
|
|
13
13
|
const query = map({
|
|
14
|
-
domain: [, input.domain],
|
|
14
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
15
15
|
"domain-owner": [, input.domainOwner],
|
|
16
|
-
repository: [, input.repository],
|
|
17
|
-
"external-connection": [, input.externalConnection],
|
|
16
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
17
|
+
"external-connection": [, (0, smithy_client_1.expectNonNull)(input.externalConnection, `externalConnection`)],
|
|
18
18
|
});
|
|
19
19
|
let body;
|
|
20
20
|
return new protocol_http_1.HttpRequest({
|
|
@@ -36,13 +36,13 @@ const serializeAws_restJson1CopyPackageVersionsCommand = async (input, context)
|
|
|
36
36
|
};
|
|
37
37
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions/copy";
|
|
38
38
|
const query = map({
|
|
39
|
-
domain: [, input.domain],
|
|
39
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
40
40
|
"domain-owner": [, input.domainOwner],
|
|
41
|
-
"source-repository": [, input.sourceRepository],
|
|
42
|
-
"destination-repository": [, input.destinationRepository],
|
|
43
|
-
format: [, input.format],
|
|
41
|
+
"source-repository": [, (0, smithy_client_1.expectNonNull)(input.sourceRepository, `sourceRepository`)],
|
|
42
|
+
"destination-repository": [, (0, smithy_client_1.expectNonNull)(input.destinationRepository, `destinationRepository`)],
|
|
43
|
+
format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
|
|
44
44
|
namespace: [, input.namespace],
|
|
45
|
-
package: [, input.package],
|
|
45
|
+
package: [, (0, smithy_client_1.expectNonNull)(input.package, `package`)],
|
|
46
46
|
});
|
|
47
47
|
let body;
|
|
48
48
|
body = JSON.stringify({
|
|
@@ -72,7 +72,7 @@ const serializeAws_restJson1CreateDomainCommand = async (input, context) => {
|
|
|
72
72
|
};
|
|
73
73
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain";
|
|
74
74
|
const query = map({
|
|
75
|
-
domain: [, input.domain],
|
|
75
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
76
76
|
});
|
|
77
77
|
let body;
|
|
78
78
|
body = JSON.stringify({
|
|
@@ -98,9 +98,9 @@ const serializeAws_restJson1CreateRepositoryCommand = async (input, context) =>
|
|
|
98
98
|
};
|
|
99
99
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
|
|
100
100
|
const query = map({
|
|
101
|
-
domain: [, input.domain],
|
|
101
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
102
102
|
"domain-owner": [, input.domainOwner],
|
|
103
|
-
repository: [, input.repository],
|
|
103
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
104
104
|
});
|
|
105
105
|
let body;
|
|
106
106
|
body = JSON.stringify({
|
|
@@ -127,7 +127,7 @@ const serializeAws_restJson1DeleteDomainCommand = async (input, context) => {
|
|
|
127
127
|
const headers = {};
|
|
128
128
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain";
|
|
129
129
|
const query = map({
|
|
130
|
-
domain: [, input.domain],
|
|
130
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
131
131
|
"domain-owner": [, input.domainOwner],
|
|
132
132
|
});
|
|
133
133
|
let body;
|
|
@@ -148,7 +148,7 @@ const serializeAws_restJson1DeleteDomainPermissionsPolicyCommand = async (input,
|
|
|
148
148
|
const headers = {};
|
|
149
149
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/permissions/policy";
|
|
150
150
|
const query = map({
|
|
151
|
-
domain: [, input.domain],
|
|
151
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
152
152
|
"domain-owner": [, input.domainOwner],
|
|
153
153
|
"policy-revision": [, input.policyRevision],
|
|
154
154
|
});
|
|
@@ -172,12 +172,12 @@ const serializeAws_restJson1DeletePackageVersionsCommand = async (input, context
|
|
|
172
172
|
};
|
|
173
173
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions/delete";
|
|
174
174
|
const query = map({
|
|
175
|
-
domain: [, input.domain],
|
|
175
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
176
176
|
"domain-owner": [, input.domainOwner],
|
|
177
|
-
repository: [, input.repository],
|
|
178
|
-
format: [, input.format],
|
|
177
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
178
|
+
format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
|
|
179
179
|
namespace: [, input.namespace],
|
|
180
|
-
package: [, input.package],
|
|
180
|
+
package: [, (0, smithy_client_1.expectNonNull)(input.package, `package`)],
|
|
181
181
|
});
|
|
182
182
|
let body;
|
|
183
183
|
body = JSON.stringify({
|
|
@@ -201,9 +201,9 @@ const serializeAws_restJson1DeleteRepositoryCommand = async (input, context) =>
|
|
|
201
201
|
const headers = {};
|
|
202
202
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
|
|
203
203
|
const query = map({
|
|
204
|
-
domain: [, input.domain],
|
|
204
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
205
205
|
"domain-owner": [, input.domainOwner],
|
|
206
|
-
repository: [, input.repository],
|
|
206
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
207
207
|
});
|
|
208
208
|
let body;
|
|
209
209
|
return new protocol_http_1.HttpRequest({
|
|
@@ -223,9 +223,9 @@ const serializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand = async (in
|
|
|
223
223
|
const headers = {};
|
|
224
224
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/permissions/policies";
|
|
225
225
|
const query = map({
|
|
226
|
-
domain: [, input.domain],
|
|
226
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
227
227
|
"domain-owner": [, input.domainOwner],
|
|
228
|
-
repository: [, input.repository],
|
|
228
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
229
229
|
"policy-revision": [, input.policyRevision],
|
|
230
230
|
});
|
|
231
231
|
let body;
|
|
@@ -246,7 +246,7 @@ const serializeAws_restJson1DescribeDomainCommand = async (input, context) => {
|
|
|
246
246
|
const headers = {};
|
|
247
247
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain";
|
|
248
248
|
const query = map({
|
|
249
|
-
domain: [, input.domain],
|
|
249
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
250
250
|
"domain-owner": [, input.domainOwner],
|
|
251
251
|
});
|
|
252
252
|
let body;
|
|
@@ -267,12 +267,12 @@ const serializeAws_restJson1DescribePackageCommand = async (input, context) => {
|
|
|
267
267
|
const headers = {};
|
|
268
268
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package";
|
|
269
269
|
const query = map({
|
|
270
|
-
domain: [, input.domain],
|
|
270
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
271
271
|
"domain-owner": [, input.domainOwner],
|
|
272
|
-
repository: [, input.repository],
|
|
273
|
-
format: [, input.format],
|
|
272
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
273
|
+
format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
|
|
274
274
|
namespace: [, input.namespace],
|
|
275
|
-
package: [, input.package],
|
|
275
|
+
package: [, (0, smithy_client_1.expectNonNull)(input.package, `package`)],
|
|
276
276
|
});
|
|
277
277
|
let body;
|
|
278
278
|
return new protocol_http_1.HttpRequest({
|
|
@@ -292,13 +292,13 @@ const serializeAws_restJson1DescribePackageVersionCommand = async (input, contex
|
|
|
292
292
|
const headers = {};
|
|
293
293
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version";
|
|
294
294
|
const query = map({
|
|
295
|
-
domain: [, input.domain],
|
|
295
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
296
296
|
"domain-owner": [, input.domainOwner],
|
|
297
|
-
repository: [, input.repository],
|
|
298
|
-
format: [, input.format],
|
|
297
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
298
|
+
format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
|
|
299
299
|
namespace: [, input.namespace],
|
|
300
|
-
package: [, input.package],
|
|
301
|
-
version: [, input.packageVersion],
|
|
300
|
+
package: [, (0, smithy_client_1.expectNonNull)(input.package, `package`)],
|
|
301
|
+
version: [, (0, smithy_client_1.expectNonNull)(input.packageVersion, `packageVersion`)],
|
|
302
302
|
});
|
|
303
303
|
let body;
|
|
304
304
|
return new protocol_http_1.HttpRequest({
|
|
@@ -318,9 +318,9 @@ const serializeAws_restJson1DescribeRepositoryCommand = async (input, context) =
|
|
|
318
318
|
const headers = {};
|
|
319
319
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
|
|
320
320
|
const query = map({
|
|
321
|
-
domain: [, input.domain],
|
|
321
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
322
322
|
"domain-owner": [, input.domainOwner],
|
|
323
|
-
repository: [, input.repository],
|
|
323
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
324
324
|
});
|
|
325
325
|
let body;
|
|
326
326
|
return new protocol_http_1.HttpRequest({
|
|
@@ -340,10 +340,10 @@ const serializeAws_restJson1DisassociateExternalConnectionCommand = async (input
|
|
|
340
340
|
const headers = {};
|
|
341
341
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/external-connection";
|
|
342
342
|
const query = map({
|
|
343
|
-
domain: [, input.domain],
|
|
343
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
344
344
|
"domain-owner": [, input.domainOwner],
|
|
345
|
-
repository: [, input.repository],
|
|
346
|
-
"external-connection": [, input.externalConnection],
|
|
345
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
346
|
+
"external-connection": [, (0, smithy_client_1.expectNonNull)(input.externalConnection, `externalConnection`)],
|
|
347
347
|
});
|
|
348
348
|
let body;
|
|
349
349
|
return new protocol_http_1.HttpRequest({
|
|
@@ -365,12 +365,12 @@ const serializeAws_restJson1DisposePackageVersionsCommand = async (input, contex
|
|
|
365
365
|
};
|
|
366
366
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions/dispose";
|
|
367
367
|
const query = map({
|
|
368
|
-
domain: [, input.domain],
|
|
368
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
369
369
|
"domain-owner": [, input.domainOwner],
|
|
370
|
-
repository: [, input.repository],
|
|
371
|
-
format: [, input.format],
|
|
370
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
371
|
+
format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
|
|
372
372
|
namespace: [, input.namespace],
|
|
373
|
-
package: [, input.package],
|
|
373
|
+
package: [, (0, smithy_client_1.expectNonNull)(input.package, `package`)],
|
|
374
374
|
});
|
|
375
375
|
let body;
|
|
376
376
|
body = JSON.stringify({
|
|
@@ -397,7 +397,7 @@ const serializeAws_restJson1GetAuthorizationTokenCommand = async (input, context
|
|
|
397
397
|
const headers = {};
|
|
398
398
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/authorization-token";
|
|
399
399
|
const query = map({
|
|
400
|
-
domain: [, input.domain],
|
|
400
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
401
401
|
"domain-owner": [, input.domainOwner],
|
|
402
402
|
duration: [() => input.durationSeconds !== void 0, () => input.durationSeconds.toString()],
|
|
403
403
|
});
|
|
@@ -419,7 +419,7 @@ const serializeAws_restJson1GetDomainPermissionsPolicyCommand = async (input, co
|
|
|
419
419
|
const headers = {};
|
|
420
420
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/permissions/policy";
|
|
421
421
|
const query = map({
|
|
422
|
-
domain: [, input.domain],
|
|
422
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
423
423
|
"domain-owner": [, input.domainOwner],
|
|
424
424
|
});
|
|
425
425
|
let body;
|
|
@@ -440,14 +440,14 @@ const serializeAws_restJson1GetPackageVersionAssetCommand = async (input, contex
|
|
|
440
440
|
const headers = {};
|
|
441
441
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/asset";
|
|
442
442
|
const query = map({
|
|
443
|
-
domain: [, input.domain],
|
|
443
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
444
444
|
"domain-owner": [, input.domainOwner],
|
|
445
|
-
repository: [, input.repository],
|
|
446
|
-
format: [, input.format],
|
|
445
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
446
|
+
format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
|
|
447
447
|
namespace: [, input.namespace],
|
|
448
|
-
package: [, input.package],
|
|
449
|
-
version: [, input.packageVersion],
|
|
450
|
-
asset: [, input.asset],
|
|
448
|
+
package: [, (0, smithy_client_1.expectNonNull)(input.package, `package`)],
|
|
449
|
+
version: [, (0, smithy_client_1.expectNonNull)(input.packageVersion, `packageVersion`)],
|
|
450
|
+
asset: [, (0, smithy_client_1.expectNonNull)(input.asset, `asset`)],
|
|
451
451
|
revision: [, input.packageVersionRevision],
|
|
452
452
|
});
|
|
453
453
|
let body;
|
|
@@ -468,13 +468,13 @@ const serializeAws_restJson1GetPackageVersionReadmeCommand = async (input, conte
|
|
|
468
468
|
const headers = {};
|
|
469
469
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/readme";
|
|
470
470
|
const query = map({
|
|
471
|
-
domain: [, input.domain],
|
|
471
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
472
472
|
"domain-owner": [, input.domainOwner],
|
|
473
|
-
repository: [, input.repository],
|
|
474
|
-
format: [, input.format],
|
|
473
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
474
|
+
format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
|
|
475
475
|
namespace: [, input.namespace],
|
|
476
|
-
package: [, input.package],
|
|
477
|
-
version: [, input.packageVersion],
|
|
476
|
+
package: [, (0, smithy_client_1.expectNonNull)(input.package, `package`)],
|
|
477
|
+
version: [, (0, smithy_client_1.expectNonNull)(input.packageVersion, `packageVersion`)],
|
|
478
478
|
});
|
|
479
479
|
let body;
|
|
480
480
|
return new protocol_http_1.HttpRequest({
|
|
@@ -494,10 +494,10 @@ const serializeAws_restJson1GetRepositoryEndpointCommand = async (input, context
|
|
|
494
494
|
const headers = {};
|
|
495
495
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/endpoint";
|
|
496
496
|
const query = map({
|
|
497
|
-
domain: [, input.domain],
|
|
497
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
498
498
|
"domain-owner": [, input.domainOwner],
|
|
499
|
-
repository: [, input.repository],
|
|
500
|
-
format: [, input.format],
|
|
499
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
500
|
+
format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
|
|
501
501
|
});
|
|
502
502
|
let body;
|
|
503
503
|
return new protocol_http_1.HttpRequest({
|
|
@@ -517,9 +517,9 @@ const serializeAws_restJson1GetRepositoryPermissionsPolicyCommand = async (input
|
|
|
517
517
|
const headers = {};
|
|
518
518
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/permissions/policy";
|
|
519
519
|
const query = map({
|
|
520
|
-
domain: [, input.domain],
|
|
520
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
521
521
|
"domain-owner": [, input.domainOwner],
|
|
522
|
-
repository: [, input.repository],
|
|
522
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
523
523
|
});
|
|
524
524
|
let body;
|
|
525
525
|
return new protocol_http_1.HttpRequest({
|
|
@@ -561,9 +561,9 @@ const serializeAws_restJson1ListPackagesCommand = async (input, context) => {
|
|
|
561
561
|
const headers = {};
|
|
562
562
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/packages";
|
|
563
563
|
const query = map({
|
|
564
|
-
domain: [, input.domain],
|
|
564
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
565
565
|
"domain-owner": [, input.domainOwner],
|
|
566
|
-
repository: [, input.repository],
|
|
566
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
567
567
|
format: [, input.format],
|
|
568
568
|
namespace: [, input.namespace],
|
|
569
569
|
"package-prefix": [, input.packagePrefix],
|
|
@@ -590,13 +590,13 @@ const serializeAws_restJson1ListPackageVersionAssetsCommand = async (input, cont
|
|
|
590
590
|
const headers = {};
|
|
591
591
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/assets";
|
|
592
592
|
const query = map({
|
|
593
|
-
domain: [, input.domain],
|
|
593
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
594
594
|
"domain-owner": [, input.domainOwner],
|
|
595
|
-
repository: [, input.repository],
|
|
596
|
-
format: [, input.format],
|
|
595
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
596
|
+
format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
|
|
597
597
|
namespace: [, input.namespace],
|
|
598
|
-
package: [, input.package],
|
|
599
|
-
version: [, input.packageVersion],
|
|
598
|
+
package: [, (0, smithy_client_1.expectNonNull)(input.package, `package`)],
|
|
599
|
+
version: [, (0, smithy_client_1.expectNonNull)(input.packageVersion, `packageVersion`)],
|
|
600
600
|
"max-results": [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
601
601
|
"next-token": [, input.nextToken],
|
|
602
602
|
});
|
|
@@ -618,13 +618,13 @@ const serializeAws_restJson1ListPackageVersionDependenciesCommand = async (input
|
|
|
618
618
|
const headers = {};
|
|
619
619
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/dependencies";
|
|
620
620
|
const query = map({
|
|
621
|
-
domain: [, input.domain],
|
|
621
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
622
622
|
"domain-owner": [, input.domainOwner],
|
|
623
|
-
repository: [, input.repository],
|
|
624
|
-
format: [, input.format],
|
|
623
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
624
|
+
format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
|
|
625
625
|
namespace: [, input.namespace],
|
|
626
|
-
package: [, input.package],
|
|
627
|
-
version: [, input.packageVersion],
|
|
626
|
+
package: [, (0, smithy_client_1.expectNonNull)(input.package, `package`)],
|
|
627
|
+
version: [, (0, smithy_client_1.expectNonNull)(input.packageVersion, `packageVersion`)],
|
|
628
628
|
"next-token": [, input.nextToken],
|
|
629
629
|
});
|
|
630
630
|
let body;
|
|
@@ -645,12 +645,12 @@ const serializeAws_restJson1ListPackageVersionsCommand = async (input, context)
|
|
|
645
645
|
const headers = {};
|
|
646
646
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions";
|
|
647
647
|
const query = map({
|
|
648
|
-
domain: [, input.domain],
|
|
648
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
649
649
|
"domain-owner": [, input.domainOwner],
|
|
650
|
-
repository: [, input.repository],
|
|
651
|
-
format: [, input.format],
|
|
650
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
651
|
+
format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
|
|
652
652
|
namespace: [, input.namespace],
|
|
653
|
-
package: [, input.package],
|
|
653
|
+
package: [, (0, smithy_client_1.expectNonNull)(input.package, `package`)],
|
|
654
654
|
status: [, input.status],
|
|
655
655
|
sortBy: [, input.sortBy],
|
|
656
656
|
"max-results": [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
@@ -697,7 +697,7 @@ const serializeAws_restJson1ListRepositoriesInDomainCommand = async (input, cont
|
|
|
697
697
|
const headers = {};
|
|
698
698
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/repositories";
|
|
699
699
|
const query = map({
|
|
700
|
-
domain: [, input.domain],
|
|
700
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
701
701
|
"domain-owner": [, input.domainOwner],
|
|
702
702
|
"administrator-account": [, input.administratorAccount],
|
|
703
703
|
"repository-prefix": [, input.repositoryPrefix],
|
|
@@ -722,7 +722,7 @@ const serializeAws_restJson1ListTagsForResourceCommand = async (input, context)
|
|
|
722
722
|
const headers = {};
|
|
723
723
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tags";
|
|
724
724
|
const query = map({
|
|
725
|
-
resourceArn: [, input.resourceArn],
|
|
725
|
+
resourceArn: [, (0, smithy_client_1.expectNonNull)(input.resourceArn, `resourceArn`)],
|
|
726
726
|
});
|
|
727
727
|
let body;
|
|
728
728
|
return new protocol_http_1.HttpRequest({
|
|
@@ -768,12 +768,12 @@ const serializeAws_restJson1PutPackageOriginConfigurationCommand = async (input,
|
|
|
768
768
|
};
|
|
769
769
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package";
|
|
770
770
|
const query = map({
|
|
771
|
-
domain: [, input.domain],
|
|
771
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
772
772
|
"domain-owner": [, input.domainOwner],
|
|
773
|
-
repository: [, input.repository],
|
|
774
|
-
format: [, input.format],
|
|
773
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
774
|
+
format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
|
|
775
775
|
namespace: [, input.namespace],
|
|
776
|
-
package: [, input.package],
|
|
776
|
+
package: [, (0, smithy_client_1.expectNonNull)(input.package, `package`)],
|
|
777
777
|
});
|
|
778
778
|
let body;
|
|
779
779
|
body = JSON.stringify({
|
|
@@ -800,9 +800,9 @@ const serializeAws_restJson1PutRepositoryPermissionsPolicyCommand = async (input
|
|
|
800
800
|
};
|
|
801
801
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/permissions/policy";
|
|
802
802
|
const query = map({
|
|
803
|
-
domain: [, input.domain],
|
|
803
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
804
804
|
"domain-owner": [, input.domainOwner],
|
|
805
|
-
repository: [, input.repository],
|
|
805
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
806
806
|
});
|
|
807
807
|
let body;
|
|
808
808
|
body = JSON.stringify({
|
|
@@ -828,7 +828,7 @@ const serializeAws_restJson1TagResourceCommand = async (input, context) => {
|
|
|
828
828
|
};
|
|
829
829
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tag";
|
|
830
830
|
const query = map({
|
|
831
|
-
resourceArn: [, input.resourceArn],
|
|
831
|
+
resourceArn: [, (0, smithy_client_1.expectNonNull)(input.resourceArn, `resourceArn`)],
|
|
832
832
|
});
|
|
833
833
|
let body;
|
|
834
834
|
body = JSON.stringify({
|
|
@@ -853,7 +853,7 @@ const serializeAws_restJson1UntagResourceCommand = async (input, context) => {
|
|
|
853
853
|
};
|
|
854
854
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/untag";
|
|
855
855
|
const query = map({
|
|
856
|
-
resourceArn: [, input.resourceArn],
|
|
856
|
+
resourceArn: [, (0, smithy_client_1.expectNonNull)(input.resourceArn, `resourceArn`)],
|
|
857
857
|
});
|
|
858
858
|
let body;
|
|
859
859
|
body = JSON.stringify({
|
|
@@ -878,12 +878,12 @@ const serializeAws_restJson1UpdatePackageVersionsStatusCommand = async (input, c
|
|
|
878
878
|
};
|
|
879
879
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions/update_status";
|
|
880
880
|
const query = map({
|
|
881
|
-
domain: [, input.domain],
|
|
881
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
882
882
|
"domain-owner": [, input.domainOwner],
|
|
883
|
-
repository: [, input.repository],
|
|
884
|
-
format: [, input.format],
|
|
883
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
884
|
+
format: [, (0, smithy_client_1.expectNonNull)(input.format, `format`)],
|
|
885
885
|
namespace: [, input.namespace],
|
|
886
|
-
package: [, input.package],
|
|
886
|
+
package: [, (0, smithy_client_1.expectNonNull)(input.package, `package`)],
|
|
887
887
|
});
|
|
888
888
|
let body;
|
|
889
889
|
body = JSON.stringify({
|
|
@@ -913,9 +913,9 @@ const serializeAws_restJson1UpdateRepositoryCommand = async (input, context) =>
|
|
|
913
913
|
};
|
|
914
914
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
|
|
915
915
|
const query = map({
|
|
916
|
-
domain: [, input.domain],
|
|
916
|
+
domain: [, (0, smithy_client_1.expectNonNull)(input.domain, `domain`)],
|
|
917
917
|
"domain-owner": [, input.domainOwner],
|
|
918
|
-
repository: [, input.repository],
|
|
918
|
+
repository: [, (0, smithy_client_1.expectNonNull)(input.repository, `repository`)],
|
|
919
919
|
});
|
|
920
920
|
let body;
|
|
921
921
|
body = JSON.stringify({
|
|
@@ -7,10 +7,10 @@ export const serializeAws_restJson1AssociateExternalConnectionCommand = async (i
|
|
|
7
7
|
const headers = {};
|
|
8
8
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/external-connection";
|
|
9
9
|
const query = map({
|
|
10
|
-
domain: [, input.domain],
|
|
10
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
11
11
|
"domain-owner": [, input.domainOwner],
|
|
12
|
-
repository: [, input.repository],
|
|
13
|
-
"external-connection": [, input.externalConnection],
|
|
12
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
13
|
+
"external-connection": [, __expectNonNull(input.externalConnection, `externalConnection`)],
|
|
14
14
|
});
|
|
15
15
|
let body;
|
|
16
16
|
return new __HttpRequest({
|
|
@@ -31,13 +31,13 @@ export const serializeAws_restJson1CopyPackageVersionsCommand = async (input, co
|
|
|
31
31
|
};
|
|
32
32
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions/copy";
|
|
33
33
|
const query = map({
|
|
34
|
-
domain: [, input.domain],
|
|
34
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
35
35
|
"domain-owner": [, input.domainOwner],
|
|
36
|
-
"source-repository": [, input.sourceRepository],
|
|
37
|
-
"destination-repository": [, input.destinationRepository],
|
|
38
|
-
format: [, input.format],
|
|
36
|
+
"source-repository": [, __expectNonNull(input.sourceRepository, `sourceRepository`)],
|
|
37
|
+
"destination-repository": [, __expectNonNull(input.destinationRepository, `destinationRepository`)],
|
|
38
|
+
format: [, __expectNonNull(input.format, `format`)],
|
|
39
39
|
namespace: [, input.namespace],
|
|
40
|
-
package: [, input.package],
|
|
40
|
+
package: [, __expectNonNull(input.package, `package`)],
|
|
41
41
|
});
|
|
42
42
|
let body;
|
|
43
43
|
body = JSON.stringify({
|
|
@@ -66,7 +66,7 @@ export const serializeAws_restJson1CreateDomainCommand = async (input, context)
|
|
|
66
66
|
};
|
|
67
67
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain";
|
|
68
68
|
const query = map({
|
|
69
|
-
domain: [, input.domain],
|
|
69
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
70
70
|
});
|
|
71
71
|
let body;
|
|
72
72
|
body = JSON.stringify({
|
|
@@ -91,9 +91,9 @@ export const serializeAws_restJson1CreateRepositoryCommand = async (input, conte
|
|
|
91
91
|
};
|
|
92
92
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
|
|
93
93
|
const query = map({
|
|
94
|
-
domain: [, input.domain],
|
|
94
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
95
95
|
"domain-owner": [, input.domainOwner],
|
|
96
|
-
repository: [, input.repository],
|
|
96
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
97
97
|
});
|
|
98
98
|
let body;
|
|
99
99
|
body = JSON.stringify({
|
|
@@ -119,7 +119,7 @@ export const serializeAws_restJson1DeleteDomainCommand = async (input, context)
|
|
|
119
119
|
const headers = {};
|
|
120
120
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain";
|
|
121
121
|
const query = map({
|
|
122
|
-
domain: [, input.domain],
|
|
122
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
123
123
|
"domain-owner": [, input.domainOwner],
|
|
124
124
|
});
|
|
125
125
|
let body;
|
|
@@ -139,7 +139,7 @@ export const serializeAws_restJson1DeleteDomainPermissionsPolicyCommand = async
|
|
|
139
139
|
const headers = {};
|
|
140
140
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/permissions/policy";
|
|
141
141
|
const query = map({
|
|
142
|
-
domain: [, input.domain],
|
|
142
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
143
143
|
"domain-owner": [, input.domainOwner],
|
|
144
144
|
"policy-revision": [, input.policyRevision],
|
|
145
145
|
});
|
|
@@ -162,12 +162,12 @@ export const serializeAws_restJson1DeletePackageVersionsCommand = async (input,
|
|
|
162
162
|
};
|
|
163
163
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions/delete";
|
|
164
164
|
const query = map({
|
|
165
|
-
domain: [, input.domain],
|
|
165
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
166
166
|
"domain-owner": [, input.domainOwner],
|
|
167
|
-
repository: [, input.repository],
|
|
168
|
-
format: [, input.format],
|
|
167
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
168
|
+
format: [, __expectNonNull(input.format, `format`)],
|
|
169
169
|
namespace: [, input.namespace],
|
|
170
|
-
package: [, input.package],
|
|
170
|
+
package: [, __expectNonNull(input.package, `package`)],
|
|
171
171
|
});
|
|
172
172
|
let body;
|
|
173
173
|
body = JSON.stringify({
|
|
@@ -190,9 +190,9 @@ export const serializeAws_restJson1DeleteRepositoryCommand = async (input, conte
|
|
|
190
190
|
const headers = {};
|
|
191
191
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
|
|
192
192
|
const query = map({
|
|
193
|
-
domain: [, input.domain],
|
|
193
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
194
194
|
"domain-owner": [, input.domainOwner],
|
|
195
|
-
repository: [, input.repository],
|
|
195
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
196
196
|
});
|
|
197
197
|
let body;
|
|
198
198
|
return new __HttpRequest({
|
|
@@ -211,9 +211,9 @@ export const serializeAws_restJson1DeleteRepositoryPermissionsPolicyCommand = as
|
|
|
211
211
|
const headers = {};
|
|
212
212
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/permissions/policies";
|
|
213
213
|
const query = map({
|
|
214
|
-
domain: [, input.domain],
|
|
214
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
215
215
|
"domain-owner": [, input.domainOwner],
|
|
216
|
-
repository: [, input.repository],
|
|
216
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
217
217
|
"policy-revision": [, input.policyRevision],
|
|
218
218
|
});
|
|
219
219
|
let body;
|
|
@@ -233,7 +233,7 @@ export const serializeAws_restJson1DescribeDomainCommand = async (input, context
|
|
|
233
233
|
const headers = {};
|
|
234
234
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain";
|
|
235
235
|
const query = map({
|
|
236
|
-
domain: [, input.domain],
|
|
236
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
237
237
|
"domain-owner": [, input.domainOwner],
|
|
238
238
|
});
|
|
239
239
|
let body;
|
|
@@ -253,12 +253,12 @@ export const serializeAws_restJson1DescribePackageCommand = async (input, contex
|
|
|
253
253
|
const headers = {};
|
|
254
254
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package";
|
|
255
255
|
const query = map({
|
|
256
|
-
domain: [, input.domain],
|
|
256
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
257
257
|
"domain-owner": [, input.domainOwner],
|
|
258
|
-
repository: [, input.repository],
|
|
259
|
-
format: [, input.format],
|
|
258
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
259
|
+
format: [, __expectNonNull(input.format, `format`)],
|
|
260
260
|
namespace: [, input.namespace],
|
|
261
|
-
package: [, input.package],
|
|
261
|
+
package: [, __expectNonNull(input.package, `package`)],
|
|
262
262
|
});
|
|
263
263
|
let body;
|
|
264
264
|
return new __HttpRequest({
|
|
@@ -277,13 +277,13 @@ export const serializeAws_restJson1DescribePackageVersionCommand = async (input,
|
|
|
277
277
|
const headers = {};
|
|
278
278
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version";
|
|
279
279
|
const query = map({
|
|
280
|
-
domain: [, input.domain],
|
|
280
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
281
281
|
"domain-owner": [, input.domainOwner],
|
|
282
|
-
repository: [, input.repository],
|
|
283
|
-
format: [, input.format],
|
|
282
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
283
|
+
format: [, __expectNonNull(input.format, `format`)],
|
|
284
284
|
namespace: [, input.namespace],
|
|
285
|
-
package: [, input.package],
|
|
286
|
-
version: [, input.packageVersion],
|
|
285
|
+
package: [, __expectNonNull(input.package, `package`)],
|
|
286
|
+
version: [, __expectNonNull(input.packageVersion, `packageVersion`)],
|
|
287
287
|
});
|
|
288
288
|
let body;
|
|
289
289
|
return new __HttpRequest({
|
|
@@ -302,9 +302,9 @@ export const serializeAws_restJson1DescribeRepositoryCommand = async (input, con
|
|
|
302
302
|
const headers = {};
|
|
303
303
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
|
|
304
304
|
const query = map({
|
|
305
|
-
domain: [, input.domain],
|
|
305
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
306
306
|
"domain-owner": [, input.domainOwner],
|
|
307
|
-
repository: [, input.repository],
|
|
307
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
308
308
|
});
|
|
309
309
|
let body;
|
|
310
310
|
return new __HttpRequest({
|
|
@@ -323,10 +323,10 @@ export const serializeAws_restJson1DisassociateExternalConnectionCommand = async
|
|
|
323
323
|
const headers = {};
|
|
324
324
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/external-connection";
|
|
325
325
|
const query = map({
|
|
326
|
-
domain: [, input.domain],
|
|
326
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
327
327
|
"domain-owner": [, input.domainOwner],
|
|
328
|
-
repository: [, input.repository],
|
|
329
|
-
"external-connection": [, input.externalConnection],
|
|
328
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
329
|
+
"external-connection": [, __expectNonNull(input.externalConnection, `externalConnection`)],
|
|
330
330
|
});
|
|
331
331
|
let body;
|
|
332
332
|
return new __HttpRequest({
|
|
@@ -347,12 +347,12 @@ export const serializeAws_restJson1DisposePackageVersionsCommand = async (input,
|
|
|
347
347
|
};
|
|
348
348
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions/dispose";
|
|
349
349
|
const query = map({
|
|
350
|
-
domain: [, input.domain],
|
|
350
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
351
351
|
"domain-owner": [, input.domainOwner],
|
|
352
|
-
repository: [, input.repository],
|
|
353
|
-
format: [, input.format],
|
|
352
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
353
|
+
format: [, __expectNonNull(input.format, `format`)],
|
|
354
354
|
namespace: [, input.namespace],
|
|
355
|
-
package: [, input.package],
|
|
355
|
+
package: [, __expectNonNull(input.package, `package`)],
|
|
356
356
|
});
|
|
357
357
|
let body;
|
|
358
358
|
body = JSON.stringify({
|
|
@@ -378,7 +378,7 @@ export const serializeAws_restJson1GetAuthorizationTokenCommand = async (input,
|
|
|
378
378
|
const headers = {};
|
|
379
379
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/authorization-token";
|
|
380
380
|
const query = map({
|
|
381
|
-
domain: [, input.domain],
|
|
381
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
382
382
|
"domain-owner": [, input.domainOwner],
|
|
383
383
|
duration: [() => input.durationSeconds !== void 0, () => input.durationSeconds.toString()],
|
|
384
384
|
});
|
|
@@ -399,7 +399,7 @@ export const serializeAws_restJson1GetDomainPermissionsPolicyCommand = async (in
|
|
|
399
399
|
const headers = {};
|
|
400
400
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/permissions/policy";
|
|
401
401
|
const query = map({
|
|
402
|
-
domain: [, input.domain],
|
|
402
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
403
403
|
"domain-owner": [, input.domainOwner],
|
|
404
404
|
});
|
|
405
405
|
let body;
|
|
@@ -419,14 +419,14 @@ export const serializeAws_restJson1GetPackageVersionAssetCommand = async (input,
|
|
|
419
419
|
const headers = {};
|
|
420
420
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/asset";
|
|
421
421
|
const query = map({
|
|
422
|
-
domain: [, input.domain],
|
|
422
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
423
423
|
"domain-owner": [, input.domainOwner],
|
|
424
|
-
repository: [, input.repository],
|
|
425
|
-
format: [, input.format],
|
|
424
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
425
|
+
format: [, __expectNonNull(input.format, `format`)],
|
|
426
426
|
namespace: [, input.namespace],
|
|
427
|
-
package: [, input.package],
|
|
428
|
-
version: [, input.packageVersion],
|
|
429
|
-
asset: [, input.asset],
|
|
427
|
+
package: [, __expectNonNull(input.package, `package`)],
|
|
428
|
+
version: [, __expectNonNull(input.packageVersion, `packageVersion`)],
|
|
429
|
+
asset: [, __expectNonNull(input.asset, `asset`)],
|
|
430
430
|
revision: [, input.packageVersionRevision],
|
|
431
431
|
});
|
|
432
432
|
let body;
|
|
@@ -446,13 +446,13 @@ export const serializeAws_restJson1GetPackageVersionReadmeCommand = async (input
|
|
|
446
446
|
const headers = {};
|
|
447
447
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/readme";
|
|
448
448
|
const query = map({
|
|
449
|
-
domain: [, input.domain],
|
|
449
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
450
450
|
"domain-owner": [, input.domainOwner],
|
|
451
|
-
repository: [, input.repository],
|
|
452
|
-
format: [, input.format],
|
|
451
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
452
|
+
format: [, __expectNonNull(input.format, `format`)],
|
|
453
453
|
namespace: [, input.namespace],
|
|
454
|
-
package: [, input.package],
|
|
455
|
-
version: [, input.packageVersion],
|
|
454
|
+
package: [, __expectNonNull(input.package, `package`)],
|
|
455
|
+
version: [, __expectNonNull(input.packageVersion, `packageVersion`)],
|
|
456
456
|
});
|
|
457
457
|
let body;
|
|
458
458
|
return new __HttpRequest({
|
|
@@ -471,10 +471,10 @@ export const serializeAws_restJson1GetRepositoryEndpointCommand = async (input,
|
|
|
471
471
|
const headers = {};
|
|
472
472
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/endpoint";
|
|
473
473
|
const query = map({
|
|
474
|
-
domain: [, input.domain],
|
|
474
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
475
475
|
"domain-owner": [, input.domainOwner],
|
|
476
|
-
repository: [, input.repository],
|
|
477
|
-
format: [, input.format],
|
|
476
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
477
|
+
format: [, __expectNonNull(input.format, `format`)],
|
|
478
478
|
});
|
|
479
479
|
let body;
|
|
480
480
|
return new __HttpRequest({
|
|
@@ -493,9 +493,9 @@ export const serializeAws_restJson1GetRepositoryPermissionsPolicyCommand = async
|
|
|
493
493
|
const headers = {};
|
|
494
494
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/permissions/policy";
|
|
495
495
|
const query = map({
|
|
496
|
-
domain: [, input.domain],
|
|
496
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
497
497
|
"domain-owner": [, input.domainOwner],
|
|
498
|
-
repository: [, input.repository],
|
|
498
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
499
499
|
});
|
|
500
500
|
let body;
|
|
501
501
|
return new __HttpRequest({
|
|
@@ -535,9 +535,9 @@ export const serializeAws_restJson1ListPackagesCommand = async (input, context)
|
|
|
535
535
|
const headers = {};
|
|
536
536
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/packages";
|
|
537
537
|
const query = map({
|
|
538
|
-
domain: [, input.domain],
|
|
538
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
539
539
|
"domain-owner": [, input.domainOwner],
|
|
540
|
-
repository: [, input.repository],
|
|
540
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
541
541
|
format: [, input.format],
|
|
542
542
|
namespace: [, input.namespace],
|
|
543
543
|
"package-prefix": [, input.packagePrefix],
|
|
@@ -563,13 +563,13 @@ export const serializeAws_restJson1ListPackageVersionAssetsCommand = async (inpu
|
|
|
563
563
|
const headers = {};
|
|
564
564
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/assets";
|
|
565
565
|
const query = map({
|
|
566
|
-
domain: [, input.domain],
|
|
566
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
567
567
|
"domain-owner": [, input.domainOwner],
|
|
568
|
-
repository: [, input.repository],
|
|
569
|
-
format: [, input.format],
|
|
568
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
569
|
+
format: [, __expectNonNull(input.format, `format`)],
|
|
570
570
|
namespace: [, input.namespace],
|
|
571
|
-
package: [, input.package],
|
|
572
|
-
version: [, input.packageVersion],
|
|
571
|
+
package: [, __expectNonNull(input.package, `package`)],
|
|
572
|
+
version: [, __expectNonNull(input.packageVersion, `packageVersion`)],
|
|
573
573
|
"max-results": [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
574
574
|
"next-token": [, input.nextToken],
|
|
575
575
|
});
|
|
@@ -590,13 +590,13 @@ export const serializeAws_restJson1ListPackageVersionDependenciesCommand = async
|
|
|
590
590
|
const headers = {};
|
|
591
591
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/version/dependencies";
|
|
592
592
|
const query = map({
|
|
593
|
-
domain: [, input.domain],
|
|
593
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
594
594
|
"domain-owner": [, input.domainOwner],
|
|
595
|
-
repository: [, input.repository],
|
|
596
|
-
format: [, input.format],
|
|
595
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
596
|
+
format: [, __expectNonNull(input.format, `format`)],
|
|
597
597
|
namespace: [, input.namespace],
|
|
598
|
-
package: [, input.package],
|
|
599
|
-
version: [, input.packageVersion],
|
|
598
|
+
package: [, __expectNonNull(input.package, `package`)],
|
|
599
|
+
version: [, __expectNonNull(input.packageVersion, `packageVersion`)],
|
|
600
600
|
"next-token": [, input.nextToken],
|
|
601
601
|
});
|
|
602
602
|
let body;
|
|
@@ -616,12 +616,12 @@ export const serializeAws_restJson1ListPackageVersionsCommand = async (input, co
|
|
|
616
616
|
const headers = {};
|
|
617
617
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions";
|
|
618
618
|
const query = map({
|
|
619
|
-
domain: [, input.domain],
|
|
619
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
620
620
|
"domain-owner": [, input.domainOwner],
|
|
621
|
-
repository: [, input.repository],
|
|
622
|
-
format: [, input.format],
|
|
621
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
622
|
+
format: [, __expectNonNull(input.format, `format`)],
|
|
623
623
|
namespace: [, input.namespace],
|
|
624
|
-
package: [, input.package],
|
|
624
|
+
package: [, __expectNonNull(input.package, `package`)],
|
|
625
625
|
status: [, input.status],
|
|
626
626
|
sortBy: [, input.sortBy],
|
|
627
627
|
"max-results": [() => input.maxResults !== void 0, () => input.maxResults.toString()],
|
|
@@ -666,7 +666,7 @@ export const serializeAws_restJson1ListRepositoriesInDomainCommand = async (inpu
|
|
|
666
666
|
const headers = {};
|
|
667
667
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/domain/repositories";
|
|
668
668
|
const query = map({
|
|
669
|
-
domain: [, input.domain],
|
|
669
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
670
670
|
"domain-owner": [, input.domainOwner],
|
|
671
671
|
"administrator-account": [, input.administratorAccount],
|
|
672
672
|
"repository-prefix": [, input.repositoryPrefix],
|
|
@@ -690,7 +690,7 @@ export const serializeAws_restJson1ListTagsForResourceCommand = async (input, co
|
|
|
690
690
|
const headers = {};
|
|
691
691
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tags";
|
|
692
692
|
const query = map({
|
|
693
|
-
resourceArn: [, input.resourceArn],
|
|
693
|
+
resourceArn: [, __expectNonNull(input.resourceArn, `resourceArn`)],
|
|
694
694
|
});
|
|
695
695
|
let body;
|
|
696
696
|
return new __HttpRequest({
|
|
@@ -734,12 +734,12 @@ export const serializeAws_restJson1PutPackageOriginConfigurationCommand = async
|
|
|
734
734
|
};
|
|
735
735
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package";
|
|
736
736
|
const query = map({
|
|
737
|
-
domain: [, input.domain],
|
|
737
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
738
738
|
"domain-owner": [, input.domainOwner],
|
|
739
|
-
repository: [, input.repository],
|
|
740
|
-
format: [, input.format],
|
|
739
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
740
|
+
format: [, __expectNonNull(input.format, `format`)],
|
|
741
741
|
namespace: [, input.namespace],
|
|
742
|
-
package: [, input.package],
|
|
742
|
+
package: [, __expectNonNull(input.package, `package`)],
|
|
743
743
|
});
|
|
744
744
|
let body;
|
|
745
745
|
body = JSON.stringify({
|
|
@@ -765,9 +765,9 @@ export const serializeAws_restJson1PutRepositoryPermissionsPolicyCommand = async
|
|
|
765
765
|
};
|
|
766
766
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository/permissions/policy";
|
|
767
767
|
const query = map({
|
|
768
|
-
domain: [, input.domain],
|
|
768
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
769
769
|
"domain-owner": [, input.domainOwner],
|
|
770
|
-
repository: [, input.repository],
|
|
770
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
771
771
|
});
|
|
772
772
|
let body;
|
|
773
773
|
body = JSON.stringify({
|
|
@@ -792,7 +792,7 @@ export const serializeAws_restJson1TagResourceCommand = async (input, context) =
|
|
|
792
792
|
};
|
|
793
793
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/tag";
|
|
794
794
|
const query = map({
|
|
795
|
-
resourceArn: [, input.resourceArn],
|
|
795
|
+
resourceArn: [, __expectNonNull(input.resourceArn, `resourceArn`)],
|
|
796
796
|
});
|
|
797
797
|
let body;
|
|
798
798
|
body = JSON.stringify({
|
|
@@ -816,7 +816,7 @@ export const serializeAws_restJson1UntagResourceCommand = async (input, context)
|
|
|
816
816
|
};
|
|
817
817
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/untag";
|
|
818
818
|
const query = map({
|
|
819
|
-
resourceArn: [, input.resourceArn],
|
|
819
|
+
resourceArn: [, __expectNonNull(input.resourceArn, `resourceArn`)],
|
|
820
820
|
});
|
|
821
821
|
let body;
|
|
822
822
|
body = JSON.stringify({
|
|
@@ -840,12 +840,12 @@ export const serializeAws_restJson1UpdatePackageVersionsStatusCommand = async (i
|
|
|
840
840
|
};
|
|
841
841
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/package/versions/update_status";
|
|
842
842
|
const query = map({
|
|
843
|
-
domain: [, input.domain],
|
|
843
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
844
844
|
"domain-owner": [, input.domainOwner],
|
|
845
|
-
repository: [, input.repository],
|
|
846
|
-
format: [, input.format],
|
|
845
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
846
|
+
format: [, __expectNonNull(input.format, `format`)],
|
|
847
847
|
namespace: [, input.namespace],
|
|
848
|
-
package: [, input.package],
|
|
848
|
+
package: [, __expectNonNull(input.package, `package`)],
|
|
849
849
|
});
|
|
850
850
|
let body;
|
|
851
851
|
body = JSON.stringify({
|
|
@@ -874,9 +874,9 @@ export const serializeAws_restJson1UpdateRepositoryCommand = async (input, conte
|
|
|
874
874
|
};
|
|
875
875
|
const resolvedPath = `${basePath?.endsWith("/") ? basePath.slice(0, -1) : basePath || ""}` + "/v1/repository";
|
|
876
876
|
const query = map({
|
|
877
|
-
domain: [, input.domain],
|
|
877
|
+
domain: [, __expectNonNull(input.domain, `domain`)],
|
|
878
878
|
"domain-owner": [, input.domainOwner],
|
|
879
|
-
repository: [, input.repository],
|
|
879
|
+
repository: [, __expectNonNull(input.repository, `repository`)],
|
|
880
880
|
});
|
|
881
881
|
let body;
|
|
882
882
|
body = JSON.stringify({
|
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.218.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,9 +19,9 @@
|
|
|
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.
|
|
22
|
+
"@aws-sdk/client-sts": "3.218.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.215.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.218.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.215.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.215.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.215.0",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
47
|
"@aws-sdk/util-defaults-mode-browser": "3.215.0",
|
|
48
48
|
"@aws-sdk/util-defaults-mode-node": "3.215.0",
|
|
49
|
-
"@aws-sdk/util-endpoints": "3.
|
|
49
|
+
"@aws-sdk/util-endpoints": "3.216.0",
|
|
50
50
|
"@aws-sdk/util-stream-browser": "3.215.0",
|
|
51
51
|
"@aws-sdk/util-stream-node": "3.215.0",
|
|
52
52
|
"@aws-sdk/util-user-agent-browser": "3.215.0",
|