@aws-sdk/client-ecr-public 3.1074.0 → 3.1076.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/index.js +1380 -15
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
- package/package.json +8 -8
- package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
- package/dist-cjs/endpoint/bdd.js +0 -49
- package/dist-cjs/endpoint/endpointResolver.js +0 -14
- package/dist-cjs/models/ECRPUBLICServiceException.js +0 -8
- package/dist-cjs/models/errors.js +0 -297
- package/dist-cjs/runtimeConfig.browser.js +0 -32
- package/dist-cjs/runtimeConfig.js +0 -45
- package/dist-cjs/runtimeConfig.native.js +0 -12
- package/dist-cjs/runtimeConfig.shared.js +0 -39
- package/dist-cjs/schemas/schemas_0.js +0 -853
package/dist-cjs/index.js
CHANGED
|
@@ -1,21 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
3
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
4
|
-
const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
3
|
+
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
|
|
5
4
|
exports.$Command = Command;
|
|
6
5
|
exports.__Client = Client;
|
|
7
|
-
const { resolveRegionConfig } = require("@smithy/core/config");
|
|
8
|
-
const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
9
|
-
const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
10
|
-
const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
11
|
-
const { getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
12
|
-
const {
|
|
13
|
-
const {
|
|
14
|
-
const {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
6
|
+
const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
|
|
7
|
+
const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
|
|
8
|
+
const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
|
|
9
|
+
const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
|
|
10
|
+
const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
|
|
11
|
+
const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
|
|
12
|
+
const { defaultProvider } = require("@aws-sdk/credential-provider-node");
|
|
13
|
+
const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
|
|
14
|
+
const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
|
|
15
|
+
const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
|
|
16
|
+
|
|
17
|
+
const defaultECRPUBLICHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
18
|
+
return {
|
|
19
|
+
operation: getSmithyContext(context).operation,
|
|
20
|
+
region: await normalizeProvider(config.region)() || (() => {
|
|
21
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
22
|
+
})(),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
26
|
+
return {
|
|
27
|
+
schemeId: "aws.auth#sigv4",
|
|
28
|
+
signingProperties: {
|
|
29
|
+
name: "ecr-public",
|
|
30
|
+
region: authParameters.region,
|
|
31
|
+
},
|
|
32
|
+
propertiesExtractor: (config, context) => ({
|
|
33
|
+
signingProperties: {
|
|
34
|
+
config,
|
|
35
|
+
context,
|
|
36
|
+
},
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
const defaultECRPUBLICHttpAuthSchemeProvider = (authParameters) => {
|
|
41
|
+
const options = [];
|
|
42
|
+
switch (authParameters.operation) {
|
|
43
|
+
default: {
|
|
44
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
return options;
|
|
48
|
+
};
|
|
49
|
+
const resolveHttpAuthSchemeConfig = (config) => {
|
|
50
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
51
|
+
return Object.assign(config_0, {
|
|
52
|
+
authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
|
|
53
|
+
});
|
|
54
|
+
};
|
|
19
55
|
|
|
20
56
|
const resolveClientEndpointParameters = (options) => {
|
|
21
57
|
return Object.assign(options, {
|
|
@@ -31,6 +67,1199 @@ const commonParams = {
|
|
|
31
67
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
32
68
|
};
|
|
33
69
|
|
|
70
|
+
var version = "3.1075.0";
|
|
71
|
+
var packageInfo = {
|
|
72
|
+
version: version};
|
|
73
|
+
|
|
74
|
+
const k = "ref";
|
|
75
|
+
const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
|
|
76
|
+
const _data = {
|
|
77
|
+
conditions: [
|
|
78
|
+
[c, [g]],
|
|
79
|
+
[c, j],
|
|
80
|
+
["aws.partition", j, d],
|
|
81
|
+
[e, [{ [k]: "UseFIPS" }, b]],
|
|
82
|
+
[e, [{ [k]: "UseDualStack" }, b]],
|
|
83
|
+
[e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
|
|
84
|
+
[e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]],
|
|
85
|
+
["stringEquals", [{ fn: f, argv: [h, "name"] }, "aws"]]
|
|
86
|
+
],
|
|
87
|
+
results: [
|
|
88
|
+
[a],
|
|
89
|
+
[a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
|
|
90
|
+
[a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
|
|
91
|
+
[g, i],
|
|
92
|
+
["https://api.ecr-public-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
93
|
+
[a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
|
|
94
|
+
["https://api.ecr-public-fips.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
95
|
+
[a, "FIPS is enabled but this partition does not support FIPS"],
|
|
96
|
+
["https://ecr-public.{Region}.api.aws", i],
|
|
97
|
+
["https://api.ecr-public.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
|
|
98
|
+
[a, "DualStack is enabled but this partition does not support DualStack"],
|
|
99
|
+
["https://api.ecr-public.{Region}.{PartitionResult#dnsSuffix}", i],
|
|
100
|
+
[a, "Invalid Configuration: Missing Region"]
|
|
101
|
+
]
|
|
102
|
+
};
|
|
103
|
+
const root = 2;
|
|
104
|
+
const r = 100_000_000;
|
|
105
|
+
const nodes = new Int32Array([
|
|
106
|
+
-1, 1, -1,
|
|
107
|
+
0, 13, 3,
|
|
108
|
+
1, 4, r + 12,
|
|
109
|
+
2, 5, r + 12,
|
|
110
|
+
3, 9, 6,
|
|
111
|
+
4, 7, r + 11,
|
|
112
|
+
5, 8, r + 10,
|
|
113
|
+
7, r + 8, r + 9,
|
|
114
|
+
4, 11, 10,
|
|
115
|
+
6, r + 6, r + 7,
|
|
116
|
+
5, 12, r + 5,
|
|
117
|
+
6, r + 4, r + 5,
|
|
118
|
+
3, r + 1, 14,
|
|
119
|
+
4, r + 2, r + 3,
|
|
120
|
+
]);
|
|
121
|
+
const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
|
|
122
|
+
|
|
123
|
+
const cache = new EndpointCache({
|
|
124
|
+
size: 50,
|
|
125
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
126
|
+
});
|
|
127
|
+
const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
128
|
+
return cache.get(endpointParams, () => decideEndpoint(bdd, {
|
|
129
|
+
endpointParams: endpointParams,
|
|
130
|
+
logger: context.logger,
|
|
131
|
+
}));
|
|
132
|
+
};
|
|
133
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
134
|
+
|
|
135
|
+
class ECRPUBLICServiceException extends ServiceException {
|
|
136
|
+
constructor(options) {
|
|
137
|
+
super(options);
|
|
138
|
+
Object.setPrototypeOf(this, ECRPUBLICServiceException.prototype);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
class InvalidParameterException extends ECRPUBLICServiceException {
|
|
143
|
+
name = "InvalidParameterException";
|
|
144
|
+
$fault = "client";
|
|
145
|
+
constructor(opts) {
|
|
146
|
+
super({
|
|
147
|
+
name: "InvalidParameterException",
|
|
148
|
+
$fault: "client",
|
|
149
|
+
...opts,
|
|
150
|
+
});
|
|
151
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
152
|
+
}
|
|
153
|
+
}
|
|
154
|
+
class RegistryNotFoundException extends ECRPUBLICServiceException {
|
|
155
|
+
name = "RegistryNotFoundException";
|
|
156
|
+
$fault = "client";
|
|
157
|
+
constructor(opts) {
|
|
158
|
+
super({
|
|
159
|
+
name: "RegistryNotFoundException",
|
|
160
|
+
$fault: "client",
|
|
161
|
+
...opts,
|
|
162
|
+
});
|
|
163
|
+
Object.setPrototypeOf(this, RegistryNotFoundException.prototype);
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
class RepositoryNotFoundException extends ECRPUBLICServiceException {
|
|
167
|
+
name = "RepositoryNotFoundException";
|
|
168
|
+
$fault = "client";
|
|
169
|
+
constructor(opts) {
|
|
170
|
+
super({
|
|
171
|
+
name: "RepositoryNotFoundException",
|
|
172
|
+
$fault: "client",
|
|
173
|
+
...opts,
|
|
174
|
+
});
|
|
175
|
+
Object.setPrototypeOf(this, RepositoryNotFoundException.prototype);
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
class ServerException extends ECRPUBLICServiceException {
|
|
179
|
+
name = "ServerException";
|
|
180
|
+
$fault = "server";
|
|
181
|
+
constructor(opts) {
|
|
182
|
+
super({
|
|
183
|
+
name: "ServerException",
|
|
184
|
+
$fault: "server",
|
|
185
|
+
...opts,
|
|
186
|
+
});
|
|
187
|
+
Object.setPrototypeOf(this, ServerException.prototype);
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
class UnsupportedCommandException extends ECRPUBLICServiceException {
|
|
191
|
+
name = "UnsupportedCommandException";
|
|
192
|
+
$fault = "client";
|
|
193
|
+
constructor(opts) {
|
|
194
|
+
super({
|
|
195
|
+
name: "UnsupportedCommandException",
|
|
196
|
+
$fault: "client",
|
|
197
|
+
...opts,
|
|
198
|
+
});
|
|
199
|
+
Object.setPrototypeOf(this, UnsupportedCommandException.prototype);
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
class EmptyUploadException extends ECRPUBLICServiceException {
|
|
203
|
+
name = "EmptyUploadException";
|
|
204
|
+
$fault = "client";
|
|
205
|
+
constructor(opts) {
|
|
206
|
+
super({
|
|
207
|
+
name: "EmptyUploadException",
|
|
208
|
+
$fault: "client",
|
|
209
|
+
...opts,
|
|
210
|
+
});
|
|
211
|
+
Object.setPrototypeOf(this, EmptyUploadException.prototype);
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
class InvalidLayerException extends ECRPUBLICServiceException {
|
|
215
|
+
name = "InvalidLayerException";
|
|
216
|
+
$fault = "client";
|
|
217
|
+
constructor(opts) {
|
|
218
|
+
super({
|
|
219
|
+
name: "InvalidLayerException",
|
|
220
|
+
$fault: "client",
|
|
221
|
+
...opts,
|
|
222
|
+
});
|
|
223
|
+
Object.setPrototypeOf(this, InvalidLayerException.prototype);
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
class LayerAlreadyExistsException extends ECRPUBLICServiceException {
|
|
227
|
+
name = "LayerAlreadyExistsException";
|
|
228
|
+
$fault = "client";
|
|
229
|
+
constructor(opts) {
|
|
230
|
+
super({
|
|
231
|
+
name: "LayerAlreadyExistsException",
|
|
232
|
+
$fault: "client",
|
|
233
|
+
...opts,
|
|
234
|
+
});
|
|
235
|
+
Object.setPrototypeOf(this, LayerAlreadyExistsException.prototype);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
class LayerPartTooSmallException extends ECRPUBLICServiceException {
|
|
239
|
+
name = "LayerPartTooSmallException";
|
|
240
|
+
$fault = "client";
|
|
241
|
+
constructor(opts) {
|
|
242
|
+
super({
|
|
243
|
+
name: "LayerPartTooSmallException",
|
|
244
|
+
$fault: "client",
|
|
245
|
+
...opts,
|
|
246
|
+
});
|
|
247
|
+
Object.setPrototypeOf(this, LayerPartTooSmallException.prototype);
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
class UploadNotFoundException extends ECRPUBLICServiceException {
|
|
251
|
+
name = "UploadNotFoundException";
|
|
252
|
+
$fault = "client";
|
|
253
|
+
constructor(opts) {
|
|
254
|
+
super({
|
|
255
|
+
name: "UploadNotFoundException",
|
|
256
|
+
$fault: "client",
|
|
257
|
+
...opts,
|
|
258
|
+
});
|
|
259
|
+
Object.setPrototypeOf(this, UploadNotFoundException.prototype);
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
class InvalidTagParameterException extends ECRPUBLICServiceException {
|
|
263
|
+
name = "InvalidTagParameterException";
|
|
264
|
+
$fault = "client";
|
|
265
|
+
constructor(opts) {
|
|
266
|
+
super({
|
|
267
|
+
name: "InvalidTagParameterException",
|
|
268
|
+
$fault: "client",
|
|
269
|
+
...opts,
|
|
270
|
+
});
|
|
271
|
+
Object.setPrototypeOf(this, InvalidTagParameterException.prototype);
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
class LimitExceededException extends ECRPUBLICServiceException {
|
|
275
|
+
name = "LimitExceededException";
|
|
276
|
+
$fault = "client";
|
|
277
|
+
constructor(opts) {
|
|
278
|
+
super({
|
|
279
|
+
name: "LimitExceededException",
|
|
280
|
+
$fault: "client",
|
|
281
|
+
...opts,
|
|
282
|
+
});
|
|
283
|
+
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
class RepositoryAlreadyExistsException extends ECRPUBLICServiceException {
|
|
287
|
+
name = "RepositoryAlreadyExistsException";
|
|
288
|
+
$fault = "client";
|
|
289
|
+
constructor(opts) {
|
|
290
|
+
super({
|
|
291
|
+
name: "RepositoryAlreadyExistsException",
|
|
292
|
+
$fault: "client",
|
|
293
|
+
...opts,
|
|
294
|
+
});
|
|
295
|
+
Object.setPrototypeOf(this, RepositoryAlreadyExistsException.prototype);
|
|
296
|
+
}
|
|
297
|
+
}
|
|
298
|
+
class TooManyTagsException extends ECRPUBLICServiceException {
|
|
299
|
+
name = "TooManyTagsException";
|
|
300
|
+
$fault = "client";
|
|
301
|
+
constructor(opts) {
|
|
302
|
+
super({
|
|
303
|
+
name: "TooManyTagsException",
|
|
304
|
+
$fault: "client",
|
|
305
|
+
...opts,
|
|
306
|
+
});
|
|
307
|
+
Object.setPrototypeOf(this, TooManyTagsException.prototype);
|
|
308
|
+
}
|
|
309
|
+
}
|
|
310
|
+
class RepositoryNotEmptyException extends ECRPUBLICServiceException {
|
|
311
|
+
name = "RepositoryNotEmptyException";
|
|
312
|
+
$fault = "client";
|
|
313
|
+
constructor(opts) {
|
|
314
|
+
super({
|
|
315
|
+
name: "RepositoryNotEmptyException",
|
|
316
|
+
$fault: "client",
|
|
317
|
+
...opts,
|
|
318
|
+
});
|
|
319
|
+
Object.setPrototypeOf(this, RepositoryNotEmptyException.prototype);
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
class RepositoryPolicyNotFoundException extends ECRPUBLICServiceException {
|
|
323
|
+
name = "RepositoryPolicyNotFoundException";
|
|
324
|
+
$fault = "client";
|
|
325
|
+
constructor(opts) {
|
|
326
|
+
super({
|
|
327
|
+
name: "RepositoryPolicyNotFoundException",
|
|
328
|
+
$fault: "client",
|
|
329
|
+
...opts,
|
|
330
|
+
});
|
|
331
|
+
Object.setPrototypeOf(this, RepositoryPolicyNotFoundException.prototype);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
class ImageNotFoundException extends ECRPUBLICServiceException {
|
|
335
|
+
name = "ImageNotFoundException";
|
|
336
|
+
$fault = "client";
|
|
337
|
+
constructor(opts) {
|
|
338
|
+
super({
|
|
339
|
+
name: "ImageNotFoundException",
|
|
340
|
+
$fault: "client",
|
|
341
|
+
...opts,
|
|
342
|
+
});
|
|
343
|
+
Object.setPrototypeOf(this, ImageNotFoundException.prototype);
|
|
344
|
+
}
|
|
345
|
+
}
|
|
346
|
+
class RepositoryCatalogDataNotFoundException extends ECRPUBLICServiceException {
|
|
347
|
+
name = "RepositoryCatalogDataNotFoundException";
|
|
348
|
+
$fault = "client";
|
|
349
|
+
constructor(opts) {
|
|
350
|
+
super({
|
|
351
|
+
name: "RepositoryCatalogDataNotFoundException",
|
|
352
|
+
$fault: "client",
|
|
353
|
+
...opts,
|
|
354
|
+
});
|
|
355
|
+
Object.setPrototypeOf(this, RepositoryCatalogDataNotFoundException.prototype);
|
|
356
|
+
}
|
|
357
|
+
}
|
|
358
|
+
class ImageAlreadyExistsException extends ECRPUBLICServiceException {
|
|
359
|
+
name = "ImageAlreadyExistsException";
|
|
360
|
+
$fault = "client";
|
|
361
|
+
constructor(opts) {
|
|
362
|
+
super({
|
|
363
|
+
name: "ImageAlreadyExistsException",
|
|
364
|
+
$fault: "client",
|
|
365
|
+
...opts,
|
|
366
|
+
});
|
|
367
|
+
Object.setPrototypeOf(this, ImageAlreadyExistsException.prototype);
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
class ImageDigestDoesNotMatchException extends ECRPUBLICServiceException {
|
|
371
|
+
name = "ImageDigestDoesNotMatchException";
|
|
372
|
+
$fault = "client";
|
|
373
|
+
constructor(opts) {
|
|
374
|
+
super({
|
|
375
|
+
name: "ImageDigestDoesNotMatchException",
|
|
376
|
+
$fault: "client",
|
|
377
|
+
...opts,
|
|
378
|
+
});
|
|
379
|
+
Object.setPrototypeOf(this, ImageDigestDoesNotMatchException.prototype);
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
class ImageTagAlreadyExistsException extends ECRPUBLICServiceException {
|
|
383
|
+
name = "ImageTagAlreadyExistsException";
|
|
384
|
+
$fault = "client";
|
|
385
|
+
constructor(opts) {
|
|
386
|
+
super({
|
|
387
|
+
name: "ImageTagAlreadyExistsException",
|
|
388
|
+
$fault: "client",
|
|
389
|
+
...opts,
|
|
390
|
+
});
|
|
391
|
+
Object.setPrototypeOf(this, ImageTagAlreadyExistsException.prototype);
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
class InvalidLayerPartException extends ECRPUBLICServiceException {
|
|
395
|
+
name = "InvalidLayerPartException";
|
|
396
|
+
$fault = "client";
|
|
397
|
+
registryId;
|
|
398
|
+
repositoryName;
|
|
399
|
+
uploadId;
|
|
400
|
+
lastValidByteReceived;
|
|
401
|
+
constructor(opts) {
|
|
402
|
+
super({
|
|
403
|
+
name: "InvalidLayerPartException",
|
|
404
|
+
$fault: "client",
|
|
405
|
+
...opts,
|
|
406
|
+
});
|
|
407
|
+
Object.setPrototypeOf(this, InvalidLayerPartException.prototype);
|
|
408
|
+
this.registryId = opts.registryId;
|
|
409
|
+
this.repositoryName = opts.repositoryName;
|
|
410
|
+
this.uploadId = opts.uploadId;
|
|
411
|
+
this.lastValidByteReceived = opts.lastValidByteReceived;
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
class LayersNotFoundException extends ECRPUBLICServiceException {
|
|
415
|
+
name = "LayersNotFoundException";
|
|
416
|
+
$fault = "client";
|
|
417
|
+
constructor(opts) {
|
|
418
|
+
super({
|
|
419
|
+
name: "LayersNotFoundException",
|
|
420
|
+
$fault: "client",
|
|
421
|
+
...opts,
|
|
422
|
+
});
|
|
423
|
+
Object.setPrototypeOf(this, LayersNotFoundException.prototype);
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
class ReferencedImagesNotFoundException extends ECRPUBLICServiceException {
|
|
427
|
+
name = "ReferencedImagesNotFoundException";
|
|
428
|
+
$fault = "client";
|
|
429
|
+
constructor(opts) {
|
|
430
|
+
super({
|
|
431
|
+
name: "ReferencedImagesNotFoundException",
|
|
432
|
+
$fault: "client",
|
|
433
|
+
...opts,
|
|
434
|
+
});
|
|
435
|
+
Object.setPrototypeOf(this, ReferencedImagesNotFoundException.prototype);
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
const _AD = "AuthorizationData";
|
|
440
|
+
const _BCLA = "BatchCheckLayerAvailability";
|
|
441
|
+
const _BCLAR = "BatchCheckLayerAvailabilityRequest";
|
|
442
|
+
const _BCLARa = "BatchCheckLayerAvailabilityResponse";
|
|
443
|
+
const _BDI = "BatchDeleteImage";
|
|
444
|
+
const _BDIR = "BatchDeleteImageRequest";
|
|
445
|
+
const _BDIRa = "BatchDeleteImageResponse";
|
|
446
|
+
const _CLU = "CompleteLayerUpload";
|
|
447
|
+
const _CLUR = "CompleteLayerUploadRequest";
|
|
448
|
+
const _CLURo = "CompleteLayerUploadResponse";
|
|
449
|
+
const _CR = "CreateRepository";
|
|
450
|
+
const _CRR = "CreateRepositoryRequest";
|
|
451
|
+
const _CRRr = "CreateRepositoryResponse";
|
|
452
|
+
const _DI = "DescribeImages";
|
|
453
|
+
const _DIR = "DescribeImagesRequest";
|
|
454
|
+
const _DIRe = "DescribeImagesResponse";
|
|
455
|
+
const _DIT = "DescribeImageTags";
|
|
456
|
+
const _DITR = "DescribeImageTagsRequest";
|
|
457
|
+
const _DITRe = "DescribeImageTagsResponse";
|
|
458
|
+
const _DR = "DeleteRepository";
|
|
459
|
+
const _DRP = "DeleteRepositoryPolicy";
|
|
460
|
+
const _DRPR = "DeleteRepositoryPolicyRequest";
|
|
461
|
+
const _DRPRe = "DeleteRepositoryPolicyResponse";
|
|
462
|
+
const _DRR = "DeleteRepositoryRequest";
|
|
463
|
+
const _DRRe = "DeleteRepositoryResponse";
|
|
464
|
+
const _DRRes = "DescribeRegistriesRequest";
|
|
465
|
+
const _DRResc = "DescribeRegistriesResponse";
|
|
466
|
+
const _DRRescr = "DescribeRepositoriesRequest";
|
|
467
|
+
const _DRRescri = "DescribeRepositoriesResponse";
|
|
468
|
+
const _DRe = "DescribeRegistries";
|
|
469
|
+
const _DRes = "DescribeRepositories";
|
|
470
|
+
const _EUE = "EmptyUploadException";
|
|
471
|
+
const _GAT = "GetAuthorizationToken";
|
|
472
|
+
const _GATR = "GetAuthorizationTokenRequest";
|
|
473
|
+
const _GATRe = "GetAuthorizationTokenResponse";
|
|
474
|
+
const _GRCD = "GetRegistryCatalogData";
|
|
475
|
+
const _GRCDR = "GetRegistryCatalogDataRequest";
|
|
476
|
+
const _GRCDRe = "GetRegistryCatalogDataResponse";
|
|
477
|
+
const _GRCDRet = "GetRepositoryCatalogDataRequest";
|
|
478
|
+
const _GRCDRete = "GetRepositoryCatalogDataResponse";
|
|
479
|
+
const _GRCDe = "GetRepositoryCatalogData";
|
|
480
|
+
const _GRP = "GetRepositoryPolicy";
|
|
481
|
+
const _GRPR = "GetRepositoryPolicyRequest";
|
|
482
|
+
const _GRPRe = "GetRepositoryPolicyResponse";
|
|
483
|
+
const _I = "Image";
|
|
484
|
+
const _IAEE = "ImageAlreadyExistsException";
|
|
485
|
+
const _ID = "ImageDetail";
|
|
486
|
+
const _IDDNME = "ImageDigestDoesNotMatchException";
|
|
487
|
+
const _IDL = "ImageDetailList";
|
|
488
|
+
const _IF = "ImageFailure";
|
|
489
|
+
const _IFL = "ImageFailureList";
|
|
490
|
+
const _II = "ImageIdentifier";
|
|
491
|
+
const _IIL = "ImageIdentifierList";
|
|
492
|
+
const _ILE = "InvalidLayerException";
|
|
493
|
+
const _ILPE = "InvalidLayerPartException";
|
|
494
|
+
const _ILU = "InitiateLayerUpload";
|
|
495
|
+
const _ILUR = "InitiateLayerUploadRequest";
|
|
496
|
+
const _ILURn = "InitiateLayerUploadResponse";
|
|
497
|
+
const _INFE = "ImageNotFoundException";
|
|
498
|
+
const _IPE = "InvalidParameterException";
|
|
499
|
+
const _ITAEE = "ImageTagAlreadyExistsException";
|
|
500
|
+
const _ITD = "ImageTagDetail";
|
|
501
|
+
const _ITDL = "ImageTagDetailList";
|
|
502
|
+
const _ITPE = "InvalidTagParameterException";
|
|
503
|
+
const _K = "Key";
|
|
504
|
+
const _L = "Layer";
|
|
505
|
+
const _LAEE = "LayerAlreadyExistsException";
|
|
506
|
+
const _LEE = "LimitExceededException";
|
|
507
|
+
const _LF = "LayerFailure";
|
|
508
|
+
const _LFL = "LayerFailureList";
|
|
509
|
+
const _LL = "LayerList";
|
|
510
|
+
const _LNFE = "LayersNotFoundException";
|
|
511
|
+
const _LPTSE = "LayerPartTooSmallException";
|
|
512
|
+
const _LTFR = "ListTagsForResource";
|
|
513
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
514
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
515
|
+
const _PI = "PutImage";
|
|
516
|
+
const _PIR = "PutImageRequest";
|
|
517
|
+
const _PIRu = "PutImageResponse";
|
|
518
|
+
const _PRCD = "PutRegistryCatalogData";
|
|
519
|
+
const _PRCDR = "PutRegistryCatalogDataRequest";
|
|
520
|
+
const _PRCDRu = "PutRegistryCatalogDataResponse";
|
|
521
|
+
const _PRCDRut = "PutRepositoryCatalogDataRequest";
|
|
522
|
+
const _PRCDRute = "PutRepositoryCatalogDataResponse";
|
|
523
|
+
const _PRCDu = "PutRepositoryCatalogData";
|
|
524
|
+
const _R = "Registry";
|
|
525
|
+
const _RA = "RegistryAlias";
|
|
526
|
+
const _RAEE = "RepositoryAlreadyExistsException";
|
|
527
|
+
const _RAL = "RegistryAliasList";
|
|
528
|
+
const _RCD = "RegistryCatalogData";
|
|
529
|
+
const _RCDI = "RepositoryCatalogDataInput";
|
|
530
|
+
const _RCDNFE = "RepositoryCatalogDataNotFoundException";
|
|
531
|
+
const _RCDe = "RepositoryCatalogData";
|
|
532
|
+
const _RID = "ReferencedImageDetail";
|
|
533
|
+
const _RINFE = "ReferencedImagesNotFoundException";
|
|
534
|
+
const _RL = "RegistryList";
|
|
535
|
+
const _RLe = "RepositoryList";
|
|
536
|
+
const _RNEE = "RepositoryNotEmptyException";
|
|
537
|
+
const _RNFE = "RegistryNotFoundException";
|
|
538
|
+
const _RNFEe = "RepositoryNotFoundException";
|
|
539
|
+
const _RPNFE = "RepositoryPolicyNotFoundException";
|
|
540
|
+
const _Re = "Repository";
|
|
541
|
+
const _SE = "ServerException";
|
|
542
|
+
const _SRP = "SetRepositoryPolicy";
|
|
543
|
+
const _SRPR = "SetRepositoryPolicyRequest";
|
|
544
|
+
const _SRPRe = "SetRepositoryPolicyResponse";
|
|
545
|
+
const _T = "Tag";
|
|
546
|
+
const _TL = "TagList";
|
|
547
|
+
const _TMTE = "TooManyTagsException";
|
|
548
|
+
const _TR = "TagResource";
|
|
549
|
+
const _TRR = "TagResourceRequest";
|
|
550
|
+
const _TRRa = "TagResourceResponse";
|
|
551
|
+
const _UCE = "UnsupportedCommandException";
|
|
552
|
+
const _ULP = "UploadLayerPart";
|
|
553
|
+
const _ULPR = "UploadLayerPartRequest";
|
|
554
|
+
const _ULPRp = "UploadLayerPartResponse";
|
|
555
|
+
const _UNFE = "UploadNotFoundException";
|
|
556
|
+
const _UR = "UntagResource";
|
|
557
|
+
const _URR = "UntagResourceRequest";
|
|
558
|
+
const _URRn = "UntagResourceResponse";
|
|
559
|
+
const _V = "Value";
|
|
560
|
+
const _a = "aliases";
|
|
561
|
+
const _aD = "authorizationData";
|
|
562
|
+
const _aMT = "artifactMediaType";
|
|
563
|
+
const _aT = "authorizationToken";
|
|
564
|
+
const _aTb = "aboutText";
|
|
565
|
+
const _ar = "architectures";
|
|
566
|
+
const _c = "client";
|
|
567
|
+
const _cA = "createdAt";
|
|
568
|
+
const _cD = "catalogData";
|
|
569
|
+
const _d = "description";
|
|
570
|
+
const _dN = "displayName";
|
|
571
|
+
const _dRA = "defaultRegistryAlias";
|
|
572
|
+
const _e = "error";
|
|
573
|
+
const _eA = "expiresAt";
|
|
574
|
+
const _f = "failures";
|
|
575
|
+
const _fC = "failureCode";
|
|
576
|
+
const _fR = "failureReason";
|
|
577
|
+
const _fo = "force";
|
|
578
|
+
const _i = "image";
|
|
579
|
+
const _iD = "imageDetails";
|
|
580
|
+
const _iDm = "imageDigest";
|
|
581
|
+
const _iDma = "imageDetail";
|
|
582
|
+
const _iI = "imageIds";
|
|
583
|
+
const _iIm = "imageId";
|
|
584
|
+
const _iM = "imageManifest";
|
|
585
|
+
const _iMMT = "imageManifestMediaType";
|
|
586
|
+
const _iPA = "imagePushedAt";
|
|
587
|
+
const _iSIB = "imageSizeInBytes";
|
|
588
|
+
const _iT = "imageTags";
|
|
589
|
+
const _iTD = "imageTagDetails";
|
|
590
|
+
const _iTm = "imageTag";
|
|
591
|
+
const _l = "layers";
|
|
592
|
+
const _lA = "layerAvailability";
|
|
593
|
+
const _lBR = "lastByteReceived";
|
|
594
|
+
const _lD = "layerDigests";
|
|
595
|
+
const _lDa = "layerDigest";
|
|
596
|
+
const _lIB = "logoImageBlob";
|
|
597
|
+
const _lPB = "layerPartBlob";
|
|
598
|
+
const _lS = "layerSize";
|
|
599
|
+
const _lU = "logoUrl";
|
|
600
|
+
const _lVBR = "lastValidByteReceived";
|
|
601
|
+
const _m = "message";
|
|
602
|
+
const _mC = "marketplaceCertified";
|
|
603
|
+
const _mR = "maxResults";
|
|
604
|
+
const _mT = "mediaType";
|
|
605
|
+
const _n = "name";
|
|
606
|
+
const _nT = "nextToken";
|
|
607
|
+
const _oS = "operatingSystems";
|
|
608
|
+
const _pFB = "partFirstByte";
|
|
609
|
+
const _pLB = "partLastByte";
|
|
610
|
+
const _pRA = "primaryRegistryAlias";
|
|
611
|
+
const _pS = "partSize";
|
|
612
|
+
const _pT = "policyText";
|
|
613
|
+
const _r = "repository";
|
|
614
|
+
const _rA = "resourceArn";
|
|
615
|
+
const _rAe = "registryArn";
|
|
616
|
+
const _rAep = "repositoryArn";
|
|
617
|
+
const _rCD = "registryCatalogData";
|
|
618
|
+
const _rI = "registryId";
|
|
619
|
+
const _rN = "repositoryName";
|
|
620
|
+
const _rNe = "repositoryNames";
|
|
621
|
+
const _rU = "registryUri";
|
|
622
|
+
const _rUe = "repositoryUri";
|
|
623
|
+
const _re = "registries";
|
|
624
|
+
const _rep = "repositories";
|
|
625
|
+
const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ecrpublic";
|
|
626
|
+
const _se = "server";
|
|
627
|
+
const _st = "status";
|
|
628
|
+
const _t = "tags";
|
|
629
|
+
const _tK = "tagKeys";
|
|
630
|
+
const _uI = "uploadId";
|
|
631
|
+
const _uT = "usageText";
|
|
632
|
+
const _v = "verified";
|
|
633
|
+
const n0 = "com.amazonaws.ecrpublic";
|
|
634
|
+
const _s_registry = TypeRegistry.for(_s);
|
|
635
|
+
var ECRPUBLICServiceException$ = [-3, _s, "ECRPUBLICServiceException", 0, [], []];
|
|
636
|
+
_s_registry.registerError(ECRPUBLICServiceException$, ECRPUBLICServiceException);
|
|
637
|
+
const n0_registry = TypeRegistry.for(n0);
|
|
638
|
+
var EmptyUploadException$ = [-3, n0, _EUE,
|
|
639
|
+
{ [_e]: _c },
|
|
640
|
+
[_m],
|
|
641
|
+
[0]
|
|
642
|
+
];
|
|
643
|
+
n0_registry.registerError(EmptyUploadException$, EmptyUploadException);
|
|
644
|
+
var ImageAlreadyExistsException$ = [-3, n0, _IAEE,
|
|
645
|
+
{ [_e]: _c },
|
|
646
|
+
[_m],
|
|
647
|
+
[0]
|
|
648
|
+
];
|
|
649
|
+
n0_registry.registerError(ImageAlreadyExistsException$, ImageAlreadyExistsException);
|
|
650
|
+
var ImageDigestDoesNotMatchException$ = [-3, n0, _IDDNME,
|
|
651
|
+
{ [_e]: _c },
|
|
652
|
+
[_m],
|
|
653
|
+
[0]
|
|
654
|
+
];
|
|
655
|
+
n0_registry.registerError(ImageDigestDoesNotMatchException$, ImageDigestDoesNotMatchException);
|
|
656
|
+
var ImageNotFoundException$ = [-3, n0, _INFE,
|
|
657
|
+
{ [_e]: _c },
|
|
658
|
+
[_m],
|
|
659
|
+
[0]
|
|
660
|
+
];
|
|
661
|
+
n0_registry.registerError(ImageNotFoundException$, ImageNotFoundException);
|
|
662
|
+
var ImageTagAlreadyExistsException$ = [-3, n0, _ITAEE,
|
|
663
|
+
{ [_e]: _c },
|
|
664
|
+
[_m],
|
|
665
|
+
[0]
|
|
666
|
+
];
|
|
667
|
+
n0_registry.registerError(ImageTagAlreadyExistsException$, ImageTagAlreadyExistsException);
|
|
668
|
+
var InvalidLayerException$ = [-3, n0, _ILE,
|
|
669
|
+
{ [_e]: _c },
|
|
670
|
+
[_m],
|
|
671
|
+
[0]
|
|
672
|
+
];
|
|
673
|
+
n0_registry.registerError(InvalidLayerException$, InvalidLayerException);
|
|
674
|
+
var InvalidLayerPartException$ = [-3, n0, _ILPE,
|
|
675
|
+
{ [_e]: _c },
|
|
676
|
+
[_rI, _rN, _uI, _lVBR, _m],
|
|
677
|
+
[0, 0, 0, 1, 0]
|
|
678
|
+
];
|
|
679
|
+
n0_registry.registerError(InvalidLayerPartException$, InvalidLayerPartException);
|
|
680
|
+
var InvalidParameterException$ = [-3, n0, _IPE,
|
|
681
|
+
{ [_e]: _c },
|
|
682
|
+
[_m],
|
|
683
|
+
[0]
|
|
684
|
+
];
|
|
685
|
+
n0_registry.registerError(InvalidParameterException$, InvalidParameterException);
|
|
686
|
+
var InvalidTagParameterException$ = [-3, n0, _ITPE,
|
|
687
|
+
{ [_e]: _c },
|
|
688
|
+
[_m],
|
|
689
|
+
[0]
|
|
690
|
+
];
|
|
691
|
+
n0_registry.registerError(InvalidTagParameterException$, InvalidTagParameterException);
|
|
692
|
+
var LayerAlreadyExistsException$ = [-3, n0, _LAEE,
|
|
693
|
+
{ [_e]: _c },
|
|
694
|
+
[_m],
|
|
695
|
+
[0]
|
|
696
|
+
];
|
|
697
|
+
n0_registry.registerError(LayerAlreadyExistsException$, LayerAlreadyExistsException);
|
|
698
|
+
var LayerPartTooSmallException$ = [-3, n0, _LPTSE,
|
|
699
|
+
{ [_e]: _c },
|
|
700
|
+
[_m],
|
|
701
|
+
[0]
|
|
702
|
+
];
|
|
703
|
+
n0_registry.registerError(LayerPartTooSmallException$, LayerPartTooSmallException);
|
|
704
|
+
var LayersNotFoundException$ = [-3, n0, _LNFE,
|
|
705
|
+
{ [_e]: _c },
|
|
706
|
+
[_m],
|
|
707
|
+
[0]
|
|
708
|
+
];
|
|
709
|
+
n0_registry.registerError(LayersNotFoundException$, LayersNotFoundException);
|
|
710
|
+
var LimitExceededException$ = [-3, n0, _LEE,
|
|
711
|
+
{ [_e]: _c },
|
|
712
|
+
[_m],
|
|
713
|
+
[0]
|
|
714
|
+
];
|
|
715
|
+
n0_registry.registerError(LimitExceededException$, LimitExceededException);
|
|
716
|
+
var ReferencedImagesNotFoundException$ = [-3, n0, _RINFE,
|
|
717
|
+
{ [_e]: _c },
|
|
718
|
+
[_m],
|
|
719
|
+
[0]
|
|
720
|
+
];
|
|
721
|
+
n0_registry.registerError(ReferencedImagesNotFoundException$, ReferencedImagesNotFoundException);
|
|
722
|
+
var RegistryNotFoundException$ = [-3, n0, _RNFE,
|
|
723
|
+
{ [_e]: _c },
|
|
724
|
+
[_m],
|
|
725
|
+
[0]
|
|
726
|
+
];
|
|
727
|
+
n0_registry.registerError(RegistryNotFoundException$, RegistryNotFoundException);
|
|
728
|
+
var RepositoryAlreadyExistsException$ = [-3, n0, _RAEE,
|
|
729
|
+
{ [_e]: _c },
|
|
730
|
+
[_m],
|
|
731
|
+
[0]
|
|
732
|
+
];
|
|
733
|
+
n0_registry.registerError(RepositoryAlreadyExistsException$, RepositoryAlreadyExistsException);
|
|
734
|
+
var RepositoryCatalogDataNotFoundException$ = [-3, n0, _RCDNFE,
|
|
735
|
+
{ [_e]: _c },
|
|
736
|
+
[_m],
|
|
737
|
+
[0]
|
|
738
|
+
];
|
|
739
|
+
n0_registry.registerError(RepositoryCatalogDataNotFoundException$, RepositoryCatalogDataNotFoundException);
|
|
740
|
+
var RepositoryNotEmptyException$ = [-3, n0, _RNEE,
|
|
741
|
+
{ [_e]: _c },
|
|
742
|
+
[_m],
|
|
743
|
+
[0]
|
|
744
|
+
];
|
|
745
|
+
n0_registry.registerError(RepositoryNotEmptyException$, RepositoryNotEmptyException);
|
|
746
|
+
var RepositoryNotFoundException$ = [-3, n0, _RNFEe,
|
|
747
|
+
{ [_e]: _c },
|
|
748
|
+
[_m],
|
|
749
|
+
[0]
|
|
750
|
+
];
|
|
751
|
+
n0_registry.registerError(RepositoryNotFoundException$, RepositoryNotFoundException);
|
|
752
|
+
var RepositoryPolicyNotFoundException$ = [-3, n0, _RPNFE,
|
|
753
|
+
{ [_e]: _c },
|
|
754
|
+
[_m],
|
|
755
|
+
[0]
|
|
756
|
+
];
|
|
757
|
+
n0_registry.registerError(RepositoryPolicyNotFoundException$, RepositoryPolicyNotFoundException);
|
|
758
|
+
var ServerException$ = [-3, n0, _SE,
|
|
759
|
+
{ [_e]: _se },
|
|
760
|
+
[_m],
|
|
761
|
+
[0]
|
|
762
|
+
];
|
|
763
|
+
n0_registry.registerError(ServerException$, ServerException);
|
|
764
|
+
var TooManyTagsException$ = [-3, n0, _TMTE,
|
|
765
|
+
{ [_e]: _c },
|
|
766
|
+
[_m],
|
|
767
|
+
[0]
|
|
768
|
+
];
|
|
769
|
+
n0_registry.registerError(TooManyTagsException$, TooManyTagsException);
|
|
770
|
+
var UnsupportedCommandException$ = [-3, n0, _UCE,
|
|
771
|
+
{ [_e]: _c },
|
|
772
|
+
[_m],
|
|
773
|
+
[0]
|
|
774
|
+
];
|
|
775
|
+
n0_registry.registerError(UnsupportedCommandException$, UnsupportedCommandException);
|
|
776
|
+
var UploadNotFoundException$ = [-3, n0, _UNFE,
|
|
777
|
+
{ [_e]: _c },
|
|
778
|
+
[_m],
|
|
779
|
+
[0]
|
|
780
|
+
];
|
|
781
|
+
n0_registry.registerError(UploadNotFoundException$, UploadNotFoundException);
|
|
782
|
+
const errorTypeRegistries = [
|
|
783
|
+
_s_registry,
|
|
784
|
+
n0_registry,
|
|
785
|
+
];
|
|
786
|
+
var AuthorizationData$ = [3, n0, _AD,
|
|
787
|
+
0,
|
|
788
|
+
[_aT, _eA],
|
|
789
|
+
[0, 4]
|
|
790
|
+
];
|
|
791
|
+
var BatchCheckLayerAvailabilityRequest$ = [3, n0, _BCLAR,
|
|
792
|
+
0,
|
|
793
|
+
[_rN, _lD, _rI],
|
|
794
|
+
[0, 64 | 0, 0], 2
|
|
795
|
+
];
|
|
796
|
+
var BatchCheckLayerAvailabilityResponse$ = [3, n0, _BCLARa,
|
|
797
|
+
0,
|
|
798
|
+
[_l, _f],
|
|
799
|
+
[() => LayerList, () => LayerFailureList]
|
|
800
|
+
];
|
|
801
|
+
var BatchDeleteImageRequest$ = [3, n0, _BDIR,
|
|
802
|
+
0,
|
|
803
|
+
[_rN, _iI, _rI],
|
|
804
|
+
[0, () => ImageIdentifierList, 0], 2
|
|
805
|
+
];
|
|
806
|
+
var BatchDeleteImageResponse$ = [3, n0, _BDIRa,
|
|
807
|
+
0,
|
|
808
|
+
[_iI, _f],
|
|
809
|
+
[() => ImageIdentifierList, () => ImageFailureList]
|
|
810
|
+
];
|
|
811
|
+
var CompleteLayerUploadRequest$ = [3, n0, _CLUR,
|
|
812
|
+
0,
|
|
813
|
+
[_rN, _uI, _lD, _rI],
|
|
814
|
+
[0, 0, 64 | 0, 0], 3
|
|
815
|
+
];
|
|
816
|
+
var CompleteLayerUploadResponse$ = [3, n0, _CLURo,
|
|
817
|
+
0,
|
|
818
|
+
[_rI, _rN, _uI, _lDa],
|
|
819
|
+
[0, 0, 0, 0]
|
|
820
|
+
];
|
|
821
|
+
var CreateRepositoryRequest$ = [3, n0, _CRR,
|
|
822
|
+
0,
|
|
823
|
+
[_rN, _cD, _t],
|
|
824
|
+
[0, () => RepositoryCatalogDataInput$, () => TagList], 1
|
|
825
|
+
];
|
|
826
|
+
var CreateRepositoryResponse$ = [3, n0, _CRRr,
|
|
827
|
+
0,
|
|
828
|
+
[_r, _cD],
|
|
829
|
+
[() => Repository$, () => RepositoryCatalogData$]
|
|
830
|
+
];
|
|
831
|
+
var DeleteRepositoryPolicyRequest$ = [3, n0, _DRPR,
|
|
832
|
+
0,
|
|
833
|
+
[_rN, _rI],
|
|
834
|
+
[0, 0], 1
|
|
835
|
+
];
|
|
836
|
+
var DeleteRepositoryPolicyResponse$ = [3, n0, _DRPRe,
|
|
837
|
+
0,
|
|
838
|
+
[_rI, _rN, _pT],
|
|
839
|
+
[0, 0, 0]
|
|
840
|
+
];
|
|
841
|
+
var DeleteRepositoryRequest$ = [3, n0, _DRR,
|
|
842
|
+
0,
|
|
843
|
+
[_rN, _rI, _fo],
|
|
844
|
+
[0, 0, 2], 1
|
|
845
|
+
];
|
|
846
|
+
var DeleteRepositoryResponse$ = [3, n0, _DRRe,
|
|
847
|
+
0,
|
|
848
|
+
[_r],
|
|
849
|
+
[() => Repository$]
|
|
850
|
+
];
|
|
851
|
+
var DescribeImagesRequest$ = [3, n0, _DIR,
|
|
852
|
+
0,
|
|
853
|
+
[_rN, _rI, _iI, _nT, _mR],
|
|
854
|
+
[0, 0, () => ImageIdentifierList, 0, 1], 1
|
|
855
|
+
];
|
|
856
|
+
var DescribeImagesResponse$ = [3, n0, _DIRe,
|
|
857
|
+
0,
|
|
858
|
+
[_iD, _nT],
|
|
859
|
+
[() => ImageDetailList, 0]
|
|
860
|
+
];
|
|
861
|
+
var DescribeImageTagsRequest$ = [3, n0, _DITR,
|
|
862
|
+
0,
|
|
863
|
+
[_rN, _rI, _nT, _mR],
|
|
864
|
+
[0, 0, 0, 1], 1
|
|
865
|
+
];
|
|
866
|
+
var DescribeImageTagsResponse$ = [3, n0, _DITRe,
|
|
867
|
+
0,
|
|
868
|
+
[_iTD, _nT],
|
|
869
|
+
[() => ImageTagDetailList, 0]
|
|
870
|
+
];
|
|
871
|
+
var DescribeRegistriesRequest$ = [3, n0, _DRRes,
|
|
872
|
+
0,
|
|
873
|
+
[_nT, _mR],
|
|
874
|
+
[0, 1]
|
|
875
|
+
];
|
|
876
|
+
var DescribeRegistriesResponse$ = [3, n0, _DRResc,
|
|
877
|
+
0,
|
|
878
|
+
[_re, _nT],
|
|
879
|
+
[() => RegistryList, 0], 1
|
|
880
|
+
];
|
|
881
|
+
var DescribeRepositoriesRequest$ = [3, n0, _DRRescr,
|
|
882
|
+
0,
|
|
883
|
+
[_rI, _rNe, _nT, _mR],
|
|
884
|
+
[0, 64 | 0, 0, 1]
|
|
885
|
+
];
|
|
886
|
+
var DescribeRepositoriesResponse$ = [3, n0, _DRRescri,
|
|
887
|
+
0,
|
|
888
|
+
[_rep, _nT],
|
|
889
|
+
[() => RepositoryList, 0]
|
|
890
|
+
];
|
|
891
|
+
var GetAuthorizationTokenRequest$ = [3, n0, _GATR,
|
|
892
|
+
0,
|
|
893
|
+
[],
|
|
894
|
+
[]
|
|
895
|
+
];
|
|
896
|
+
var GetAuthorizationTokenResponse$ = [3, n0, _GATRe,
|
|
897
|
+
0,
|
|
898
|
+
[_aD],
|
|
899
|
+
[() => AuthorizationData$]
|
|
900
|
+
];
|
|
901
|
+
var GetRegistryCatalogDataRequest$ = [3, n0, _GRCDR,
|
|
902
|
+
0,
|
|
903
|
+
[],
|
|
904
|
+
[]
|
|
905
|
+
];
|
|
906
|
+
var GetRegistryCatalogDataResponse$ = [3, n0, _GRCDRe,
|
|
907
|
+
0,
|
|
908
|
+
[_rCD],
|
|
909
|
+
[() => RegistryCatalogData$], 1
|
|
910
|
+
];
|
|
911
|
+
var GetRepositoryCatalogDataRequest$ = [3, n0, _GRCDRet,
|
|
912
|
+
0,
|
|
913
|
+
[_rN, _rI],
|
|
914
|
+
[0, 0], 1
|
|
915
|
+
];
|
|
916
|
+
var GetRepositoryCatalogDataResponse$ = [3, n0, _GRCDRete,
|
|
917
|
+
0,
|
|
918
|
+
[_cD],
|
|
919
|
+
[() => RepositoryCatalogData$]
|
|
920
|
+
];
|
|
921
|
+
var GetRepositoryPolicyRequest$ = [3, n0, _GRPR,
|
|
922
|
+
0,
|
|
923
|
+
[_rN, _rI],
|
|
924
|
+
[0, 0], 1
|
|
925
|
+
];
|
|
926
|
+
var GetRepositoryPolicyResponse$ = [3, n0, _GRPRe,
|
|
927
|
+
0,
|
|
928
|
+
[_rI, _rN, _pT],
|
|
929
|
+
[0, 0, 0]
|
|
930
|
+
];
|
|
931
|
+
var Image$ = [3, n0, _I,
|
|
932
|
+
0,
|
|
933
|
+
[_rI, _rN, _iIm, _iM, _iMMT],
|
|
934
|
+
[0, 0, () => ImageIdentifier$, 0, 0]
|
|
935
|
+
];
|
|
936
|
+
var ImageDetail$ = [3, n0, _ID,
|
|
937
|
+
0,
|
|
938
|
+
[_rI, _rN, _iDm, _iT, _iSIB, _iPA, _iMMT, _aMT],
|
|
939
|
+
[0, 0, 0, 64 | 0, 1, 4, 0, 0]
|
|
940
|
+
];
|
|
941
|
+
var ImageFailure$ = [3, n0, _IF,
|
|
942
|
+
0,
|
|
943
|
+
[_iIm, _fC, _fR],
|
|
944
|
+
[() => ImageIdentifier$, 0, 0]
|
|
945
|
+
];
|
|
946
|
+
var ImageIdentifier$ = [3, n0, _II,
|
|
947
|
+
0,
|
|
948
|
+
[_iDm, _iTm],
|
|
949
|
+
[0, 0]
|
|
950
|
+
];
|
|
951
|
+
var ImageTagDetail$ = [3, n0, _ITD,
|
|
952
|
+
0,
|
|
953
|
+
[_iTm, _cA, _iDma],
|
|
954
|
+
[0, 4, () => ReferencedImageDetail$]
|
|
955
|
+
];
|
|
956
|
+
var InitiateLayerUploadRequest$ = [3, n0, _ILUR,
|
|
957
|
+
0,
|
|
958
|
+
[_rN, _rI],
|
|
959
|
+
[0, 0], 1
|
|
960
|
+
];
|
|
961
|
+
var InitiateLayerUploadResponse$ = [3, n0, _ILURn,
|
|
962
|
+
0,
|
|
963
|
+
[_uI, _pS],
|
|
964
|
+
[0, 1]
|
|
965
|
+
];
|
|
966
|
+
var Layer$ = [3, n0, _L,
|
|
967
|
+
0,
|
|
968
|
+
[_lDa, _lA, _lS, _mT],
|
|
969
|
+
[0, 0, 1, 0]
|
|
970
|
+
];
|
|
971
|
+
var LayerFailure$ = [3, n0, _LF,
|
|
972
|
+
0,
|
|
973
|
+
[_lDa, _fC, _fR],
|
|
974
|
+
[0, 0, 0]
|
|
975
|
+
];
|
|
976
|
+
var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
|
|
977
|
+
0,
|
|
978
|
+
[_rA],
|
|
979
|
+
[0], 1
|
|
980
|
+
];
|
|
981
|
+
var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
|
|
982
|
+
0,
|
|
983
|
+
[_t],
|
|
984
|
+
[() => TagList]
|
|
985
|
+
];
|
|
986
|
+
var PutImageRequest$ = [3, n0, _PIR,
|
|
987
|
+
0,
|
|
988
|
+
[_rN, _iM, _rI, _iMMT, _iTm, _iDm],
|
|
989
|
+
[0, 0, 0, 0, 0, 0], 2
|
|
990
|
+
];
|
|
991
|
+
var PutImageResponse$ = [3, n0, _PIRu,
|
|
992
|
+
0,
|
|
993
|
+
[_i],
|
|
994
|
+
[() => Image$]
|
|
995
|
+
];
|
|
996
|
+
var PutRegistryCatalogDataRequest$ = [3, n0, _PRCDR,
|
|
997
|
+
0,
|
|
998
|
+
[_dN],
|
|
999
|
+
[0]
|
|
1000
|
+
];
|
|
1001
|
+
var PutRegistryCatalogDataResponse$ = [3, n0, _PRCDRu,
|
|
1002
|
+
0,
|
|
1003
|
+
[_rCD],
|
|
1004
|
+
[() => RegistryCatalogData$], 1
|
|
1005
|
+
];
|
|
1006
|
+
var PutRepositoryCatalogDataRequest$ = [3, n0, _PRCDRut,
|
|
1007
|
+
0,
|
|
1008
|
+
[_rN, _cD, _rI],
|
|
1009
|
+
[0, () => RepositoryCatalogDataInput$, 0], 2
|
|
1010
|
+
];
|
|
1011
|
+
var PutRepositoryCatalogDataResponse$ = [3, n0, _PRCDRute,
|
|
1012
|
+
0,
|
|
1013
|
+
[_cD],
|
|
1014
|
+
[() => RepositoryCatalogData$]
|
|
1015
|
+
];
|
|
1016
|
+
var ReferencedImageDetail$ = [3, n0, _RID,
|
|
1017
|
+
0,
|
|
1018
|
+
[_iDm, _iSIB, _iPA, _iMMT, _aMT],
|
|
1019
|
+
[0, 1, 4, 0, 0]
|
|
1020
|
+
];
|
|
1021
|
+
var Registry$ = [3, n0, _R,
|
|
1022
|
+
0,
|
|
1023
|
+
[_rI, _rAe, _rU, _v, _a],
|
|
1024
|
+
[0, 0, 0, 2, () => RegistryAliasList], 5
|
|
1025
|
+
];
|
|
1026
|
+
var RegistryAlias$ = [3, n0, _RA,
|
|
1027
|
+
0,
|
|
1028
|
+
[_n, _st, _pRA, _dRA],
|
|
1029
|
+
[0, 0, 2, 2], 4
|
|
1030
|
+
];
|
|
1031
|
+
var RegistryCatalogData$ = [3, n0, _RCD,
|
|
1032
|
+
0,
|
|
1033
|
+
[_dN],
|
|
1034
|
+
[0]
|
|
1035
|
+
];
|
|
1036
|
+
var Repository$ = [3, n0, _Re,
|
|
1037
|
+
0,
|
|
1038
|
+
[_rAep, _rI, _rN, _rUe, _cA],
|
|
1039
|
+
[0, 0, 0, 0, 4]
|
|
1040
|
+
];
|
|
1041
|
+
var RepositoryCatalogData$ = [3, n0, _RCDe,
|
|
1042
|
+
0,
|
|
1043
|
+
[_d, _ar, _oS, _lU, _aTb, _uT, _mC],
|
|
1044
|
+
[0, 64 | 0, 64 | 0, 0, 0, 0, 2]
|
|
1045
|
+
];
|
|
1046
|
+
var RepositoryCatalogDataInput$ = [3, n0, _RCDI,
|
|
1047
|
+
0,
|
|
1048
|
+
[_d, _ar, _oS, _lIB, _aTb, _uT],
|
|
1049
|
+
[0, 64 | 0, 64 | 0, 21, 0, 0]
|
|
1050
|
+
];
|
|
1051
|
+
var SetRepositoryPolicyRequest$ = [3, n0, _SRPR,
|
|
1052
|
+
0,
|
|
1053
|
+
[_rN, _pT, _rI, _fo],
|
|
1054
|
+
[0, 0, 0, 2], 2
|
|
1055
|
+
];
|
|
1056
|
+
var SetRepositoryPolicyResponse$ = [3, n0, _SRPRe,
|
|
1057
|
+
0,
|
|
1058
|
+
[_rI, _rN, _pT],
|
|
1059
|
+
[0, 0, 0]
|
|
1060
|
+
];
|
|
1061
|
+
var Tag$ = [3, n0, _T,
|
|
1062
|
+
0,
|
|
1063
|
+
[_K, _V],
|
|
1064
|
+
[0, 0]
|
|
1065
|
+
];
|
|
1066
|
+
var TagResourceRequest$ = [3, n0, _TRR,
|
|
1067
|
+
0,
|
|
1068
|
+
[_rA, _t],
|
|
1069
|
+
[0, () => TagList], 2
|
|
1070
|
+
];
|
|
1071
|
+
var TagResourceResponse$ = [3, n0, _TRRa,
|
|
1072
|
+
0,
|
|
1073
|
+
[],
|
|
1074
|
+
[]
|
|
1075
|
+
];
|
|
1076
|
+
var UntagResourceRequest$ = [3, n0, _URR,
|
|
1077
|
+
0,
|
|
1078
|
+
[_rA, _tK],
|
|
1079
|
+
[0, 64 | 0], 2
|
|
1080
|
+
];
|
|
1081
|
+
var UntagResourceResponse$ = [3, n0, _URRn,
|
|
1082
|
+
0,
|
|
1083
|
+
[],
|
|
1084
|
+
[]
|
|
1085
|
+
];
|
|
1086
|
+
var UploadLayerPartRequest$ = [3, n0, _ULPR,
|
|
1087
|
+
0,
|
|
1088
|
+
[_rN, _uI, _pFB, _pLB, _lPB, _rI],
|
|
1089
|
+
[0, 0, 1, 1, 21, 0], 5
|
|
1090
|
+
];
|
|
1091
|
+
var UploadLayerPartResponse$ = [3, n0, _ULPRp,
|
|
1092
|
+
0,
|
|
1093
|
+
[_rI, _rN, _uI, _lBR],
|
|
1094
|
+
[0, 0, 0, 1]
|
|
1095
|
+
];
|
|
1096
|
+
var ImageDetailList = [1, n0, _IDL,
|
|
1097
|
+
0, () => ImageDetail$
|
|
1098
|
+
];
|
|
1099
|
+
var ImageFailureList = [1, n0, _IFL,
|
|
1100
|
+
0, () => ImageFailure$
|
|
1101
|
+
];
|
|
1102
|
+
var ImageIdentifierList = [1, n0, _IIL,
|
|
1103
|
+
0, () => ImageIdentifier$
|
|
1104
|
+
];
|
|
1105
|
+
var ImageTagDetailList = [1, n0, _ITDL,
|
|
1106
|
+
0, () => ImageTagDetail$
|
|
1107
|
+
];
|
|
1108
|
+
var LayerFailureList = [1, n0, _LFL,
|
|
1109
|
+
0, () => LayerFailure$
|
|
1110
|
+
];
|
|
1111
|
+
var LayerList = [1, n0, _LL,
|
|
1112
|
+
0, () => Layer$
|
|
1113
|
+
];
|
|
1114
|
+
var RegistryAliasList = [1, n0, _RAL,
|
|
1115
|
+
0, () => RegistryAlias$
|
|
1116
|
+
];
|
|
1117
|
+
var RegistryList = [1, n0, _RL,
|
|
1118
|
+
0, () => Registry$
|
|
1119
|
+
];
|
|
1120
|
+
var RepositoryList = [1, n0, _RLe,
|
|
1121
|
+
0, () => Repository$
|
|
1122
|
+
];
|
|
1123
|
+
var TagList = [1, n0, _TL,
|
|
1124
|
+
0, () => Tag$
|
|
1125
|
+
];
|
|
1126
|
+
var BatchCheckLayerAvailability$ = [9, n0, _BCLA,
|
|
1127
|
+
0, () => BatchCheckLayerAvailabilityRequest$, () => BatchCheckLayerAvailabilityResponse$
|
|
1128
|
+
];
|
|
1129
|
+
var BatchDeleteImage$ = [9, n0, _BDI,
|
|
1130
|
+
0, () => BatchDeleteImageRequest$, () => BatchDeleteImageResponse$
|
|
1131
|
+
];
|
|
1132
|
+
var CompleteLayerUpload$ = [9, n0, _CLU,
|
|
1133
|
+
0, () => CompleteLayerUploadRequest$, () => CompleteLayerUploadResponse$
|
|
1134
|
+
];
|
|
1135
|
+
var CreateRepository$ = [9, n0, _CR,
|
|
1136
|
+
0, () => CreateRepositoryRequest$, () => CreateRepositoryResponse$
|
|
1137
|
+
];
|
|
1138
|
+
var DeleteRepository$ = [9, n0, _DR,
|
|
1139
|
+
0, () => DeleteRepositoryRequest$, () => DeleteRepositoryResponse$
|
|
1140
|
+
];
|
|
1141
|
+
var DeleteRepositoryPolicy$ = [9, n0, _DRP,
|
|
1142
|
+
0, () => DeleteRepositoryPolicyRequest$, () => DeleteRepositoryPolicyResponse$
|
|
1143
|
+
];
|
|
1144
|
+
var DescribeImages$ = [9, n0, _DI,
|
|
1145
|
+
0, () => DescribeImagesRequest$, () => DescribeImagesResponse$
|
|
1146
|
+
];
|
|
1147
|
+
var DescribeImageTags$ = [9, n0, _DIT,
|
|
1148
|
+
0, () => DescribeImageTagsRequest$, () => DescribeImageTagsResponse$
|
|
1149
|
+
];
|
|
1150
|
+
var DescribeRegistries$ = [9, n0, _DRe,
|
|
1151
|
+
0, () => DescribeRegistriesRequest$, () => DescribeRegistriesResponse$
|
|
1152
|
+
];
|
|
1153
|
+
var DescribeRepositories$ = [9, n0, _DRes,
|
|
1154
|
+
0, () => DescribeRepositoriesRequest$, () => DescribeRepositoriesResponse$
|
|
1155
|
+
];
|
|
1156
|
+
var GetAuthorizationToken$ = [9, n0, _GAT,
|
|
1157
|
+
0, () => GetAuthorizationTokenRequest$, () => GetAuthorizationTokenResponse$
|
|
1158
|
+
];
|
|
1159
|
+
var GetRegistryCatalogData$ = [9, n0, _GRCD,
|
|
1160
|
+
0, () => GetRegistryCatalogDataRequest$, () => GetRegistryCatalogDataResponse$
|
|
1161
|
+
];
|
|
1162
|
+
var GetRepositoryCatalogData$ = [9, n0, _GRCDe,
|
|
1163
|
+
0, () => GetRepositoryCatalogDataRequest$, () => GetRepositoryCatalogDataResponse$
|
|
1164
|
+
];
|
|
1165
|
+
var GetRepositoryPolicy$ = [9, n0, _GRP,
|
|
1166
|
+
0, () => GetRepositoryPolicyRequest$, () => GetRepositoryPolicyResponse$
|
|
1167
|
+
];
|
|
1168
|
+
var InitiateLayerUpload$ = [9, n0, _ILU,
|
|
1169
|
+
0, () => InitiateLayerUploadRequest$, () => InitiateLayerUploadResponse$
|
|
1170
|
+
];
|
|
1171
|
+
var ListTagsForResource$ = [9, n0, _LTFR,
|
|
1172
|
+
0, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
|
|
1173
|
+
];
|
|
1174
|
+
var PutImage$ = [9, n0, _PI,
|
|
1175
|
+
0, () => PutImageRequest$, () => PutImageResponse$
|
|
1176
|
+
];
|
|
1177
|
+
var PutRegistryCatalogData$ = [9, n0, _PRCD,
|
|
1178
|
+
0, () => PutRegistryCatalogDataRequest$, () => PutRegistryCatalogDataResponse$
|
|
1179
|
+
];
|
|
1180
|
+
var PutRepositoryCatalogData$ = [9, n0, _PRCDu,
|
|
1181
|
+
0, () => PutRepositoryCatalogDataRequest$, () => PutRepositoryCatalogDataResponse$
|
|
1182
|
+
];
|
|
1183
|
+
var SetRepositoryPolicy$ = [9, n0, _SRP,
|
|
1184
|
+
0, () => SetRepositoryPolicyRequest$, () => SetRepositoryPolicyResponse$
|
|
1185
|
+
];
|
|
1186
|
+
var TagResource$ = [9, n0, _TR,
|
|
1187
|
+
0, () => TagResourceRequest$, () => TagResourceResponse$
|
|
1188
|
+
];
|
|
1189
|
+
var UntagResource$ = [9, n0, _UR,
|
|
1190
|
+
0, () => UntagResourceRequest$, () => UntagResourceResponse$
|
|
1191
|
+
];
|
|
1192
|
+
var UploadLayerPart$ = [9, n0, _ULP,
|
|
1193
|
+
0, () => UploadLayerPartRequest$, () => UploadLayerPartResponse$
|
|
1194
|
+
];
|
|
1195
|
+
|
|
1196
|
+
const getRuntimeConfig$1 = (config) => {
|
|
1197
|
+
return {
|
|
1198
|
+
apiVersion: "2020-10-30",
|
|
1199
|
+
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
1200
|
+
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
1201
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
1202
|
+
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
1203
|
+
extensions: config?.extensions ?? [],
|
|
1204
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultECRPUBLICHttpAuthSchemeProvider,
|
|
1205
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
1206
|
+
{
|
|
1207
|
+
schemeId: "aws.auth#sigv4",
|
|
1208
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
1209
|
+
signer: new AwsSdkSigV4Signer(),
|
|
1210
|
+
},
|
|
1211
|
+
],
|
|
1212
|
+
logger: config?.logger ?? new NoOpLogger(),
|
|
1213
|
+
protocol: config?.protocol ?? AwsJson1_1Protocol,
|
|
1214
|
+
protocolSettings: config?.protocolSettings ?? {
|
|
1215
|
+
defaultNamespace: "com.amazonaws.ecrpublic",
|
|
1216
|
+
errorTypeRegistries,
|
|
1217
|
+
xmlNamespace: "http://ecr-public.amazonaws.com/doc/2020-12-02/",
|
|
1218
|
+
version: "2020-10-30",
|
|
1219
|
+
serviceTarget: "SpencerFrontendService",
|
|
1220
|
+
},
|
|
1221
|
+
serviceId: config?.serviceId ?? "ECR PUBLIC",
|
|
1222
|
+
urlParser: config?.urlParser ?? parseUrl,
|
|
1223
|
+
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
1224
|
+
utf8Encoder: config?.utf8Encoder ?? toUtf8,
|
|
1225
|
+
};
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1228
|
+
const getRuntimeConfig = (config) => {
|
|
1229
|
+
emitWarningIfUnsupportedVersion(process.version);
|
|
1230
|
+
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
1231
|
+
const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
|
|
1232
|
+
const clientSharedValues = getRuntimeConfig$1(config);
|
|
1233
|
+
emitWarningIfUnsupportedVersion$1(process.version);
|
|
1234
|
+
const loaderConfig = {
|
|
1235
|
+
profile: config?.profile,
|
|
1236
|
+
logger: clientSharedValues.logger,
|
|
1237
|
+
};
|
|
1238
|
+
return {
|
|
1239
|
+
...clientSharedValues,
|
|
1240
|
+
...config,
|
|
1241
|
+
runtime: "node",
|
|
1242
|
+
defaultsMode,
|
|
1243
|
+
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
1244
|
+
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
1245
|
+
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
1246
|
+
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
1247
|
+
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
1248
|
+
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
1249
|
+
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
1250
|
+
retryMode: config?.retryMode ??
|
|
1251
|
+
loadConfig({
|
|
1252
|
+
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
1253
|
+
default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
|
|
1254
|
+
}, config),
|
|
1255
|
+
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
1256
|
+
streamCollector: config?.streamCollector ?? streamCollector,
|
|
1257
|
+
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1258
|
+
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
1259
|
+
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
|
|
1260
|
+
};
|
|
1261
|
+
};
|
|
1262
|
+
|
|
34
1263
|
const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
35
1264
|
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
36
1265
|
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
@@ -453,35 +1682,171 @@ const RegistryAliasStatus = {
|
|
|
453
1682
|
REJECTED: "REJECTED",
|
|
454
1683
|
};
|
|
455
1684
|
|
|
1685
|
+
exports.AuthorizationData$ = AuthorizationData$;
|
|
1686
|
+
exports.BatchCheckLayerAvailability$ = BatchCheckLayerAvailability$;
|
|
456
1687
|
exports.BatchCheckLayerAvailabilityCommand = BatchCheckLayerAvailabilityCommand;
|
|
1688
|
+
exports.BatchCheckLayerAvailabilityRequest$ = BatchCheckLayerAvailabilityRequest$;
|
|
1689
|
+
exports.BatchCheckLayerAvailabilityResponse$ = BatchCheckLayerAvailabilityResponse$;
|
|
1690
|
+
exports.BatchDeleteImage$ = BatchDeleteImage$;
|
|
457
1691
|
exports.BatchDeleteImageCommand = BatchDeleteImageCommand;
|
|
1692
|
+
exports.BatchDeleteImageRequest$ = BatchDeleteImageRequest$;
|
|
1693
|
+
exports.BatchDeleteImageResponse$ = BatchDeleteImageResponse$;
|
|
1694
|
+
exports.CompleteLayerUpload$ = CompleteLayerUpload$;
|
|
458
1695
|
exports.CompleteLayerUploadCommand = CompleteLayerUploadCommand;
|
|
1696
|
+
exports.CompleteLayerUploadRequest$ = CompleteLayerUploadRequest$;
|
|
1697
|
+
exports.CompleteLayerUploadResponse$ = CompleteLayerUploadResponse$;
|
|
1698
|
+
exports.CreateRepository$ = CreateRepository$;
|
|
459
1699
|
exports.CreateRepositoryCommand = CreateRepositoryCommand;
|
|
1700
|
+
exports.CreateRepositoryRequest$ = CreateRepositoryRequest$;
|
|
1701
|
+
exports.CreateRepositoryResponse$ = CreateRepositoryResponse$;
|
|
1702
|
+
exports.DeleteRepository$ = DeleteRepository$;
|
|
460
1703
|
exports.DeleteRepositoryCommand = DeleteRepositoryCommand;
|
|
1704
|
+
exports.DeleteRepositoryPolicy$ = DeleteRepositoryPolicy$;
|
|
461
1705
|
exports.DeleteRepositoryPolicyCommand = DeleteRepositoryPolicyCommand;
|
|
1706
|
+
exports.DeleteRepositoryPolicyRequest$ = DeleteRepositoryPolicyRequest$;
|
|
1707
|
+
exports.DeleteRepositoryPolicyResponse$ = DeleteRepositoryPolicyResponse$;
|
|
1708
|
+
exports.DeleteRepositoryRequest$ = DeleteRepositoryRequest$;
|
|
1709
|
+
exports.DeleteRepositoryResponse$ = DeleteRepositoryResponse$;
|
|
1710
|
+
exports.DescribeImageTags$ = DescribeImageTags$;
|
|
462
1711
|
exports.DescribeImageTagsCommand = DescribeImageTagsCommand;
|
|
1712
|
+
exports.DescribeImageTagsRequest$ = DescribeImageTagsRequest$;
|
|
1713
|
+
exports.DescribeImageTagsResponse$ = DescribeImageTagsResponse$;
|
|
1714
|
+
exports.DescribeImages$ = DescribeImages$;
|
|
463
1715
|
exports.DescribeImagesCommand = DescribeImagesCommand;
|
|
1716
|
+
exports.DescribeImagesRequest$ = DescribeImagesRequest$;
|
|
1717
|
+
exports.DescribeImagesResponse$ = DescribeImagesResponse$;
|
|
1718
|
+
exports.DescribeRegistries$ = DescribeRegistries$;
|
|
464
1719
|
exports.DescribeRegistriesCommand = DescribeRegistriesCommand;
|
|
1720
|
+
exports.DescribeRegistriesRequest$ = DescribeRegistriesRequest$;
|
|
1721
|
+
exports.DescribeRegistriesResponse$ = DescribeRegistriesResponse$;
|
|
1722
|
+
exports.DescribeRepositories$ = DescribeRepositories$;
|
|
465
1723
|
exports.DescribeRepositoriesCommand = DescribeRepositoriesCommand;
|
|
1724
|
+
exports.DescribeRepositoriesRequest$ = DescribeRepositoriesRequest$;
|
|
1725
|
+
exports.DescribeRepositoriesResponse$ = DescribeRepositoriesResponse$;
|
|
466
1726
|
exports.ECRPUBLIC = ECRPUBLIC;
|
|
467
1727
|
exports.ECRPUBLICClient = ECRPUBLICClient;
|
|
1728
|
+
exports.ECRPUBLICServiceException = ECRPUBLICServiceException;
|
|
1729
|
+
exports.ECRPUBLICServiceException$ = ECRPUBLICServiceException$;
|
|
1730
|
+
exports.EmptyUploadException = EmptyUploadException;
|
|
1731
|
+
exports.EmptyUploadException$ = EmptyUploadException$;
|
|
1732
|
+
exports.GetAuthorizationToken$ = GetAuthorizationToken$;
|
|
468
1733
|
exports.GetAuthorizationTokenCommand = GetAuthorizationTokenCommand;
|
|
1734
|
+
exports.GetAuthorizationTokenRequest$ = GetAuthorizationTokenRequest$;
|
|
1735
|
+
exports.GetAuthorizationTokenResponse$ = GetAuthorizationTokenResponse$;
|
|
1736
|
+
exports.GetRegistryCatalogData$ = GetRegistryCatalogData$;
|
|
469
1737
|
exports.GetRegistryCatalogDataCommand = GetRegistryCatalogDataCommand;
|
|
1738
|
+
exports.GetRegistryCatalogDataRequest$ = GetRegistryCatalogDataRequest$;
|
|
1739
|
+
exports.GetRegistryCatalogDataResponse$ = GetRegistryCatalogDataResponse$;
|
|
1740
|
+
exports.GetRepositoryCatalogData$ = GetRepositoryCatalogData$;
|
|
470
1741
|
exports.GetRepositoryCatalogDataCommand = GetRepositoryCatalogDataCommand;
|
|
1742
|
+
exports.GetRepositoryCatalogDataRequest$ = GetRepositoryCatalogDataRequest$;
|
|
1743
|
+
exports.GetRepositoryCatalogDataResponse$ = GetRepositoryCatalogDataResponse$;
|
|
1744
|
+
exports.GetRepositoryPolicy$ = GetRepositoryPolicy$;
|
|
471
1745
|
exports.GetRepositoryPolicyCommand = GetRepositoryPolicyCommand;
|
|
1746
|
+
exports.GetRepositoryPolicyRequest$ = GetRepositoryPolicyRequest$;
|
|
1747
|
+
exports.GetRepositoryPolicyResponse$ = GetRepositoryPolicyResponse$;
|
|
1748
|
+
exports.Image$ = Image$;
|
|
1749
|
+
exports.ImageAlreadyExistsException = ImageAlreadyExistsException;
|
|
1750
|
+
exports.ImageAlreadyExistsException$ = ImageAlreadyExistsException$;
|
|
1751
|
+
exports.ImageDetail$ = ImageDetail$;
|
|
1752
|
+
exports.ImageDigestDoesNotMatchException = ImageDigestDoesNotMatchException;
|
|
1753
|
+
exports.ImageDigestDoesNotMatchException$ = ImageDigestDoesNotMatchException$;
|
|
1754
|
+
exports.ImageFailure$ = ImageFailure$;
|
|
472
1755
|
exports.ImageFailureCode = ImageFailureCode;
|
|
1756
|
+
exports.ImageIdentifier$ = ImageIdentifier$;
|
|
1757
|
+
exports.ImageNotFoundException = ImageNotFoundException;
|
|
1758
|
+
exports.ImageNotFoundException$ = ImageNotFoundException$;
|
|
1759
|
+
exports.ImageTagAlreadyExistsException = ImageTagAlreadyExistsException;
|
|
1760
|
+
exports.ImageTagAlreadyExistsException$ = ImageTagAlreadyExistsException$;
|
|
1761
|
+
exports.ImageTagDetail$ = ImageTagDetail$;
|
|
1762
|
+
exports.InitiateLayerUpload$ = InitiateLayerUpload$;
|
|
473
1763
|
exports.InitiateLayerUploadCommand = InitiateLayerUploadCommand;
|
|
1764
|
+
exports.InitiateLayerUploadRequest$ = InitiateLayerUploadRequest$;
|
|
1765
|
+
exports.InitiateLayerUploadResponse$ = InitiateLayerUploadResponse$;
|
|
1766
|
+
exports.InvalidLayerException = InvalidLayerException;
|
|
1767
|
+
exports.InvalidLayerException$ = InvalidLayerException$;
|
|
1768
|
+
exports.InvalidLayerPartException = InvalidLayerPartException;
|
|
1769
|
+
exports.InvalidLayerPartException$ = InvalidLayerPartException$;
|
|
1770
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
1771
|
+
exports.InvalidParameterException$ = InvalidParameterException$;
|
|
1772
|
+
exports.InvalidTagParameterException = InvalidTagParameterException;
|
|
1773
|
+
exports.InvalidTagParameterException$ = InvalidTagParameterException$;
|
|
1774
|
+
exports.Layer$ = Layer$;
|
|
1775
|
+
exports.LayerAlreadyExistsException = LayerAlreadyExistsException;
|
|
1776
|
+
exports.LayerAlreadyExistsException$ = LayerAlreadyExistsException$;
|
|
474
1777
|
exports.LayerAvailability = LayerAvailability;
|
|
1778
|
+
exports.LayerFailure$ = LayerFailure$;
|
|
475
1779
|
exports.LayerFailureCode = LayerFailureCode;
|
|
1780
|
+
exports.LayerPartTooSmallException = LayerPartTooSmallException;
|
|
1781
|
+
exports.LayerPartTooSmallException$ = LayerPartTooSmallException$;
|
|
1782
|
+
exports.LayersNotFoundException = LayersNotFoundException;
|
|
1783
|
+
exports.LayersNotFoundException$ = LayersNotFoundException$;
|
|
1784
|
+
exports.LimitExceededException = LimitExceededException;
|
|
1785
|
+
exports.LimitExceededException$ = LimitExceededException$;
|
|
1786
|
+
exports.ListTagsForResource$ = ListTagsForResource$;
|
|
476
1787
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1788
|
+
exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
|
|
1789
|
+
exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
|
|
1790
|
+
exports.PutImage$ = PutImage$;
|
|
477
1791
|
exports.PutImageCommand = PutImageCommand;
|
|
1792
|
+
exports.PutImageRequest$ = PutImageRequest$;
|
|
1793
|
+
exports.PutImageResponse$ = PutImageResponse$;
|
|
1794
|
+
exports.PutRegistryCatalogData$ = PutRegistryCatalogData$;
|
|
478
1795
|
exports.PutRegistryCatalogDataCommand = PutRegistryCatalogDataCommand;
|
|
1796
|
+
exports.PutRegistryCatalogDataRequest$ = PutRegistryCatalogDataRequest$;
|
|
1797
|
+
exports.PutRegistryCatalogDataResponse$ = PutRegistryCatalogDataResponse$;
|
|
1798
|
+
exports.PutRepositoryCatalogData$ = PutRepositoryCatalogData$;
|
|
479
1799
|
exports.PutRepositoryCatalogDataCommand = PutRepositoryCatalogDataCommand;
|
|
1800
|
+
exports.PutRepositoryCatalogDataRequest$ = PutRepositoryCatalogDataRequest$;
|
|
1801
|
+
exports.PutRepositoryCatalogDataResponse$ = PutRepositoryCatalogDataResponse$;
|
|
1802
|
+
exports.ReferencedImageDetail$ = ReferencedImageDetail$;
|
|
1803
|
+
exports.ReferencedImagesNotFoundException = ReferencedImagesNotFoundException;
|
|
1804
|
+
exports.ReferencedImagesNotFoundException$ = ReferencedImagesNotFoundException$;
|
|
1805
|
+
exports.Registry$ = Registry$;
|
|
1806
|
+
exports.RegistryAlias$ = RegistryAlias$;
|
|
480
1807
|
exports.RegistryAliasStatus = RegistryAliasStatus;
|
|
1808
|
+
exports.RegistryCatalogData$ = RegistryCatalogData$;
|
|
1809
|
+
exports.RegistryNotFoundException = RegistryNotFoundException;
|
|
1810
|
+
exports.RegistryNotFoundException$ = RegistryNotFoundException$;
|
|
1811
|
+
exports.Repository$ = Repository$;
|
|
1812
|
+
exports.RepositoryAlreadyExistsException = RepositoryAlreadyExistsException;
|
|
1813
|
+
exports.RepositoryAlreadyExistsException$ = RepositoryAlreadyExistsException$;
|
|
1814
|
+
exports.RepositoryCatalogData$ = RepositoryCatalogData$;
|
|
1815
|
+
exports.RepositoryCatalogDataInput$ = RepositoryCatalogDataInput$;
|
|
1816
|
+
exports.RepositoryCatalogDataNotFoundException = RepositoryCatalogDataNotFoundException;
|
|
1817
|
+
exports.RepositoryCatalogDataNotFoundException$ = RepositoryCatalogDataNotFoundException$;
|
|
1818
|
+
exports.RepositoryNotEmptyException = RepositoryNotEmptyException;
|
|
1819
|
+
exports.RepositoryNotEmptyException$ = RepositoryNotEmptyException$;
|
|
1820
|
+
exports.RepositoryNotFoundException = RepositoryNotFoundException;
|
|
1821
|
+
exports.RepositoryNotFoundException$ = RepositoryNotFoundException$;
|
|
1822
|
+
exports.RepositoryPolicyNotFoundException = RepositoryPolicyNotFoundException;
|
|
1823
|
+
exports.RepositoryPolicyNotFoundException$ = RepositoryPolicyNotFoundException$;
|
|
1824
|
+
exports.ServerException = ServerException;
|
|
1825
|
+
exports.ServerException$ = ServerException$;
|
|
1826
|
+
exports.SetRepositoryPolicy$ = SetRepositoryPolicy$;
|
|
481
1827
|
exports.SetRepositoryPolicyCommand = SetRepositoryPolicyCommand;
|
|
1828
|
+
exports.SetRepositoryPolicyRequest$ = SetRepositoryPolicyRequest$;
|
|
1829
|
+
exports.SetRepositoryPolicyResponse$ = SetRepositoryPolicyResponse$;
|
|
1830
|
+
exports.Tag$ = Tag$;
|
|
1831
|
+
exports.TagResource$ = TagResource$;
|
|
482
1832
|
exports.TagResourceCommand = TagResourceCommand;
|
|
1833
|
+
exports.TagResourceRequest$ = TagResourceRequest$;
|
|
1834
|
+
exports.TagResourceResponse$ = TagResourceResponse$;
|
|
1835
|
+
exports.TooManyTagsException = TooManyTagsException;
|
|
1836
|
+
exports.TooManyTagsException$ = TooManyTagsException$;
|
|
1837
|
+
exports.UnsupportedCommandException = UnsupportedCommandException;
|
|
1838
|
+
exports.UnsupportedCommandException$ = UnsupportedCommandException$;
|
|
1839
|
+
exports.UntagResource$ = UntagResource$;
|
|
483
1840
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
1841
|
+
exports.UntagResourceRequest$ = UntagResourceRequest$;
|
|
1842
|
+
exports.UntagResourceResponse$ = UntagResourceResponse$;
|
|
1843
|
+
exports.UploadLayerPart$ = UploadLayerPart$;
|
|
484
1844
|
exports.UploadLayerPartCommand = UploadLayerPartCommand;
|
|
1845
|
+
exports.UploadLayerPartRequest$ = UploadLayerPartRequest$;
|
|
1846
|
+
exports.UploadLayerPartResponse$ = UploadLayerPartResponse$;
|
|
1847
|
+
exports.UploadNotFoundException = UploadNotFoundException;
|
|
1848
|
+
exports.UploadNotFoundException$ = UploadNotFoundException$;
|
|
1849
|
+
exports.errorTypeRegistries = errorTypeRegistries;
|
|
485
1850
|
exports.paginateDescribeImageTags = paginateDescribeImageTags;
|
|
486
1851
|
exports.paginateDescribeImages = paginateDescribeImages;
|
|
487
1852
|
exports.paginateDescribeRegistries = paginateDescribeRegistries;
|