@aws-sdk/client-codeartifact 3.476.0 → 3.477.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/protocols/Aws_restJson1.js +377 -635
- package/dist-es/protocols/Aws_restJson1.js +377 -635
- package/package.json +5 -4
|
@@ -2,47 +2,39 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.de_DescribePackageCommand = exports.de_DescribeDomainCommand = exports.de_DeleteRepositoryPermissionsPolicyCommand = exports.de_DeleteRepositoryCommand = exports.de_DeletePackageVersionsCommand = exports.de_DeletePackageCommand = exports.de_DeleteDomainPermissionsPolicyCommand = exports.de_DeleteDomainCommand = exports.de_CreateRepositoryCommand = exports.de_CreateDomainCommand = exports.de_CopyPackageVersionsCommand = exports.de_AssociateExternalConnectionCommand = exports.se_UpdateRepositoryCommand = exports.se_UpdatePackageVersionsStatusCommand = exports.se_UntagResourceCommand = exports.se_TagResourceCommand = exports.se_PutRepositoryPermissionsPolicyCommand = exports.se_PutPackageOriginConfigurationCommand = exports.se_PutDomainPermissionsPolicyCommand = exports.se_PublishPackageVersionCommand = exports.se_ListTagsForResourceCommand = exports.se_ListRepositoriesInDomainCommand = exports.se_ListRepositoriesCommand = exports.se_ListPackageVersionsCommand = exports.se_ListPackageVersionDependenciesCommand = exports.se_ListPackageVersionAssetsCommand = exports.se_ListPackagesCommand = exports.se_ListDomainsCommand = exports.se_GetRepositoryPermissionsPolicyCommand = exports.se_GetRepositoryEndpointCommand = exports.se_GetPackageVersionReadmeCommand = exports.se_GetPackageVersionAssetCommand = exports.se_GetDomainPermissionsPolicyCommand = exports.se_GetAuthorizationTokenCommand = exports.se_DisposePackageVersionsCommand = exports.se_DisassociateExternalConnectionCommand = exports.se_DescribeRepositoryCommand = exports.se_DescribePackageVersionCommand = exports.se_DescribePackageCommand = exports.se_DescribeDomainCommand = exports.se_DeleteRepositoryPermissionsPolicyCommand = exports.se_DeleteRepositoryCommand = exports.se_DeletePackageVersionsCommand = exports.se_DeletePackageCommand = exports.se_DeleteDomainPermissionsPolicyCommand = exports.se_DeleteDomainCommand = exports.se_CreateRepositoryCommand = exports.se_CreateDomainCommand = exports.se_CopyPackageVersionsCommand = exports.se_AssociateExternalConnectionCommand = void 0;
|
|
4
4
|
exports.de_UpdateRepositoryCommand = exports.de_UpdatePackageVersionsStatusCommand = exports.de_UntagResourceCommand = exports.de_TagResourceCommand = exports.de_PutRepositoryPermissionsPolicyCommand = exports.de_PutPackageOriginConfigurationCommand = exports.de_PutDomainPermissionsPolicyCommand = exports.de_PublishPackageVersionCommand = exports.de_ListTagsForResourceCommand = exports.de_ListRepositoriesInDomainCommand = exports.de_ListRepositoriesCommand = exports.de_ListPackageVersionsCommand = exports.de_ListPackageVersionDependenciesCommand = exports.de_ListPackageVersionAssetsCommand = exports.de_ListPackagesCommand = exports.de_ListDomainsCommand = exports.de_GetRepositoryPermissionsPolicyCommand = exports.de_GetRepositoryEndpointCommand = exports.de_GetPackageVersionReadmeCommand = exports.de_GetPackageVersionAssetCommand = exports.de_GetDomainPermissionsPolicyCommand = exports.de_GetAuthorizationTokenCommand = exports.de_DisposePackageVersionsCommand = exports.de_DisassociateExternalConnectionCommand = exports.de_DescribeRepositoryCommand = exports.de_DescribePackageVersionCommand = void 0;
|
|
5
|
-
const
|
|
5
|
+
const core_1 = require("@smithy/core");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const CodeartifactServiceException_1 = require("../models/CodeartifactServiceException");
|
|
8
8
|
const models_0_1 = require("../models/models_0");
|
|
9
9
|
const se_AssociateExternalConnectionCommand = async (input, context) => {
|
|
10
|
-
const
|
|
10
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
11
11
|
const headers = {};
|
|
12
|
-
|
|
12
|
+
b.bp("/v1/repository/external-connection");
|
|
13
13
|
const query = (0, smithy_client_1.map)({
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
14
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
15
|
+
[_do]: [, input[_dO]],
|
|
16
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
17
|
+
[_ec]: [, (0, smithy_client_1.expectNonNull)(input[_eC], `externalConnection`)],
|
|
18
18
|
});
|
|
19
19
|
let body;
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
hostname,
|
|
23
|
-
port,
|
|
24
|
-
method: "POST",
|
|
25
|
-
headers,
|
|
26
|
-
path: resolvedPath,
|
|
27
|
-
query,
|
|
28
|
-
body,
|
|
29
|
-
});
|
|
20
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
21
|
+
return b.build();
|
|
30
22
|
};
|
|
31
23
|
exports.se_AssociateExternalConnectionCommand = se_AssociateExternalConnectionCommand;
|
|
32
24
|
const se_CopyPackageVersionsCommand = async (input, context) => {
|
|
33
|
-
const
|
|
25
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
34
26
|
const headers = {
|
|
35
27
|
"content-type": "application/json",
|
|
36
28
|
};
|
|
37
|
-
|
|
29
|
+
b.bp("/v1/package/versions/copy");
|
|
38
30
|
const query = (0, smithy_client_1.map)({
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
31
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
32
|
+
[_do]: [, input[_dO]],
|
|
33
|
+
[_sr]: [, (0, smithy_client_1.expectNonNull)(input[_sR], `sourceRepository`)],
|
|
34
|
+
[_dr]: [, (0, smithy_client_1.expectNonNull)(input[_dR], `destinationRepository`)],
|
|
35
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
36
|
+
[_n]: [, input[_n]],
|
|
37
|
+
[_p]: [, (0, smithy_client_1.expectNonNull)(input[_p], `package`)],
|
|
46
38
|
});
|
|
47
39
|
let body;
|
|
48
40
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
@@ -51,54 +43,38 @@ const se_CopyPackageVersionsCommand = async (input, context) => {
|
|
|
51
43
|
versionRevisions: (_) => (0, smithy_client_1._json)(_),
|
|
52
44
|
versions: (_) => (0, smithy_client_1._json)(_),
|
|
53
45
|
}));
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
hostname,
|
|
57
|
-
port,
|
|
58
|
-
method: "POST",
|
|
59
|
-
headers,
|
|
60
|
-
path: resolvedPath,
|
|
61
|
-
query,
|
|
62
|
-
body,
|
|
63
|
-
});
|
|
46
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
47
|
+
return b.build();
|
|
64
48
|
};
|
|
65
49
|
exports.se_CopyPackageVersionsCommand = se_CopyPackageVersionsCommand;
|
|
66
50
|
const se_CreateDomainCommand = async (input, context) => {
|
|
67
|
-
const
|
|
51
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
68
52
|
const headers = {
|
|
69
53
|
"content-type": "application/json",
|
|
70
54
|
};
|
|
71
|
-
|
|
55
|
+
b.bp("/v1/domain");
|
|
72
56
|
const query = (0, smithy_client_1.map)({
|
|
73
|
-
|
|
57
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
74
58
|
});
|
|
75
59
|
let body;
|
|
76
60
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
77
61
|
encryptionKey: [],
|
|
78
62
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
79
63
|
}));
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
hostname,
|
|
83
|
-
port,
|
|
84
|
-
method: "POST",
|
|
85
|
-
headers,
|
|
86
|
-
path: resolvedPath,
|
|
87
|
-
query,
|
|
88
|
-
body,
|
|
89
|
-
});
|
|
64
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
65
|
+
return b.build();
|
|
90
66
|
};
|
|
91
67
|
exports.se_CreateDomainCommand = se_CreateDomainCommand;
|
|
92
68
|
const se_CreateRepositoryCommand = async (input, context) => {
|
|
93
|
-
const
|
|
69
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
94
70
|
const headers = {
|
|
95
71
|
"content-type": "application/json",
|
|
96
72
|
};
|
|
97
|
-
|
|
73
|
+
b.bp("/v1/repository");
|
|
98
74
|
const query = (0, smithy_client_1.map)({
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
75
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
76
|
+
[_do]: [, input[_dO]],
|
|
77
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
102
78
|
});
|
|
103
79
|
let body;
|
|
104
80
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
@@ -106,292 +82,196 @@ const se_CreateRepositoryCommand = async (input, context) => {
|
|
|
106
82
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
107
83
|
upstreams: (_) => (0, smithy_client_1._json)(_),
|
|
108
84
|
}));
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
hostname,
|
|
112
|
-
port,
|
|
113
|
-
method: "POST",
|
|
114
|
-
headers,
|
|
115
|
-
path: resolvedPath,
|
|
116
|
-
query,
|
|
117
|
-
body,
|
|
118
|
-
});
|
|
85
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
86
|
+
return b.build();
|
|
119
87
|
};
|
|
120
88
|
exports.se_CreateRepositoryCommand = se_CreateRepositoryCommand;
|
|
121
89
|
const se_DeleteDomainCommand = async (input, context) => {
|
|
122
|
-
const
|
|
90
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
123
91
|
const headers = {};
|
|
124
|
-
|
|
92
|
+
b.bp("/v1/domain");
|
|
125
93
|
const query = (0, smithy_client_1.map)({
|
|
126
|
-
|
|
127
|
-
|
|
94
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
95
|
+
[_do]: [, input[_dO]],
|
|
128
96
|
});
|
|
129
97
|
let body;
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
hostname,
|
|
133
|
-
port,
|
|
134
|
-
method: "DELETE",
|
|
135
|
-
headers,
|
|
136
|
-
path: resolvedPath,
|
|
137
|
-
query,
|
|
138
|
-
body,
|
|
139
|
-
});
|
|
98
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
99
|
+
return b.build();
|
|
140
100
|
};
|
|
141
101
|
exports.se_DeleteDomainCommand = se_DeleteDomainCommand;
|
|
142
102
|
const se_DeleteDomainPermissionsPolicyCommand = async (input, context) => {
|
|
143
|
-
const
|
|
103
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
144
104
|
const headers = {};
|
|
145
|
-
|
|
105
|
+
b.bp("/v1/domain/permissions/policy");
|
|
146
106
|
const query = (0, smithy_client_1.map)({
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
107
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
108
|
+
[_do]: [, input[_dO]],
|
|
109
|
+
[_pr]: [, input[_pR]],
|
|
150
110
|
});
|
|
151
111
|
let body;
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
hostname,
|
|
155
|
-
port,
|
|
156
|
-
method: "DELETE",
|
|
157
|
-
headers,
|
|
158
|
-
path: resolvedPath,
|
|
159
|
-
query,
|
|
160
|
-
body,
|
|
161
|
-
});
|
|
112
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
113
|
+
return b.build();
|
|
162
114
|
};
|
|
163
115
|
exports.se_DeleteDomainPermissionsPolicyCommand = se_DeleteDomainPermissionsPolicyCommand;
|
|
164
116
|
const se_DeletePackageCommand = async (input, context) => {
|
|
165
|
-
const
|
|
117
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
166
118
|
const headers = {};
|
|
167
|
-
|
|
119
|
+
b.bp("/v1/package");
|
|
168
120
|
const query = (0, smithy_client_1.map)({
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
121
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
122
|
+
[_do]: [, input[_dO]],
|
|
123
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
124
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
125
|
+
[_n]: [, input[_n]],
|
|
126
|
+
[_p]: [, (0, smithy_client_1.expectNonNull)(input[_p], `package`)],
|
|
175
127
|
});
|
|
176
128
|
let body;
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
hostname,
|
|
180
|
-
port,
|
|
181
|
-
method: "DELETE",
|
|
182
|
-
headers,
|
|
183
|
-
path: resolvedPath,
|
|
184
|
-
query,
|
|
185
|
-
body,
|
|
186
|
-
});
|
|
129
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
130
|
+
return b.build();
|
|
187
131
|
};
|
|
188
132
|
exports.se_DeletePackageCommand = se_DeletePackageCommand;
|
|
189
133
|
const se_DeletePackageVersionsCommand = async (input, context) => {
|
|
190
|
-
const
|
|
134
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
191
135
|
const headers = {
|
|
192
136
|
"content-type": "application/json",
|
|
193
137
|
};
|
|
194
|
-
|
|
138
|
+
b.bp("/v1/package/versions/delete");
|
|
195
139
|
const query = (0, smithy_client_1.map)({
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
140
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
141
|
+
[_do]: [, input[_dO]],
|
|
142
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
143
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
144
|
+
[_n]: [, input[_n]],
|
|
145
|
+
[_p]: [, (0, smithy_client_1.expectNonNull)(input[_p], `package`)],
|
|
202
146
|
});
|
|
203
147
|
let body;
|
|
204
148
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
205
149
|
expectedStatus: [],
|
|
206
150
|
versions: (_) => (0, smithy_client_1._json)(_),
|
|
207
151
|
}));
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
hostname,
|
|
211
|
-
port,
|
|
212
|
-
method: "POST",
|
|
213
|
-
headers,
|
|
214
|
-
path: resolvedPath,
|
|
215
|
-
query,
|
|
216
|
-
body,
|
|
217
|
-
});
|
|
152
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
153
|
+
return b.build();
|
|
218
154
|
};
|
|
219
155
|
exports.se_DeletePackageVersionsCommand = se_DeletePackageVersionsCommand;
|
|
220
156
|
const se_DeleteRepositoryCommand = async (input, context) => {
|
|
221
|
-
const
|
|
157
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
222
158
|
const headers = {};
|
|
223
|
-
|
|
159
|
+
b.bp("/v1/repository");
|
|
224
160
|
const query = (0, smithy_client_1.map)({
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
161
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
162
|
+
[_do]: [, input[_dO]],
|
|
163
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
228
164
|
});
|
|
229
165
|
let body;
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
hostname,
|
|
233
|
-
port,
|
|
234
|
-
method: "DELETE",
|
|
235
|
-
headers,
|
|
236
|
-
path: resolvedPath,
|
|
237
|
-
query,
|
|
238
|
-
body,
|
|
239
|
-
});
|
|
166
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
167
|
+
return b.build();
|
|
240
168
|
};
|
|
241
169
|
exports.se_DeleteRepositoryCommand = se_DeleteRepositoryCommand;
|
|
242
170
|
const se_DeleteRepositoryPermissionsPolicyCommand = async (input, context) => {
|
|
243
|
-
const
|
|
171
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
244
172
|
const headers = {};
|
|
245
|
-
|
|
173
|
+
b.bp("/v1/repository/permissions/policies");
|
|
246
174
|
const query = (0, smithy_client_1.map)({
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
175
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
176
|
+
[_do]: [, input[_dO]],
|
|
177
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
178
|
+
[_pr]: [, input[_pR]],
|
|
251
179
|
});
|
|
252
180
|
let body;
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
hostname,
|
|
256
|
-
port,
|
|
257
|
-
method: "DELETE",
|
|
258
|
-
headers,
|
|
259
|
-
path: resolvedPath,
|
|
260
|
-
query,
|
|
261
|
-
body,
|
|
262
|
-
});
|
|
181
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
182
|
+
return b.build();
|
|
263
183
|
};
|
|
264
184
|
exports.se_DeleteRepositoryPermissionsPolicyCommand = se_DeleteRepositoryPermissionsPolicyCommand;
|
|
265
185
|
const se_DescribeDomainCommand = async (input, context) => {
|
|
266
|
-
const
|
|
186
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
267
187
|
const headers = {};
|
|
268
|
-
|
|
188
|
+
b.bp("/v1/domain");
|
|
269
189
|
const query = (0, smithy_client_1.map)({
|
|
270
|
-
|
|
271
|
-
|
|
190
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
191
|
+
[_do]: [, input[_dO]],
|
|
272
192
|
});
|
|
273
193
|
let body;
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
hostname,
|
|
277
|
-
port,
|
|
278
|
-
method: "GET",
|
|
279
|
-
headers,
|
|
280
|
-
path: resolvedPath,
|
|
281
|
-
query,
|
|
282
|
-
body,
|
|
283
|
-
});
|
|
194
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
195
|
+
return b.build();
|
|
284
196
|
};
|
|
285
197
|
exports.se_DescribeDomainCommand = se_DescribeDomainCommand;
|
|
286
198
|
const se_DescribePackageCommand = async (input, context) => {
|
|
287
|
-
const
|
|
199
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
288
200
|
const headers = {};
|
|
289
|
-
|
|
201
|
+
b.bp("/v1/package");
|
|
290
202
|
const query = (0, smithy_client_1.map)({
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
203
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
204
|
+
[_do]: [, input[_dO]],
|
|
205
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
206
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
207
|
+
[_n]: [, input[_n]],
|
|
208
|
+
[_p]: [, (0, smithy_client_1.expectNonNull)(input[_p], `package`)],
|
|
297
209
|
});
|
|
298
210
|
let body;
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
hostname,
|
|
302
|
-
port,
|
|
303
|
-
method: "GET",
|
|
304
|
-
headers,
|
|
305
|
-
path: resolvedPath,
|
|
306
|
-
query,
|
|
307
|
-
body,
|
|
308
|
-
});
|
|
211
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
212
|
+
return b.build();
|
|
309
213
|
};
|
|
310
214
|
exports.se_DescribePackageCommand = se_DescribePackageCommand;
|
|
311
215
|
const se_DescribePackageVersionCommand = async (input, context) => {
|
|
312
|
-
const
|
|
216
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
313
217
|
const headers = {};
|
|
314
|
-
|
|
218
|
+
b.bp("/v1/package/version");
|
|
315
219
|
const query = (0, smithy_client_1.map)({
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
220
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
221
|
+
[_do]: [, input[_dO]],
|
|
222
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
223
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
224
|
+
[_n]: [, input[_n]],
|
|
225
|
+
[_p]: [, (0, smithy_client_1.expectNonNull)(input[_p], `package`)],
|
|
226
|
+
[_v]: [, (0, smithy_client_1.expectNonNull)(input[_pV], `packageVersion`)],
|
|
323
227
|
});
|
|
324
228
|
let body;
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
hostname,
|
|
328
|
-
port,
|
|
329
|
-
method: "GET",
|
|
330
|
-
headers,
|
|
331
|
-
path: resolvedPath,
|
|
332
|
-
query,
|
|
333
|
-
body,
|
|
334
|
-
});
|
|
229
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
230
|
+
return b.build();
|
|
335
231
|
};
|
|
336
232
|
exports.se_DescribePackageVersionCommand = se_DescribePackageVersionCommand;
|
|
337
233
|
const se_DescribeRepositoryCommand = async (input, context) => {
|
|
338
|
-
const
|
|
234
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
339
235
|
const headers = {};
|
|
340
|
-
|
|
236
|
+
b.bp("/v1/repository");
|
|
341
237
|
const query = (0, smithy_client_1.map)({
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
238
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
239
|
+
[_do]: [, input[_dO]],
|
|
240
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
345
241
|
});
|
|
346
242
|
let body;
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
hostname,
|
|
350
|
-
port,
|
|
351
|
-
method: "GET",
|
|
352
|
-
headers,
|
|
353
|
-
path: resolvedPath,
|
|
354
|
-
query,
|
|
355
|
-
body,
|
|
356
|
-
});
|
|
243
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
244
|
+
return b.build();
|
|
357
245
|
};
|
|
358
246
|
exports.se_DescribeRepositoryCommand = se_DescribeRepositoryCommand;
|
|
359
247
|
const se_DisassociateExternalConnectionCommand = async (input, context) => {
|
|
360
|
-
const
|
|
248
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
361
249
|
const headers = {};
|
|
362
|
-
|
|
250
|
+
b.bp("/v1/repository/external-connection");
|
|
363
251
|
const query = (0, smithy_client_1.map)({
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
252
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
253
|
+
[_do]: [, input[_dO]],
|
|
254
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
255
|
+
[_ec]: [, (0, smithy_client_1.expectNonNull)(input[_eC], `externalConnection`)],
|
|
368
256
|
});
|
|
369
257
|
let body;
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
hostname,
|
|
373
|
-
port,
|
|
374
|
-
method: "DELETE",
|
|
375
|
-
headers,
|
|
376
|
-
path: resolvedPath,
|
|
377
|
-
query,
|
|
378
|
-
body,
|
|
379
|
-
});
|
|
258
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
259
|
+
return b.build();
|
|
380
260
|
};
|
|
381
261
|
exports.se_DisassociateExternalConnectionCommand = se_DisassociateExternalConnectionCommand;
|
|
382
262
|
const se_DisposePackageVersionsCommand = async (input, context) => {
|
|
383
|
-
const
|
|
263
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
384
264
|
const headers = {
|
|
385
265
|
"content-type": "application/json",
|
|
386
266
|
};
|
|
387
|
-
|
|
267
|
+
b.bp("/v1/package/versions/dispose");
|
|
388
268
|
const query = (0, smithy_client_1.map)({
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
269
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
270
|
+
[_do]: [, input[_dO]],
|
|
271
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
272
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
273
|
+
[_n]: [, input[_n]],
|
|
274
|
+
[_p]: [, (0, smithy_client_1.expectNonNull)(input[_p], `package`)],
|
|
395
275
|
});
|
|
396
276
|
let body;
|
|
397
277
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
@@ -399,403 +279,276 @@ const se_DisposePackageVersionsCommand = async (input, context) => {
|
|
|
399
279
|
versionRevisions: (_) => (0, smithy_client_1._json)(_),
|
|
400
280
|
versions: (_) => (0, smithy_client_1._json)(_),
|
|
401
281
|
}));
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
hostname,
|
|
405
|
-
port,
|
|
406
|
-
method: "POST",
|
|
407
|
-
headers,
|
|
408
|
-
path: resolvedPath,
|
|
409
|
-
query,
|
|
410
|
-
body,
|
|
411
|
-
});
|
|
282
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
283
|
+
return b.build();
|
|
412
284
|
};
|
|
413
285
|
exports.se_DisposePackageVersionsCommand = se_DisposePackageVersionsCommand;
|
|
414
286
|
const se_GetAuthorizationTokenCommand = async (input, context) => {
|
|
415
|
-
const
|
|
287
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
416
288
|
const headers = {};
|
|
417
|
-
|
|
289
|
+
b.bp("/v1/authorization-token");
|
|
418
290
|
const query = (0, smithy_client_1.map)({
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
291
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
292
|
+
[_do]: [, input[_dO]],
|
|
293
|
+
[_du]: [() => input.durationSeconds !== void 0, () => input[_dS].toString()],
|
|
422
294
|
});
|
|
423
295
|
let body;
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
hostname,
|
|
427
|
-
port,
|
|
428
|
-
method: "POST",
|
|
429
|
-
headers,
|
|
430
|
-
path: resolvedPath,
|
|
431
|
-
query,
|
|
432
|
-
body,
|
|
433
|
-
});
|
|
296
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
297
|
+
return b.build();
|
|
434
298
|
};
|
|
435
299
|
exports.se_GetAuthorizationTokenCommand = se_GetAuthorizationTokenCommand;
|
|
436
300
|
const se_GetDomainPermissionsPolicyCommand = async (input, context) => {
|
|
437
|
-
const
|
|
301
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
438
302
|
const headers = {};
|
|
439
|
-
|
|
303
|
+
b.bp("/v1/domain/permissions/policy");
|
|
440
304
|
const query = (0, smithy_client_1.map)({
|
|
441
|
-
|
|
442
|
-
|
|
305
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
306
|
+
[_do]: [, input[_dO]],
|
|
443
307
|
});
|
|
444
308
|
let body;
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
hostname,
|
|
448
|
-
port,
|
|
449
|
-
method: "GET",
|
|
450
|
-
headers,
|
|
451
|
-
path: resolvedPath,
|
|
452
|
-
query,
|
|
453
|
-
body,
|
|
454
|
-
});
|
|
309
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
310
|
+
return b.build();
|
|
455
311
|
};
|
|
456
312
|
exports.se_GetDomainPermissionsPolicyCommand = se_GetDomainPermissionsPolicyCommand;
|
|
457
313
|
const se_GetPackageVersionAssetCommand = async (input, context) => {
|
|
458
|
-
const
|
|
314
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
459
315
|
const headers = {};
|
|
460
|
-
|
|
316
|
+
b.bp("/v1/package/version/asset");
|
|
461
317
|
const query = (0, smithy_client_1.map)({
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
318
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
319
|
+
[_do]: [, input[_dO]],
|
|
320
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
321
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
322
|
+
[_n]: [, input[_n]],
|
|
323
|
+
[_p]: [, (0, smithy_client_1.expectNonNull)(input[_p], `package`)],
|
|
324
|
+
[_v]: [, (0, smithy_client_1.expectNonNull)(input[_pV], `packageVersion`)],
|
|
325
|
+
[_a]: [, (0, smithy_client_1.expectNonNull)(input[_a], `asset`)],
|
|
326
|
+
[_re]: [, input[_pVR]],
|
|
471
327
|
});
|
|
472
328
|
let body;
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
hostname,
|
|
476
|
-
port,
|
|
477
|
-
method: "GET",
|
|
478
|
-
headers,
|
|
479
|
-
path: resolvedPath,
|
|
480
|
-
query,
|
|
481
|
-
body,
|
|
482
|
-
});
|
|
329
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
330
|
+
return b.build();
|
|
483
331
|
};
|
|
484
332
|
exports.se_GetPackageVersionAssetCommand = se_GetPackageVersionAssetCommand;
|
|
485
333
|
const se_GetPackageVersionReadmeCommand = async (input, context) => {
|
|
486
|
-
const
|
|
334
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
487
335
|
const headers = {};
|
|
488
|
-
|
|
336
|
+
b.bp("/v1/package/version/readme");
|
|
489
337
|
const query = (0, smithy_client_1.map)({
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
338
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
339
|
+
[_do]: [, input[_dO]],
|
|
340
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
341
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
342
|
+
[_n]: [, input[_n]],
|
|
343
|
+
[_p]: [, (0, smithy_client_1.expectNonNull)(input[_p], `package`)],
|
|
344
|
+
[_v]: [, (0, smithy_client_1.expectNonNull)(input[_pV], `packageVersion`)],
|
|
497
345
|
});
|
|
498
346
|
let body;
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
hostname,
|
|
502
|
-
port,
|
|
503
|
-
method: "GET",
|
|
504
|
-
headers,
|
|
505
|
-
path: resolvedPath,
|
|
506
|
-
query,
|
|
507
|
-
body,
|
|
508
|
-
});
|
|
347
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
348
|
+
return b.build();
|
|
509
349
|
};
|
|
510
350
|
exports.se_GetPackageVersionReadmeCommand = se_GetPackageVersionReadmeCommand;
|
|
511
351
|
const se_GetRepositoryEndpointCommand = async (input, context) => {
|
|
512
|
-
const
|
|
352
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
513
353
|
const headers = {};
|
|
514
|
-
|
|
354
|
+
b.bp("/v1/repository/endpoint");
|
|
515
355
|
const query = (0, smithy_client_1.map)({
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
356
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
357
|
+
[_do]: [, input[_dO]],
|
|
358
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
359
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
520
360
|
});
|
|
521
361
|
let body;
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
hostname,
|
|
525
|
-
port,
|
|
526
|
-
method: "GET",
|
|
527
|
-
headers,
|
|
528
|
-
path: resolvedPath,
|
|
529
|
-
query,
|
|
530
|
-
body,
|
|
531
|
-
});
|
|
362
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
363
|
+
return b.build();
|
|
532
364
|
};
|
|
533
365
|
exports.se_GetRepositoryEndpointCommand = se_GetRepositoryEndpointCommand;
|
|
534
366
|
const se_GetRepositoryPermissionsPolicyCommand = async (input, context) => {
|
|
535
|
-
const
|
|
367
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
536
368
|
const headers = {};
|
|
537
|
-
|
|
369
|
+
b.bp("/v1/repository/permissions/policy");
|
|
538
370
|
const query = (0, smithy_client_1.map)({
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
371
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
372
|
+
[_do]: [, input[_dO]],
|
|
373
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
542
374
|
});
|
|
543
375
|
let body;
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
hostname,
|
|
547
|
-
port,
|
|
548
|
-
method: "GET",
|
|
549
|
-
headers,
|
|
550
|
-
path: resolvedPath,
|
|
551
|
-
query,
|
|
552
|
-
body,
|
|
553
|
-
});
|
|
376
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
377
|
+
return b.build();
|
|
554
378
|
};
|
|
555
379
|
exports.se_GetRepositoryPermissionsPolicyCommand = se_GetRepositoryPermissionsPolicyCommand;
|
|
556
380
|
const se_ListDomainsCommand = async (input, context) => {
|
|
557
|
-
const
|
|
381
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
558
382
|
const headers = {
|
|
559
383
|
"content-type": "application/json",
|
|
560
384
|
};
|
|
561
|
-
|
|
385
|
+
b.bp("/v1/domains");
|
|
562
386
|
let body;
|
|
563
387
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
564
388
|
maxResults: [],
|
|
565
389
|
nextToken: [],
|
|
566
390
|
}));
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
hostname,
|
|
570
|
-
port,
|
|
571
|
-
method: "POST",
|
|
572
|
-
headers,
|
|
573
|
-
path: resolvedPath,
|
|
574
|
-
body,
|
|
575
|
-
});
|
|
391
|
+
b.m("POST").h(headers).b(body);
|
|
392
|
+
return b.build();
|
|
576
393
|
};
|
|
577
394
|
exports.se_ListDomainsCommand = se_ListDomainsCommand;
|
|
578
395
|
const se_ListPackagesCommand = async (input, context) => {
|
|
579
|
-
const
|
|
396
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
580
397
|
const headers = {};
|
|
581
|
-
|
|
398
|
+
b.bp("/v1/packages");
|
|
582
399
|
const query = (0, smithy_client_1.map)({
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
400
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
401
|
+
[_do]: [, input[_dO]],
|
|
402
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
403
|
+
[_f]: [, input[_f]],
|
|
404
|
+
[_n]: [, input[_n]],
|
|
405
|
+
[_pp]: [, input[_pP]],
|
|
406
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
407
|
+
[_nt]: [, input[_nT]],
|
|
408
|
+
[_pu]: [, input[_pu]],
|
|
409
|
+
[_u]: [, input[_u]],
|
|
593
410
|
});
|
|
594
411
|
let body;
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
hostname,
|
|
598
|
-
port,
|
|
599
|
-
method: "POST",
|
|
600
|
-
headers,
|
|
601
|
-
path: resolvedPath,
|
|
602
|
-
query,
|
|
603
|
-
body,
|
|
604
|
-
});
|
|
412
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
413
|
+
return b.build();
|
|
605
414
|
};
|
|
606
415
|
exports.se_ListPackagesCommand = se_ListPackagesCommand;
|
|
607
416
|
const se_ListPackageVersionAssetsCommand = async (input, context) => {
|
|
608
|
-
const
|
|
417
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
609
418
|
const headers = {};
|
|
610
|
-
|
|
419
|
+
b.bp("/v1/package/version/assets");
|
|
611
420
|
const query = (0, smithy_client_1.map)({
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
421
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
422
|
+
[_do]: [, input[_dO]],
|
|
423
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
424
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
425
|
+
[_n]: [, input[_n]],
|
|
426
|
+
[_p]: [, (0, smithy_client_1.expectNonNull)(input[_p], `package`)],
|
|
427
|
+
[_v]: [, (0, smithy_client_1.expectNonNull)(input[_pV], `packageVersion`)],
|
|
428
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
429
|
+
[_nt]: [, input[_nT]],
|
|
621
430
|
});
|
|
622
431
|
let body;
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
hostname,
|
|
626
|
-
port,
|
|
627
|
-
method: "POST",
|
|
628
|
-
headers,
|
|
629
|
-
path: resolvedPath,
|
|
630
|
-
query,
|
|
631
|
-
body,
|
|
632
|
-
});
|
|
432
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
433
|
+
return b.build();
|
|
633
434
|
};
|
|
634
435
|
exports.se_ListPackageVersionAssetsCommand = se_ListPackageVersionAssetsCommand;
|
|
635
436
|
const se_ListPackageVersionDependenciesCommand = async (input, context) => {
|
|
636
|
-
const
|
|
437
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
637
438
|
const headers = {};
|
|
638
|
-
|
|
439
|
+
b.bp("/v1/package/version/dependencies");
|
|
639
440
|
const query = (0, smithy_client_1.map)({
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
441
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
442
|
+
[_do]: [, input[_dO]],
|
|
443
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
444
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
445
|
+
[_n]: [, input[_n]],
|
|
446
|
+
[_p]: [, (0, smithy_client_1.expectNonNull)(input[_p], `package`)],
|
|
447
|
+
[_v]: [, (0, smithy_client_1.expectNonNull)(input[_pV], `packageVersion`)],
|
|
448
|
+
[_nt]: [, input[_nT]],
|
|
648
449
|
});
|
|
649
450
|
let body;
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
hostname,
|
|
653
|
-
port,
|
|
654
|
-
method: "POST",
|
|
655
|
-
headers,
|
|
656
|
-
path: resolvedPath,
|
|
657
|
-
query,
|
|
658
|
-
body,
|
|
659
|
-
});
|
|
451
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
452
|
+
return b.build();
|
|
660
453
|
};
|
|
661
454
|
exports.se_ListPackageVersionDependenciesCommand = se_ListPackageVersionDependenciesCommand;
|
|
662
455
|
const se_ListPackageVersionsCommand = async (input, context) => {
|
|
663
|
-
const
|
|
456
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
664
457
|
const headers = {};
|
|
665
|
-
|
|
458
|
+
b.bp("/v1/package/versions");
|
|
666
459
|
const query = (0, smithy_client_1.map)({
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
460
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
461
|
+
[_do]: [, input[_dO]],
|
|
462
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
463
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
464
|
+
[_n]: [, input[_n]],
|
|
465
|
+
[_p]: [, (0, smithy_client_1.expectNonNull)(input[_p], `package`)],
|
|
466
|
+
[_s]: [, input[_s]],
|
|
467
|
+
[_sB]: [, input[_sB]],
|
|
468
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
469
|
+
[_nt]: [, input[_nT]],
|
|
470
|
+
[_oT]: [, input[_oT]],
|
|
678
471
|
});
|
|
679
472
|
let body;
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
hostname,
|
|
683
|
-
port,
|
|
684
|
-
method: "POST",
|
|
685
|
-
headers,
|
|
686
|
-
path: resolvedPath,
|
|
687
|
-
query,
|
|
688
|
-
body,
|
|
689
|
-
});
|
|
473
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
474
|
+
return b.build();
|
|
690
475
|
};
|
|
691
476
|
exports.se_ListPackageVersionsCommand = se_ListPackageVersionsCommand;
|
|
692
477
|
const se_ListRepositoriesCommand = async (input, context) => {
|
|
693
|
-
const
|
|
478
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
694
479
|
const headers = {};
|
|
695
|
-
|
|
480
|
+
b.bp("/v1/repositories");
|
|
696
481
|
const query = (0, smithy_client_1.map)({
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
482
|
+
[_rp]: [, input[_rP]],
|
|
483
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
484
|
+
[_nt]: [, input[_nT]],
|
|
700
485
|
});
|
|
701
486
|
let body;
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
hostname,
|
|
705
|
-
port,
|
|
706
|
-
method: "POST",
|
|
707
|
-
headers,
|
|
708
|
-
path: resolvedPath,
|
|
709
|
-
query,
|
|
710
|
-
body,
|
|
711
|
-
});
|
|
487
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
488
|
+
return b.build();
|
|
712
489
|
};
|
|
713
490
|
exports.se_ListRepositoriesCommand = se_ListRepositoriesCommand;
|
|
714
491
|
const se_ListRepositoriesInDomainCommand = async (input, context) => {
|
|
715
|
-
const
|
|
492
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
716
493
|
const headers = {};
|
|
717
|
-
|
|
494
|
+
b.bp("/v1/domain/repositories");
|
|
718
495
|
const query = (0, smithy_client_1.map)({
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
496
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
497
|
+
[_do]: [, input[_dO]],
|
|
498
|
+
[_aa]: [, input[_aA]],
|
|
499
|
+
[_rp]: [, input[_rP]],
|
|
500
|
+
[_mr]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
501
|
+
[_nt]: [, input[_nT]],
|
|
725
502
|
});
|
|
726
503
|
let body;
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
hostname,
|
|
730
|
-
port,
|
|
731
|
-
method: "POST",
|
|
732
|
-
headers,
|
|
733
|
-
path: resolvedPath,
|
|
734
|
-
query,
|
|
735
|
-
body,
|
|
736
|
-
});
|
|
504
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
505
|
+
return b.build();
|
|
737
506
|
};
|
|
738
507
|
exports.se_ListRepositoriesInDomainCommand = se_ListRepositoriesInDomainCommand;
|
|
739
508
|
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
740
|
-
const
|
|
509
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
741
510
|
const headers = {};
|
|
742
|
-
|
|
511
|
+
b.bp("/v1/tags");
|
|
743
512
|
const query = (0, smithy_client_1.map)({
|
|
744
|
-
|
|
513
|
+
[_rA]: [, (0, smithy_client_1.expectNonNull)(input[_rA], `resourceArn`)],
|
|
745
514
|
});
|
|
746
515
|
let body;
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
hostname,
|
|
750
|
-
port,
|
|
751
|
-
method: "POST",
|
|
752
|
-
headers,
|
|
753
|
-
path: resolvedPath,
|
|
754
|
-
query,
|
|
755
|
-
body,
|
|
756
|
-
});
|
|
516
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
517
|
+
return b.build();
|
|
757
518
|
};
|
|
758
519
|
exports.se_ListTagsForResourceCommand = se_ListTagsForResourceCommand;
|
|
759
520
|
const se_PublishPackageVersionCommand = async (input, context) => {
|
|
760
|
-
const
|
|
521
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
761
522
|
const headers = (0, smithy_client_1.map)({}, isSerializableHeaderValue, {
|
|
762
523
|
"content-type": "application/octet-stream",
|
|
763
|
-
|
|
524
|
+
[_xacs]: input[_aSHA],
|
|
764
525
|
});
|
|
765
|
-
|
|
526
|
+
b.bp("/v1/package/version/publish");
|
|
766
527
|
const query = (0, smithy_client_1.map)({
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
528
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
529
|
+
[_do]: [, input[_dO]],
|
|
530
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
531
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
532
|
+
[_n]: [, input[_n]],
|
|
533
|
+
[_p]: [, (0, smithy_client_1.expectNonNull)(input[_p], `package`)],
|
|
534
|
+
[_v]: [, (0, smithy_client_1.expectNonNull)(input[_pV], `packageVersion`)],
|
|
535
|
+
[_a]: [, (0, smithy_client_1.expectNonNull)(input[_aN], `assetName`)],
|
|
536
|
+
[_un]: [() => input.unfinished !== void 0, () => input[_un].toString()],
|
|
776
537
|
});
|
|
777
538
|
let body;
|
|
778
539
|
if (input.assetContent !== undefined) {
|
|
779
540
|
body = input.assetContent;
|
|
780
541
|
}
|
|
781
|
-
|
|
782
|
-
|
|
783
|
-
hostname,
|
|
784
|
-
port,
|
|
785
|
-
method: "POST",
|
|
786
|
-
headers,
|
|
787
|
-
path: resolvedPath,
|
|
788
|
-
query,
|
|
789
|
-
body,
|
|
790
|
-
});
|
|
542
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
543
|
+
return b.build();
|
|
791
544
|
};
|
|
792
545
|
exports.se_PublishPackageVersionCommand = se_PublishPackageVersionCommand;
|
|
793
546
|
const se_PutDomainPermissionsPolicyCommand = async (input, context) => {
|
|
794
|
-
const
|
|
547
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
795
548
|
const headers = {
|
|
796
549
|
"content-type": "application/json",
|
|
797
550
|
};
|
|
798
|
-
|
|
551
|
+
b.bp("/v1/domain/permissions/policy");
|
|
799
552
|
let body;
|
|
800
553
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
801
554
|
domain: [],
|
|
@@ -803,138 +556,99 @@ const se_PutDomainPermissionsPolicyCommand = async (input, context) => {
|
|
|
803
556
|
policyDocument: [],
|
|
804
557
|
policyRevision: [],
|
|
805
558
|
}));
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
hostname,
|
|
809
|
-
port,
|
|
810
|
-
method: "PUT",
|
|
811
|
-
headers,
|
|
812
|
-
path: resolvedPath,
|
|
813
|
-
body,
|
|
814
|
-
});
|
|
559
|
+
b.m("PUT").h(headers).b(body);
|
|
560
|
+
return b.build();
|
|
815
561
|
};
|
|
816
562
|
exports.se_PutDomainPermissionsPolicyCommand = se_PutDomainPermissionsPolicyCommand;
|
|
817
563
|
const se_PutPackageOriginConfigurationCommand = async (input, context) => {
|
|
818
|
-
const
|
|
564
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
819
565
|
const headers = {
|
|
820
566
|
"content-type": "application/json",
|
|
821
567
|
};
|
|
822
|
-
|
|
568
|
+
b.bp("/v1/package");
|
|
823
569
|
const query = (0, smithy_client_1.map)({
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
570
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
571
|
+
[_do]: [, input[_dO]],
|
|
572
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
573
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
574
|
+
[_n]: [, input[_n]],
|
|
575
|
+
[_p]: [, (0, smithy_client_1.expectNonNull)(input[_p], `package`)],
|
|
830
576
|
});
|
|
831
577
|
let body;
|
|
832
578
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
833
579
|
restrictions: (_) => (0, smithy_client_1._json)(_),
|
|
834
580
|
}));
|
|
835
|
-
|
|
836
|
-
|
|
837
|
-
hostname,
|
|
838
|
-
port,
|
|
839
|
-
method: "POST",
|
|
840
|
-
headers,
|
|
841
|
-
path: resolvedPath,
|
|
842
|
-
query,
|
|
843
|
-
body,
|
|
844
|
-
});
|
|
581
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
582
|
+
return b.build();
|
|
845
583
|
};
|
|
846
584
|
exports.se_PutPackageOriginConfigurationCommand = se_PutPackageOriginConfigurationCommand;
|
|
847
585
|
const se_PutRepositoryPermissionsPolicyCommand = async (input, context) => {
|
|
848
|
-
const
|
|
586
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
849
587
|
const headers = {
|
|
850
588
|
"content-type": "application/json",
|
|
851
589
|
};
|
|
852
|
-
|
|
590
|
+
b.bp("/v1/repository/permissions/policy");
|
|
853
591
|
const query = (0, smithy_client_1.map)({
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
|
|
592
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
593
|
+
[_do]: [, input[_dO]],
|
|
594
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
857
595
|
});
|
|
858
596
|
let body;
|
|
859
597
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
860
598
|
policyDocument: [],
|
|
861
599
|
policyRevision: [],
|
|
862
600
|
}));
|
|
863
|
-
|
|
864
|
-
|
|
865
|
-
hostname,
|
|
866
|
-
port,
|
|
867
|
-
method: "PUT",
|
|
868
|
-
headers,
|
|
869
|
-
path: resolvedPath,
|
|
870
|
-
query,
|
|
871
|
-
body,
|
|
872
|
-
});
|
|
601
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
602
|
+
return b.build();
|
|
873
603
|
};
|
|
874
604
|
exports.se_PutRepositoryPermissionsPolicyCommand = se_PutRepositoryPermissionsPolicyCommand;
|
|
875
605
|
const se_TagResourceCommand = async (input, context) => {
|
|
876
|
-
const
|
|
606
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
877
607
|
const headers = {
|
|
878
608
|
"content-type": "application/json",
|
|
879
609
|
};
|
|
880
|
-
|
|
610
|
+
b.bp("/v1/tag");
|
|
881
611
|
const query = (0, smithy_client_1.map)({
|
|
882
|
-
|
|
612
|
+
[_rA]: [, (0, smithy_client_1.expectNonNull)(input[_rA], `resourceArn`)],
|
|
883
613
|
});
|
|
884
614
|
let body;
|
|
885
615
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
886
616
|
tags: (_) => (0, smithy_client_1._json)(_),
|
|
887
617
|
}));
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
hostname,
|
|
891
|
-
port,
|
|
892
|
-
method: "POST",
|
|
893
|
-
headers,
|
|
894
|
-
path: resolvedPath,
|
|
895
|
-
query,
|
|
896
|
-
body,
|
|
897
|
-
});
|
|
618
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
619
|
+
return b.build();
|
|
898
620
|
};
|
|
899
621
|
exports.se_TagResourceCommand = se_TagResourceCommand;
|
|
900
622
|
const se_UntagResourceCommand = async (input, context) => {
|
|
901
|
-
const
|
|
623
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
902
624
|
const headers = {
|
|
903
625
|
"content-type": "application/json",
|
|
904
626
|
};
|
|
905
|
-
|
|
627
|
+
b.bp("/v1/untag");
|
|
906
628
|
const query = (0, smithy_client_1.map)({
|
|
907
|
-
|
|
629
|
+
[_rA]: [, (0, smithy_client_1.expectNonNull)(input[_rA], `resourceArn`)],
|
|
908
630
|
});
|
|
909
631
|
let body;
|
|
910
632
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
911
633
|
tagKeys: (_) => (0, smithy_client_1._json)(_),
|
|
912
634
|
}));
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
hostname,
|
|
916
|
-
port,
|
|
917
|
-
method: "POST",
|
|
918
|
-
headers,
|
|
919
|
-
path: resolvedPath,
|
|
920
|
-
query,
|
|
921
|
-
body,
|
|
922
|
-
});
|
|
635
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
636
|
+
return b.build();
|
|
923
637
|
};
|
|
924
638
|
exports.se_UntagResourceCommand = se_UntagResourceCommand;
|
|
925
639
|
const se_UpdatePackageVersionsStatusCommand = async (input, context) => {
|
|
926
|
-
const
|
|
640
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
927
641
|
const headers = {
|
|
928
642
|
"content-type": "application/json",
|
|
929
643
|
};
|
|
930
|
-
|
|
644
|
+
b.bp("/v1/package/versions/update_status");
|
|
931
645
|
const query = (0, smithy_client_1.map)({
|
|
932
|
-
|
|
933
|
-
|
|
934
|
-
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
|
|
646
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
647
|
+
[_do]: [, input[_dO]],
|
|
648
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
649
|
+
[_f]: [, (0, smithy_client_1.expectNonNull)(input[_f], `format`)],
|
|
650
|
+
[_n]: [, input[_n]],
|
|
651
|
+
[_p]: [, (0, smithy_client_1.expectNonNull)(input[_p], `package`)],
|
|
938
652
|
});
|
|
939
653
|
let body;
|
|
940
654
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
@@ -943,44 +657,28 @@ const se_UpdatePackageVersionsStatusCommand = async (input, context) => {
|
|
|
943
657
|
versionRevisions: (_) => (0, smithy_client_1._json)(_),
|
|
944
658
|
versions: (_) => (0, smithy_client_1._json)(_),
|
|
945
659
|
}));
|
|
946
|
-
|
|
947
|
-
|
|
948
|
-
hostname,
|
|
949
|
-
port,
|
|
950
|
-
method: "POST",
|
|
951
|
-
headers,
|
|
952
|
-
path: resolvedPath,
|
|
953
|
-
query,
|
|
954
|
-
body,
|
|
955
|
-
});
|
|
660
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
661
|
+
return b.build();
|
|
956
662
|
};
|
|
957
663
|
exports.se_UpdatePackageVersionsStatusCommand = se_UpdatePackageVersionsStatusCommand;
|
|
958
664
|
const se_UpdateRepositoryCommand = async (input, context) => {
|
|
959
|
-
const
|
|
665
|
+
const b = (0, core_1.requestBuilder)(input, context);
|
|
960
666
|
const headers = {
|
|
961
667
|
"content-type": "application/json",
|
|
962
668
|
};
|
|
963
|
-
|
|
669
|
+
b.bp("/v1/repository");
|
|
964
670
|
const query = (0, smithy_client_1.map)({
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
671
|
+
[_d]: [, (0, smithy_client_1.expectNonNull)(input[_d], `domain`)],
|
|
672
|
+
[_do]: [, input[_dO]],
|
|
673
|
+
[_r]: [, (0, smithy_client_1.expectNonNull)(input[_r], `repository`)],
|
|
968
674
|
});
|
|
969
675
|
let body;
|
|
970
676
|
body = JSON.stringify((0, smithy_client_1.take)(input, {
|
|
971
677
|
description: [],
|
|
972
678
|
upstreams: (_) => (0, smithy_client_1._json)(_),
|
|
973
679
|
}));
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
hostname,
|
|
977
|
-
port,
|
|
978
|
-
method: "PUT",
|
|
979
|
-
headers,
|
|
980
|
-
path: resolvedPath,
|
|
981
|
-
query,
|
|
982
|
-
body,
|
|
983
|
-
});
|
|
680
|
+
b.m("PUT").h(headers).q(query).b(body);
|
|
681
|
+
return b.build();
|
|
984
682
|
};
|
|
985
683
|
exports.se_UpdateRepositoryCommand = se_UpdateRepositoryCommand;
|
|
986
684
|
const de_AssociateExternalConnectionCommand = async (output, context) => {
|
|
@@ -1872,9 +1570,9 @@ const de_GetPackageVersionAssetCommand = async (output, context) => {
|
|
|
1872
1570
|
}
|
|
1873
1571
|
const contents = (0, smithy_client_1.map)({
|
|
1874
1572
|
$metadata: deserializeMetadata(output),
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1573
|
+
[_aN]: [, output.headers[_xa]],
|
|
1574
|
+
[_pV]: [, output.headers[_xp]],
|
|
1575
|
+
[_pVR]: [, output.headers[_xp_]],
|
|
1878
1576
|
});
|
|
1879
1577
|
const data = output.body;
|
|
1880
1578
|
context.sdkStreamMixin(data);
|
|
@@ -2904,10 +2602,7 @@ const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
|
2904
2602
|
};
|
|
2905
2603
|
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
2906
2604
|
const contents = (0, smithy_client_1.map)({
|
|
2907
|
-
|
|
2908
|
-
() => void 0 !== parsedOutput.headers["retry-after"],
|
|
2909
|
-
() => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers["retry-after"]),
|
|
2910
|
-
],
|
|
2605
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, smithy_client_1.strictParseInt32)(parsedOutput.headers[_ra])],
|
|
2911
2606
|
});
|
|
2912
2607
|
const data = parsedOutput.body;
|
|
2913
2608
|
const doc = (0, smithy_client_1.take)(data, {
|
|
@@ -3026,6 +2721,53 @@ const isSerializableHeaderValue = (value) => value !== undefined &&
|
|
|
3026
2721
|
value !== "" &&
|
|
3027
2722
|
(!Object.getOwnPropertyNames(value).includes("length") || value.length != 0) &&
|
|
3028
2723
|
(!Object.getOwnPropertyNames(value).includes("size") || value.size != 0);
|
|
2724
|
+
const _a = "asset";
|
|
2725
|
+
const _aA = "administratorAccount";
|
|
2726
|
+
const _aN = "assetName";
|
|
2727
|
+
const _aSHA = "assetSHA256";
|
|
2728
|
+
const _aa = "administrator-account";
|
|
2729
|
+
const _d = "domain";
|
|
2730
|
+
const _dO = "domainOwner";
|
|
2731
|
+
const _dR = "destinationRepository";
|
|
2732
|
+
const _dS = "durationSeconds";
|
|
2733
|
+
const _do = "domain-owner";
|
|
2734
|
+
const _dr = "destination-repository";
|
|
2735
|
+
const _du = "duration";
|
|
2736
|
+
const _eC = "externalConnection";
|
|
2737
|
+
const _ec = "external-connection";
|
|
2738
|
+
const _f = "format";
|
|
2739
|
+
const _mR = "maxResults";
|
|
2740
|
+
const _mr = "max-results";
|
|
2741
|
+
const _n = "namespace";
|
|
2742
|
+
const _nT = "nextToken";
|
|
2743
|
+
const _nt = "next-token";
|
|
2744
|
+
const _oT = "originType";
|
|
2745
|
+
const _p = "package";
|
|
2746
|
+
const _pP = "packagePrefix";
|
|
2747
|
+
const _pR = "policyRevision";
|
|
2748
|
+
const _pV = "packageVersion";
|
|
2749
|
+
const _pVR = "packageVersionRevision";
|
|
2750
|
+
const _pp = "package-prefix";
|
|
2751
|
+
const _pr = "policy-revision";
|
|
2752
|
+
const _pu = "publish";
|
|
2753
|
+
const _r = "repository";
|
|
2754
|
+
const _rA = "resourceArn";
|
|
2755
|
+
const _rAS = "retryAfterSeconds";
|
|
2756
|
+
const _rP = "repositoryPrefix";
|
|
2757
|
+
const _ra = "retry-after";
|
|
2758
|
+
const _re = "revision";
|
|
2759
|
+
const _rp = "repository-prefix";
|
|
2760
|
+
const _s = "status";
|
|
2761
|
+
const _sB = "sortBy";
|
|
2762
|
+
const _sR = "sourceRepository";
|
|
2763
|
+
const _sr = "source-repository";
|
|
2764
|
+
const _u = "upstream";
|
|
2765
|
+
const _un = "unfinished";
|
|
2766
|
+
const _v = "version";
|
|
2767
|
+
const _xa = "x-assetname";
|
|
2768
|
+
const _xacs = "x-amz-content-sha256";
|
|
2769
|
+
const _xp = "x-packageversion";
|
|
2770
|
+
const _xp_ = "x-packageversionrevision";
|
|
3029
2771
|
const parseBody = (streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
3030
2772
|
if (encoded.length) {
|
|
3031
2773
|
return JSON.parse(encoded);
|