@layerzerolabs/vm-tooling 0.2.22 → 0.2.23
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/LICENSE +23 -0
- package/dist/4JD7YXQE.js +47 -0
- package/dist/4JD7YXQE.js.map +1 -0
- package/dist/{BEHAXLXQ.js → 5FQEEZQ7.js} +4 -4
- package/dist/{BEHAXLXQ.js.map → 5FQEEZQ7.js.map} +1 -1
- package/dist/C75WADM5.js +15 -0
- package/dist/C75WADM5.js.map +1 -0
- package/dist/{EP2ZMEJO.js → GNUGNPEQ.js} +47 -13
- package/dist/GNUGNPEQ.js.map +1 -0
- package/dist/{UGOYXDC2.js → I4UV4L75.js} +9 -15
- package/dist/I4UV4L75.js.map +1 -0
- package/dist/ICMHRFCX.cjs +78 -0
- package/dist/ICMHRFCX.cjs.map +1 -0
- package/dist/{OMZA67EH.js → J2675KOZ.js} +5 -5
- package/dist/J2675KOZ.js.map +1 -0
- package/dist/{Y7XA7YWK.cjs → M7FR43QL.cjs} +5 -5
- package/dist/M7FR43QL.cjs.map +1 -0
- package/dist/{GG2ZAAIE.cjs → UHRRIDQ3.cjs} +6 -6
- package/dist/{GG2ZAAIE.cjs.map → UHRRIDQ3.cjs.map} +1 -1
- package/dist/{VH4UXRKG.cjs → VAGPJO44.cjs} +49 -15
- package/dist/VAGPJO44.cjs.map +1 -0
- package/dist/{GEZ3XVTG.cjs → X53USKD4.cjs} +10 -16
- package/dist/X53USKD4.cjs.map +1 -0
- package/dist/Y6ZP4DWX.cjs +49 -0
- package/dist/Y6ZP4DWX.cjs.map +1 -0
- package/dist/YI63OKDP.js +53 -0
- package/dist/YI63OKDP.js.map +1 -0
- package/dist/Z55JUIO3.cjs +17 -0
- package/dist/Z55JUIO3.cjs.map +1 -0
- package/dist/cli.cjs +5 -5
- package/dist/cli.js +4 -4
- package/dist/config.cjs +8 -12
- package/dist/config.d.ts +6 -4
- package/dist/config.d.ts.map +1 -1
- package/dist/config.js +1 -1
- package/dist/core/index.cjs +4 -4
- package/dist/core/index.js +3 -3
- package/dist/core/tool-executor.cjs +4 -4
- package/dist/core/tool-executor.d.ts.map +1 -1
- package/dist/core/tool-executor.js +3 -3
- package/dist/github/index.cjs +5 -16
- package/dist/github/index.d.ts.map +1 -1
- package/dist/github/index.js +4 -15
- package/dist/github/matrix.cjs +4 -15
- package/dist/github/matrix.d.ts +13 -3
- package/dist/github/matrix.d.ts.map +1 -1
- package/dist/github/matrix.js +3 -14
- package/dist/index.cjs +15 -22
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -18
- package/dist/index.js.map +1 -1
- package/dist/test.cjs +4 -4
- package/dist/test.d.ts +1 -1
- package/dist/test.d.ts.map +1 -1
- package/dist/test.js +3 -3
- package/dist/utils/docker.cjs +6 -6
- package/dist/utils/docker.d.ts +2 -2
- package/dist/utils/docker.d.ts.map +1 -1
- package/dist/utils/docker.js +2 -2
- package/package.json +10 -5
- package/dist/3NXVR3DC.cjs +0 -18
- package/dist/3NXVR3DC.cjs.map +0 -1
- package/dist/3TIEGVTO.cjs +0 -431
- package/dist/3TIEGVTO.cjs.map +0 -1
- package/dist/3V7HWCTZ.js +0 -190
- package/dist/3V7HWCTZ.js.map +0 -1
- package/dist/3YN24Z7J.js +0 -261
- package/dist/3YN24Z7J.js.map +0 -1
- package/dist/427QOV7V.js +0 -348
- package/dist/427QOV7V.js.map +0 -1
- package/dist/4DNHANRV.cjs +0 -39
- package/dist/4DNHANRV.cjs.map +0 -1
- package/dist/5IOOBAVX.cjs +0 -832
- package/dist/5IOOBAVX.cjs.map +0 -1
- package/dist/5QZDX45Q.js +0 -1975
- package/dist/5QZDX45Q.js.map +0 -1
- package/dist/634Q3MUX.cjs +0 -1128
- package/dist/634Q3MUX.cjs.map +0 -1
- package/dist/77LS3AZK.cjs +0 -1977
- package/dist/77LS3AZK.cjs.map +0 -1
- package/dist/7AUJV34E.cjs +0 -144
- package/dist/7AUJV34E.cjs.map +0 -1
- package/dist/7HA6JSWY.cjs +0 -103
- package/dist/7HA6JSWY.cjs.map +0 -1
- package/dist/7JWBGU62.js +0 -141
- package/dist/7JWBGU62.js.map +0 -1
- package/dist/7O5SJUXT.cjs +0 -354
- package/dist/7O5SJUXT.cjs.map +0 -1
- package/dist/7R4LC2OX.js +0 -3246
- package/dist/7R4LC2OX.js.map +0 -1
- package/dist/DDKMZ6EE.js +0 -6
- package/dist/DDKMZ6EE.js.map +0 -1
- package/dist/DS4LZJHX.cjs +0 -252
- package/dist/DS4LZJHX.cjs.map +0 -1
- package/dist/EP2ZMEJO.js.map +0 -1
- package/dist/ERGNNQ6N.js +0 -16
- package/dist/ERGNNQ6N.js.map +0 -1
- package/dist/EXBTG2GQ.js +0 -4823
- package/dist/EXBTG2GQ.js.map +0 -1
- package/dist/FBKCEQT5.cjs +0 -263
- package/dist/FBKCEQT5.cjs.map +0 -1
- package/dist/FC7UGQEI.cjs +0 -19
- package/dist/FC7UGQEI.cjs.map +0 -1
- package/dist/FDH37YWR.cjs +0 -52
- package/dist/FDH37YWR.cjs.map +0 -1
- package/dist/FQPOYRQJ.cjs +0 -59
- package/dist/FQPOYRQJ.cjs.map +0 -1
- package/dist/GEZ3XVTG.cjs.map +0 -1
- package/dist/GHQS37WK.js +0 -251
- package/dist/GHQS37WK.js.map +0 -1
- package/dist/GVS7FGYI.cjs +0 -49
- package/dist/GVS7FGYI.cjs.map +0 -1
- package/dist/HVDH52K5.cjs +0 -3273
- package/dist/HVDH52K5.cjs.map +0 -1
- package/dist/HVR3WYCV.js +0 -70
- package/dist/HVR3WYCV.js.map +0 -1
- package/dist/I24EDDRD.cjs +0 -30
- package/dist/I24EDDRD.cjs.map +0 -1
- package/dist/IYIFH7LC.js +0 -29
- package/dist/IYIFH7LC.js.map +0 -1
- package/dist/J2A64VZU.js +0 -143
- package/dist/J2A64VZU.js.map +0 -1
- package/dist/JXS7ZGGU.js +0 -350
- package/dist/JXS7ZGGU.js.map +0 -1
- package/dist/MDE37STN.cjs +0 -146
- package/dist/MDE37STN.cjs.map +0 -1
- package/dist/OBHJ2FSI.cjs +0 -103
- package/dist/OBHJ2FSI.cjs.map +0 -1
- package/dist/OLCI6QQA.cjs +0 -73
- package/dist/OLCI6QQA.cjs.map +0 -1
- package/dist/OMZA67EH.js.map +0 -1
- package/dist/PFRT6NBP.js +0 -30
- package/dist/PFRT6NBP.js.map +0 -1
- package/dist/PQ4H7UWU.js +0 -51
- package/dist/PQ4H7UWU.js.map +0 -1
- package/dist/Q5L3QIKZ.cjs +0 -825
- package/dist/Q5L3QIKZ.cjs.map +0 -1
- package/dist/QDUIE3K3.js +0 -829
- package/dist/QDUIE3K3.js.map +0 -1
- package/dist/QEUMSA6O.cjs +0 -260
- package/dist/QEUMSA6O.cjs.map +0 -1
- package/dist/QHFDWPE3.js +0 -28
- package/dist/QHFDWPE3.js.map +0 -1
- package/dist/TQHAG73D.js +0 -46
- package/dist/TQHAG73D.js.map +0 -1
- package/dist/UFZOOGMQ.js +0 -46
- package/dist/UFZOOGMQ.js.map +0 -1
- package/dist/UGOYXDC2.js.map +0 -1
- package/dist/UOMNLT53.cjs +0 -33
- package/dist/UOMNLT53.cjs.map +0 -1
- package/dist/UUMDUUBJ.cjs +0 -194
- package/dist/UUMDUUBJ.cjs.map +0 -1
- package/dist/VEHBRPVG.js +0 -175
- package/dist/VEHBRPVG.js.map +0 -1
- package/dist/VH4UXRKG.cjs.map +0 -1
- package/dist/VM366GYK.js +0 -101
- package/dist/VM366GYK.js.map +0 -1
- package/dist/W3F4RJVY.js +0 -1103
- package/dist/W3F4RJVY.js.map +0 -1
- package/dist/W4QDYLOA.js +0 -17
- package/dist/W4QDYLOA.js.map +0 -1
- package/dist/WSDEGNMI.cjs +0 -56
- package/dist/WSDEGNMI.cjs.map +0 -1
- package/dist/WSES6SE2.js +0 -420
- package/dist/WSES6SE2.js.map +0 -1
- package/dist/XCUEIITH.js +0 -101
- package/dist/XCUEIITH.js.map +0 -1
- package/dist/XVWZAEKK.js +0 -807
- package/dist/XVWZAEKK.js.map +0 -1
- package/dist/Y7XA7YWK.cjs.map +0 -1
- package/dist/YHGTF22I.cjs +0 -4881
- package/dist/YHGTF22I.cjs.map +0 -1
- package/dist/Z7SRDY43.js +0 -250
- package/dist/Z7SRDY43.js.map +0 -1
- package/dist/ZGCH6KFP.cjs +0 -354
- package/dist/ZGCH6KFP.cjs.map +0 -1
- package/dist/ZTSEHGET.cjs +0 -182
- package/dist/ZTSEHGET.cjs.map +0 -1
package/dist/5QZDX45Q.js
DELETED
|
@@ -1,1975 +0,0 @@
|
|
|
1
|
-
import { ENV_KEY, ENV_SECRET, fromEnv } from './PQ4H7UWU.js';
|
|
2
|
-
import { _json, parseJsonBody, parseJsonErrorBody, loadRestJsonErrorCode } from './VEHBRPVG.js';
|
|
3
|
-
import { EndpointCache, awsEndpointFunctions, customEndpointFunctions, Client, resolveUserAgentConfig, resolveRetryConfig, resolveRegionConfig, resolveHostHeaderConfig, resolveEndpointConfig, getUserAgentPlugin, getRetryPlugin, getContentLengthPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin, getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, ServiceException, withBaseException, Command, getSerdePlugin, getEndpointPlugin, emitWarningIfUnsupportedVersion2, resolveDefaultsModeConfig, emitWarningIfUnsupportedVersion, Hash, createDefaultUserAgentProvider, calculateBodyLength, NODE_APP_ID_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, DEFAULT_RETRY_MODE, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, resolveAwsSdkSigV4Config, normalizeProvider, getAwsRegionExtensionConfiguration, getDefaultExtensionConfiguration, getHttpHandlerExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveDefaultRuntimeConfig, resolveHttpHandlerRuntimeConfig, getSmithyContext, NoOpLogger, AwsSdkSigV4Signer, loadConfigsForDefaultMode, resolveEndpoint, decorateServiceException } from './EXBTG2GQ.js';
|
|
4
|
-
import { loadConfig, parseUrl, memoize } from './3V7HWCTZ.js';
|
|
5
|
-
import { chain } from './QHFDWPE3.js';
|
|
6
|
-
import { ENV_PROFILE } from './GHQS37WK.js';
|
|
7
|
-
import { streamCollector, NodeHttpHandler, toBase64, fromBase64, HttpRequest } from './XVWZAEKK.js';
|
|
8
|
-
import { toUtf8, fromUtf8 } from './TQHAG73D.js';
|
|
9
|
-
import { CredentialsProviderError } from './UFZOOGMQ.js';
|
|
10
|
-
import { getImageTag } from './OMZA67EH.js';
|
|
11
|
-
import { ECR_IMAGE_DIRECTORY } from './PFRT6NBP.js';
|
|
12
|
-
import { getImageName } from './KWRJPB5T.js';
|
|
13
|
-
import { init_esm_shims, __name } from './6AHA7PAZ.js';
|
|
14
|
-
import { constantCase, isString } from 'es-toolkit';
|
|
15
|
-
import { join } from 'path';
|
|
16
|
-
|
|
17
|
-
// src/github/matrix.ts
|
|
18
|
-
init_esm_shims();
|
|
19
|
-
|
|
20
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/ECRClient.js
|
|
21
|
-
init_esm_shims();
|
|
22
|
-
|
|
23
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/auth/httpAuthSchemeProvider.js
|
|
24
|
-
init_esm_shims();
|
|
25
|
-
var defaultECRHttpAuthSchemeParametersProvider = /* @__PURE__ */ __name(async (config, context, input) => {
|
|
26
|
-
return {
|
|
27
|
-
operation: getSmithyContext(context).operation,
|
|
28
|
-
region: await normalizeProvider(config.region)() || (() => {
|
|
29
|
-
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
30
|
-
})()
|
|
31
|
-
};
|
|
32
|
-
}, "defaultECRHttpAuthSchemeParametersProvider");
|
|
33
|
-
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
34
|
-
return {
|
|
35
|
-
schemeId: "aws.auth#sigv4",
|
|
36
|
-
signingProperties: {
|
|
37
|
-
name: "ecr",
|
|
38
|
-
region: authParameters.region
|
|
39
|
-
},
|
|
40
|
-
propertiesExtractor: /* @__PURE__ */ __name((config, context) => ({
|
|
41
|
-
signingProperties: {
|
|
42
|
-
config,
|
|
43
|
-
context
|
|
44
|
-
}
|
|
45
|
-
}), "propertiesExtractor")
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
__name(createAwsAuthSigv4HttpAuthOption, "createAwsAuthSigv4HttpAuthOption");
|
|
49
|
-
var defaultECRHttpAuthSchemeProvider = /* @__PURE__ */ __name((authParameters) => {
|
|
50
|
-
const options = [];
|
|
51
|
-
switch (authParameters.operation) {
|
|
52
|
-
default: {
|
|
53
|
-
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
return options;
|
|
57
|
-
}, "defaultECRHttpAuthSchemeProvider");
|
|
58
|
-
var resolveHttpAuthSchemeConfig = /* @__PURE__ */ __name((config) => {
|
|
59
|
-
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
60
|
-
return Object.assign(config_0, {
|
|
61
|
-
authSchemePreference: normalizeProvider(config.authSchemePreference ?? [])
|
|
62
|
-
});
|
|
63
|
-
}, "resolveHttpAuthSchemeConfig");
|
|
64
|
-
|
|
65
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/endpoint/EndpointParameters.js
|
|
66
|
-
init_esm_shims();
|
|
67
|
-
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
68
|
-
return Object.assign(options, {
|
|
69
|
-
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
70
|
-
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
71
|
-
defaultSigningName: "ecr"
|
|
72
|
-
});
|
|
73
|
-
}, "resolveClientEndpointParameters");
|
|
74
|
-
var commonParams = {
|
|
75
|
-
UseFIPS: {
|
|
76
|
-
type: "builtInParams",
|
|
77
|
-
name: "useFipsEndpoint"
|
|
78
|
-
},
|
|
79
|
-
Endpoint: {
|
|
80
|
-
type: "builtInParams",
|
|
81
|
-
name: "endpoint"
|
|
82
|
-
},
|
|
83
|
-
Region: {
|
|
84
|
-
type: "builtInParams",
|
|
85
|
-
name: "region"
|
|
86
|
-
},
|
|
87
|
-
UseDualStack: {
|
|
88
|
-
type: "builtInParams",
|
|
89
|
-
name: "useDualstackEndpoint"
|
|
90
|
-
}
|
|
91
|
-
};
|
|
92
|
-
|
|
93
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/runtimeConfig.js
|
|
94
|
-
init_esm_shims();
|
|
95
|
-
|
|
96
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/package.json
|
|
97
|
-
var package_default = {
|
|
98
|
-
version: "3.879.0"};
|
|
99
|
-
|
|
100
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-node@3.879.0/node_modules/@aws-sdk/credential-provider-node/dist-es/index.js
|
|
101
|
-
init_esm_shims();
|
|
102
|
-
|
|
103
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-node@3.879.0/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
|
|
104
|
-
init_esm_shims();
|
|
105
|
-
|
|
106
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-node@3.879.0/node_modules/@aws-sdk/credential-provider-node/dist-es/remoteProvider.js
|
|
107
|
-
init_esm_shims();
|
|
108
|
-
var ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
|
|
109
|
-
var remoteProvider = /* @__PURE__ */ __name(async (init) => {
|
|
110
|
-
const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import('./WSES6SE2.js');
|
|
111
|
-
if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
|
|
112
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
|
|
113
|
-
const { fromHttp } = await import('./427QOV7V.js');
|
|
114
|
-
return chain(fromHttp(init), fromContainerMetadata(init));
|
|
115
|
-
}
|
|
116
|
-
if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== "false") {
|
|
117
|
-
return async () => {
|
|
118
|
-
throw new CredentialsProviderError("EC2 Instance Metadata Service access disabled", {
|
|
119
|
-
logger: init.logger
|
|
120
|
-
});
|
|
121
|
-
};
|
|
122
|
-
}
|
|
123
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");
|
|
124
|
-
return fromInstanceMetadata(init);
|
|
125
|
-
}, "remoteProvider");
|
|
126
|
-
|
|
127
|
-
// ../../node_modules/.pnpm/@aws-sdk+credential-provider-node@3.879.0/node_modules/@aws-sdk/credential-provider-node/dist-es/defaultProvider.js
|
|
128
|
-
var multipleCredentialSourceWarningEmitted = false;
|
|
129
|
-
var defaultProvider = /* @__PURE__ */ __name((init = {}) => memoize(chain(async () => {
|
|
130
|
-
const profile = init.profile ?? process.env[ENV_PROFILE];
|
|
131
|
-
if (profile) {
|
|
132
|
-
const envStaticCredentialsAreSet = process.env[ENV_KEY] && process.env[ENV_SECRET];
|
|
133
|
-
if (envStaticCredentialsAreSet) {
|
|
134
|
-
if (!multipleCredentialSourceWarningEmitted) {
|
|
135
|
-
const warnFn = init.logger?.warn && init.logger?.constructor?.name !== "NoOpLogger" ? init.logger.warn : console.warn;
|
|
136
|
-
warnFn(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
|
|
137
|
-
Multiple credential sources detected:
|
|
138
|
-
Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
|
|
139
|
-
This SDK will proceed with the AWS_PROFILE value.
|
|
140
|
-
|
|
141
|
-
However, a future version may change this behavior to prefer the ENV static credentials.
|
|
142
|
-
Please ensure that your environment only sets either the AWS_PROFILE or the
|
|
143
|
-
AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
|
|
144
|
-
`);
|
|
145
|
-
multipleCredentialSourceWarningEmitted = true;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
throw new CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
|
|
149
|
-
logger: init.logger,
|
|
150
|
-
tryNextLink: true
|
|
151
|
-
});
|
|
152
|
-
}
|
|
153
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");
|
|
154
|
-
return fromEnv(init)();
|
|
155
|
-
}, async () => {
|
|
156
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
|
|
157
|
-
const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
|
|
158
|
-
if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) {
|
|
159
|
-
throw new CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", {
|
|
160
|
-
logger: init.logger
|
|
161
|
-
});
|
|
162
|
-
}
|
|
163
|
-
const { fromSSO } = await import('./JXS7ZGGU.js');
|
|
164
|
-
return fromSSO(init)();
|
|
165
|
-
}, async () => {
|
|
166
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
|
|
167
|
-
const { fromIni } = await import('./Z7SRDY43.js');
|
|
168
|
-
return fromIni(init)();
|
|
169
|
-
}, async () => {
|
|
170
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
|
|
171
|
-
const { fromProcess } = await import('./XCUEIITH.js');
|
|
172
|
-
return fromProcess(init)();
|
|
173
|
-
}, async () => {
|
|
174
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
|
|
175
|
-
const { fromTokenFile } = await import('./HVR3WYCV.js');
|
|
176
|
-
return fromTokenFile(init)();
|
|
177
|
-
}, async () => {
|
|
178
|
-
init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
|
|
179
|
-
return (await remoteProvider(init))();
|
|
180
|
-
}, async () => {
|
|
181
|
-
throw new CredentialsProviderError("Could not load credentials from any providers", {
|
|
182
|
-
tryNextLink: false,
|
|
183
|
-
logger: init.logger
|
|
184
|
-
});
|
|
185
|
-
}), credentialsTreatedAsExpired, credentialsWillNeedRefresh), "defaultProvider");
|
|
186
|
-
var credentialsWillNeedRefresh = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0, "credentialsWillNeedRefresh");
|
|
187
|
-
var credentialsTreatedAsExpired = /* @__PURE__ */ __name((credentials) => credentials?.expiration !== void 0 && credentials.expiration.getTime() - Date.now() < 3e5, "credentialsTreatedAsExpired");
|
|
188
|
-
|
|
189
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/runtimeConfig.shared.js
|
|
190
|
-
init_esm_shims();
|
|
191
|
-
|
|
192
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/endpoint/endpointResolver.js
|
|
193
|
-
init_esm_shims();
|
|
194
|
-
|
|
195
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/endpoint/ruleset.js
|
|
196
|
-
init_esm_shims();
|
|
197
|
-
var B = "required";
|
|
198
|
-
var C = "fn";
|
|
199
|
-
var D = "argv";
|
|
200
|
-
var E = "ref";
|
|
201
|
-
var F = "url";
|
|
202
|
-
var G = "properties";
|
|
203
|
-
var H = "headers";
|
|
204
|
-
var a = true;
|
|
205
|
-
var b = "isSet";
|
|
206
|
-
var c = "booleanEquals";
|
|
207
|
-
var d = "error";
|
|
208
|
-
var e = "endpoint";
|
|
209
|
-
var f = "tree";
|
|
210
|
-
var g = "PartitionResult";
|
|
211
|
-
var h = "stringEquals";
|
|
212
|
-
var i = "aws";
|
|
213
|
-
var j = "aws-us-gov";
|
|
214
|
-
var k = {
|
|
215
|
-
[B]: false,
|
|
216
|
-
"type": "String"
|
|
217
|
-
};
|
|
218
|
-
var l = {
|
|
219
|
-
[B]: true,
|
|
220
|
-
"default": false,
|
|
221
|
-
"type": "Boolean"
|
|
222
|
-
};
|
|
223
|
-
var m = {
|
|
224
|
-
[E]: "Endpoint"
|
|
225
|
-
};
|
|
226
|
-
var n = {
|
|
227
|
-
[C]: c,
|
|
228
|
-
[D]: [
|
|
229
|
-
{
|
|
230
|
-
[E]: "UseFIPS"
|
|
231
|
-
},
|
|
232
|
-
true
|
|
233
|
-
]
|
|
234
|
-
};
|
|
235
|
-
var o = {
|
|
236
|
-
[C]: c,
|
|
237
|
-
[D]: [
|
|
238
|
-
{
|
|
239
|
-
[E]: "UseDualStack"
|
|
240
|
-
},
|
|
241
|
-
true
|
|
242
|
-
]
|
|
243
|
-
};
|
|
244
|
-
var p = {};
|
|
245
|
-
var q = {
|
|
246
|
-
[C]: "getAttr",
|
|
247
|
-
[D]: [
|
|
248
|
-
{
|
|
249
|
-
[E]: g
|
|
250
|
-
},
|
|
251
|
-
"supportsFIPS"
|
|
252
|
-
]
|
|
253
|
-
};
|
|
254
|
-
var r = {
|
|
255
|
-
[C]: c,
|
|
256
|
-
[D]: [
|
|
257
|
-
true,
|
|
258
|
-
{
|
|
259
|
-
[C]: "getAttr",
|
|
260
|
-
[D]: [
|
|
261
|
-
{
|
|
262
|
-
[E]: g
|
|
263
|
-
},
|
|
264
|
-
"supportsDualStack"
|
|
265
|
-
]
|
|
266
|
-
}
|
|
267
|
-
]
|
|
268
|
-
};
|
|
269
|
-
var s = {
|
|
270
|
-
[C]: "getAttr",
|
|
271
|
-
[D]: [
|
|
272
|
-
{
|
|
273
|
-
[E]: g
|
|
274
|
-
},
|
|
275
|
-
"name"
|
|
276
|
-
]
|
|
277
|
-
};
|
|
278
|
-
var t = {
|
|
279
|
-
[F]: "https://ecr-fips.{Region}.api.aws",
|
|
280
|
-
[G]: {},
|
|
281
|
-
[H]: {}
|
|
282
|
-
};
|
|
283
|
-
var u = {
|
|
284
|
-
[F]: "https://ecr-fips.{Region}.amazonaws.com",
|
|
285
|
-
[G]: {},
|
|
286
|
-
[H]: {}
|
|
287
|
-
};
|
|
288
|
-
var v = {
|
|
289
|
-
[F]: "https://ecr.{Region}.api.aws",
|
|
290
|
-
[G]: {},
|
|
291
|
-
[H]: {}
|
|
292
|
-
};
|
|
293
|
-
var w = [
|
|
294
|
-
n
|
|
295
|
-
];
|
|
296
|
-
var x = [
|
|
297
|
-
o
|
|
298
|
-
];
|
|
299
|
-
var y = [
|
|
300
|
-
{
|
|
301
|
-
[E]: "Region"
|
|
302
|
-
}
|
|
303
|
-
];
|
|
304
|
-
var z = [
|
|
305
|
-
{
|
|
306
|
-
[C]: h,
|
|
307
|
-
[D]: [
|
|
308
|
-
i,
|
|
309
|
-
s
|
|
310
|
-
]
|
|
311
|
-
}
|
|
312
|
-
];
|
|
313
|
-
var A = [
|
|
314
|
-
{
|
|
315
|
-
[C]: h,
|
|
316
|
-
[D]: [
|
|
317
|
-
j,
|
|
318
|
-
s
|
|
319
|
-
]
|
|
320
|
-
}
|
|
321
|
-
];
|
|
322
|
-
var _data = {
|
|
323
|
-
version: "1.0",
|
|
324
|
-
parameters: {
|
|
325
|
-
Region: k,
|
|
326
|
-
UseDualStack: l,
|
|
327
|
-
UseFIPS: l,
|
|
328
|
-
Endpoint: k
|
|
329
|
-
},
|
|
330
|
-
rules: [
|
|
331
|
-
{
|
|
332
|
-
conditions: [
|
|
333
|
-
{
|
|
334
|
-
[C]: b,
|
|
335
|
-
[D]: [
|
|
336
|
-
m
|
|
337
|
-
]
|
|
338
|
-
}
|
|
339
|
-
],
|
|
340
|
-
rules: [
|
|
341
|
-
{
|
|
342
|
-
conditions: w,
|
|
343
|
-
error: "Invalid Configuration: FIPS and custom endpoint are not supported",
|
|
344
|
-
type: d
|
|
345
|
-
},
|
|
346
|
-
{
|
|
347
|
-
conditions: x,
|
|
348
|
-
error: "Invalid Configuration: Dualstack and custom endpoint are not supported",
|
|
349
|
-
type: d
|
|
350
|
-
},
|
|
351
|
-
{
|
|
352
|
-
endpoint: {
|
|
353
|
-
[F]: m,
|
|
354
|
-
[G]: p,
|
|
355
|
-
[H]: p
|
|
356
|
-
},
|
|
357
|
-
type: e
|
|
358
|
-
}
|
|
359
|
-
],
|
|
360
|
-
type: f
|
|
361
|
-
},
|
|
362
|
-
{
|
|
363
|
-
conditions: [
|
|
364
|
-
{
|
|
365
|
-
[C]: b,
|
|
366
|
-
[D]: y
|
|
367
|
-
}
|
|
368
|
-
],
|
|
369
|
-
rules: [
|
|
370
|
-
{
|
|
371
|
-
conditions: [
|
|
372
|
-
{
|
|
373
|
-
[C]: "aws.partition",
|
|
374
|
-
[D]: y,
|
|
375
|
-
assign: g
|
|
376
|
-
}
|
|
377
|
-
],
|
|
378
|
-
rules: [
|
|
379
|
-
{
|
|
380
|
-
conditions: [
|
|
381
|
-
n,
|
|
382
|
-
o
|
|
383
|
-
],
|
|
384
|
-
rules: [
|
|
385
|
-
{
|
|
386
|
-
conditions: [
|
|
387
|
-
{
|
|
388
|
-
[C]: c,
|
|
389
|
-
[D]: [
|
|
390
|
-
a,
|
|
391
|
-
q
|
|
392
|
-
]
|
|
393
|
-
},
|
|
394
|
-
r
|
|
395
|
-
],
|
|
396
|
-
rules: [
|
|
397
|
-
{
|
|
398
|
-
conditions: z,
|
|
399
|
-
endpoint: t,
|
|
400
|
-
type: e
|
|
401
|
-
},
|
|
402
|
-
{
|
|
403
|
-
conditions: A,
|
|
404
|
-
endpoint: t,
|
|
405
|
-
type: e
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
endpoint: {
|
|
409
|
-
[F]: "https://api.ecr-fips.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
410
|
-
[G]: p,
|
|
411
|
-
[H]: p
|
|
412
|
-
},
|
|
413
|
-
type: e
|
|
414
|
-
}
|
|
415
|
-
],
|
|
416
|
-
type: f
|
|
417
|
-
},
|
|
418
|
-
{
|
|
419
|
-
error: "FIPS and DualStack are enabled, but this partition does not support one or both",
|
|
420
|
-
type: d
|
|
421
|
-
}
|
|
422
|
-
],
|
|
423
|
-
type: f
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
conditions: w,
|
|
427
|
-
rules: [
|
|
428
|
-
{
|
|
429
|
-
conditions: [
|
|
430
|
-
{
|
|
431
|
-
[C]: c,
|
|
432
|
-
[D]: [
|
|
433
|
-
q,
|
|
434
|
-
a
|
|
435
|
-
]
|
|
436
|
-
}
|
|
437
|
-
],
|
|
438
|
-
rules: [
|
|
439
|
-
{
|
|
440
|
-
conditions: [
|
|
441
|
-
{
|
|
442
|
-
[C]: h,
|
|
443
|
-
[D]: [
|
|
444
|
-
s,
|
|
445
|
-
i
|
|
446
|
-
]
|
|
447
|
-
}
|
|
448
|
-
],
|
|
449
|
-
endpoint: u,
|
|
450
|
-
type: e
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
conditions: [
|
|
454
|
-
{
|
|
455
|
-
[C]: h,
|
|
456
|
-
[D]: [
|
|
457
|
-
s,
|
|
458
|
-
j
|
|
459
|
-
]
|
|
460
|
-
}
|
|
461
|
-
],
|
|
462
|
-
endpoint: u,
|
|
463
|
-
type: e
|
|
464
|
-
},
|
|
465
|
-
{
|
|
466
|
-
endpoint: {
|
|
467
|
-
[F]: "https://api.ecr-fips.{Region}.{PartitionResult#dnsSuffix}",
|
|
468
|
-
[G]: p,
|
|
469
|
-
[H]: p
|
|
470
|
-
},
|
|
471
|
-
type: e
|
|
472
|
-
}
|
|
473
|
-
],
|
|
474
|
-
type: f
|
|
475
|
-
},
|
|
476
|
-
{
|
|
477
|
-
error: "FIPS is enabled but this partition does not support FIPS",
|
|
478
|
-
type: d
|
|
479
|
-
}
|
|
480
|
-
],
|
|
481
|
-
type: f
|
|
482
|
-
},
|
|
483
|
-
{
|
|
484
|
-
conditions: x,
|
|
485
|
-
rules: [
|
|
486
|
-
{
|
|
487
|
-
conditions: [
|
|
488
|
-
r
|
|
489
|
-
],
|
|
490
|
-
rules: [
|
|
491
|
-
{
|
|
492
|
-
conditions: z,
|
|
493
|
-
endpoint: v,
|
|
494
|
-
type: e
|
|
495
|
-
},
|
|
496
|
-
{
|
|
497
|
-
conditions: [
|
|
498
|
-
{
|
|
499
|
-
[C]: h,
|
|
500
|
-
[D]: [
|
|
501
|
-
"aws-cn",
|
|
502
|
-
s
|
|
503
|
-
]
|
|
504
|
-
}
|
|
505
|
-
],
|
|
506
|
-
endpoint: {
|
|
507
|
-
[F]: "https://ecr.{Region}.api.amazonwebservices.com.cn",
|
|
508
|
-
[G]: p,
|
|
509
|
-
[H]: p
|
|
510
|
-
},
|
|
511
|
-
type: e
|
|
512
|
-
},
|
|
513
|
-
{
|
|
514
|
-
conditions: A,
|
|
515
|
-
endpoint: v,
|
|
516
|
-
type: e
|
|
517
|
-
},
|
|
518
|
-
{
|
|
519
|
-
endpoint: {
|
|
520
|
-
[F]: "https://api.ecr.{Region}.{PartitionResult#dualStackDnsSuffix}",
|
|
521
|
-
[G]: p,
|
|
522
|
-
[H]: p
|
|
523
|
-
},
|
|
524
|
-
type: e
|
|
525
|
-
}
|
|
526
|
-
],
|
|
527
|
-
type: f
|
|
528
|
-
},
|
|
529
|
-
{
|
|
530
|
-
error: "DualStack is enabled but this partition does not support DualStack",
|
|
531
|
-
type: d
|
|
532
|
-
}
|
|
533
|
-
],
|
|
534
|
-
type: f
|
|
535
|
-
},
|
|
536
|
-
{
|
|
537
|
-
endpoint: {
|
|
538
|
-
[F]: "https://api.ecr.{Region}.{PartitionResult#dnsSuffix}",
|
|
539
|
-
[G]: p,
|
|
540
|
-
[H]: p
|
|
541
|
-
},
|
|
542
|
-
type: e
|
|
543
|
-
}
|
|
544
|
-
],
|
|
545
|
-
type: f
|
|
546
|
-
}
|
|
547
|
-
],
|
|
548
|
-
type: f
|
|
549
|
-
},
|
|
550
|
-
{
|
|
551
|
-
error: "Invalid Configuration: Missing Region",
|
|
552
|
-
type: d
|
|
553
|
-
}
|
|
554
|
-
]
|
|
555
|
-
};
|
|
556
|
-
var ruleSet = _data;
|
|
557
|
-
|
|
558
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/endpoint/endpointResolver.js
|
|
559
|
-
var cache = new EndpointCache({
|
|
560
|
-
size: 50,
|
|
561
|
-
params: [
|
|
562
|
-
"Endpoint",
|
|
563
|
-
"Region",
|
|
564
|
-
"UseDualStack",
|
|
565
|
-
"UseFIPS"
|
|
566
|
-
]
|
|
567
|
-
});
|
|
568
|
-
var defaultEndpointResolver = /* @__PURE__ */ __name((endpointParams, context = {}) => {
|
|
569
|
-
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
570
|
-
endpointParams,
|
|
571
|
-
logger: context.logger
|
|
572
|
-
}));
|
|
573
|
-
}, "defaultEndpointResolver");
|
|
574
|
-
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
575
|
-
|
|
576
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/runtimeConfig.shared.js
|
|
577
|
-
var getRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
578
|
-
return {
|
|
579
|
-
apiVersion: "2015-09-21",
|
|
580
|
-
base64Decoder: config?.base64Decoder ?? fromBase64,
|
|
581
|
-
base64Encoder: config?.base64Encoder ?? toBase64,
|
|
582
|
-
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
583
|
-
endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
|
|
584
|
-
extensions: config?.extensions ?? [],
|
|
585
|
-
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultECRHttpAuthSchemeProvider,
|
|
586
|
-
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
587
|
-
{
|
|
588
|
-
schemeId: "aws.auth#sigv4",
|
|
589
|
-
identityProvider: /* @__PURE__ */ __name((ipc) => ipc.getIdentityProvider("aws.auth#sigv4"), "identityProvider"),
|
|
590
|
-
signer: new AwsSdkSigV4Signer()
|
|
591
|
-
}
|
|
592
|
-
],
|
|
593
|
-
logger: config?.logger ?? new NoOpLogger(),
|
|
594
|
-
serviceId: config?.serviceId ?? "ECR",
|
|
595
|
-
urlParser: config?.urlParser ?? parseUrl,
|
|
596
|
-
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
597
|
-
utf8Encoder: config?.utf8Encoder ?? toUtf8
|
|
598
|
-
};
|
|
599
|
-
}, "getRuntimeConfig");
|
|
600
|
-
|
|
601
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/runtimeConfig.js
|
|
602
|
-
var getRuntimeConfig2 = /* @__PURE__ */ __name((config) => {
|
|
603
|
-
emitWarningIfUnsupportedVersion2(process.version);
|
|
604
|
-
const defaultsMode = resolveDefaultsModeConfig(config);
|
|
605
|
-
const defaultConfigProvider = /* @__PURE__ */ __name(() => defaultsMode().then(loadConfigsForDefaultMode), "defaultConfigProvider");
|
|
606
|
-
const clientSharedValues = getRuntimeConfig(config);
|
|
607
|
-
emitWarningIfUnsupportedVersion(process.version);
|
|
608
|
-
const loaderConfig = {
|
|
609
|
-
profile: config?.profile,
|
|
610
|
-
logger: clientSharedValues.logger
|
|
611
|
-
};
|
|
612
|
-
return {
|
|
613
|
-
...clientSharedValues,
|
|
614
|
-
...config,
|
|
615
|
-
runtime: "node",
|
|
616
|
-
defaultsMode,
|
|
617
|
-
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
618
|
-
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
619
|
-
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
620
|
-
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({
|
|
621
|
-
serviceId: clientSharedValues.serviceId,
|
|
622
|
-
clientVersion: package_default.version
|
|
623
|
-
}),
|
|
624
|
-
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
625
|
-
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, {
|
|
626
|
-
...NODE_REGION_CONFIG_FILE_OPTIONS,
|
|
627
|
-
...loaderConfig
|
|
628
|
-
}),
|
|
629
|
-
requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
|
|
630
|
-
retryMode: config?.retryMode ?? loadConfig({
|
|
631
|
-
...NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
632
|
-
default: /* @__PURE__ */ __name(async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE, "default")
|
|
633
|
-
}, config),
|
|
634
|
-
sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
|
|
635
|
-
streamCollector: config?.streamCollector ?? streamCollector,
|
|
636
|
-
useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
637
|
-
useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
|
|
638
|
-
userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
|
|
639
|
-
};
|
|
640
|
-
}, "getRuntimeConfig");
|
|
641
|
-
|
|
642
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/runtimeExtensions.js
|
|
643
|
-
init_esm_shims();
|
|
644
|
-
|
|
645
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/auth/httpAuthExtensionConfiguration.js
|
|
646
|
-
init_esm_shims();
|
|
647
|
-
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
648
|
-
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
649
|
-
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
650
|
-
let _credentials = runtimeConfig.credentials;
|
|
651
|
-
return {
|
|
652
|
-
setHttpAuthScheme(httpAuthScheme) {
|
|
653
|
-
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
654
|
-
if (index === -1) {
|
|
655
|
-
_httpAuthSchemes.push(httpAuthScheme);
|
|
656
|
-
} else {
|
|
657
|
-
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
658
|
-
}
|
|
659
|
-
},
|
|
660
|
-
httpAuthSchemes() {
|
|
661
|
-
return _httpAuthSchemes;
|
|
662
|
-
},
|
|
663
|
-
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
664
|
-
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
665
|
-
},
|
|
666
|
-
httpAuthSchemeProvider() {
|
|
667
|
-
return _httpAuthSchemeProvider;
|
|
668
|
-
},
|
|
669
|
-
setCredentials(credentials) {
|
|
670
|
-
_credentials = credentials;
|
|
671
|
-
},
|
|
672
|
-
credentials() {
|
|
673
|
-
return _credentials;
|
|
674
|
-
}
|
|
675
|
-
};
|
|
676
|
-
}, "getHttpAuthExtensionConfiguration");
|
|
677
|
-
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
678
|
-
return {
|
|
679
|
-
httpAuthSchemes: config.httpAuthSchemes(),
|
|
680
|
-
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
681
|
-
credentials: config.credentials()
|
|
682
|
-
};
|
|
683
|
-
}, "resolveHttpAuthRuntimeConfig");
|
|
684
|
-
|
|
685
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/runtimeExtensions.js
|
|
686
|
-
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
687
|
-
const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
|
|
688
|
-
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
689
|
-
return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
|
|
690
|
-
}, "resolveRuntimeExtensions");
|
|
691
|
-
|
|
692
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/ECRClient.js
|
|
693
|
-
var ECRClient = class extends Client {
|
|
694
|
-
static {
|
|
695
|
-
__name(this, "ECRClient");
|
|
696
|
-
}
|
|
697
|
-
config;
|
|
698
|
-
constructor(...[configuration]) {
|
|
699
|
-
const _config_0 = getRuntimeConfig2(configuration || {});
|
|
700
|
-
super(_config_0);
|
|
701
|
-
this.initConfig = _config_0;
|
|
702
|
-
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
703
|
-
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
704
|
-
const _config_3 = resolveRetryConfig(_config_2);
|
|
705
|
-
const _config_4 = resolveRegionConfig(_config_3);
|
|
706
|
-
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
707
|
-
const _config_6 = resolveEndpointConfig(_config_5);
|
|
708
|
-
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
709
|
-
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
710
|
-
this.config = _config_8;
|
|
711
|
-
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
712
|
-
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
713
|
-
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
714
|
-
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
715
|
-
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
716
|
-
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
717
|
-
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
718
|
-
httpAuthSchemeParametersProvider: defaultECRHttpAuthSchemeParametersProvider,
|
|
719
|
-
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new DefaultIdentityProviderConfig({
|
|
720
|
-
"aws.auth#sigv4": config.credentials
|
|
721
|
-
}), "identityProviderConfigProvider")
|
|
722
|
-
}));
|
|
723
|
-
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
724
|
-
}
|
|
725
|
-
destroy() {
|
|
726
|
-
super.destroy();
|
|
727
|
-
}
|
|
728
|
-
};
|
|
729
|
-
|
|
730
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/protocols/Aws_json1_1.js
|
|
731
|
-
init_esm_shims();
|
|
732
|
-
|
|
733
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/models/ECRServiceException.js
|
|
734
|
-
init_esm_shims();
|
|
735
|
-
var ECRServiceException = class _ECRServiceException extends ServiceException {
|
|
736
|
-
static {
|
|
737
|
-
__name(this, "ECRServiceException");
|
|
738
|
-
}
|
|
739
|
-
constructor(options) {
|
|
740
|
-
super(options);
|
|
741
|
-
Object.setPrototypeOf(this, _ECRServiceException.prototype);
|
|
742
|
-
}
|
|
743
|
-
};
|
|
744
|
-
|
|
745
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/models/models_0.js
|
|
746
|
-
init_esm_shims();
|
|
747
|
-
var InvalidParameterException = class _InvalidParameterException extends ECRServiceException {
|
|
748
|
-
static {
|
|
749
|
-
__name(this, "InvalidParameterException");
|
|
750
|
-
}
|
|
751
|
-
name = "InvalidParameterException";
|
|
752
|
-
$fault = "client";
|
|
753
|
-
constructor(opts) {
|
|
754
|
-
super({
|
|
755
|
-
name: "InvalidParameterException",
|
|
756
|
-
$fault: "client",
|
|
757
|
-
...opts
|
|
758
|
-
});
|
|
759
|
-
Object.setPrototypeOf(this, _InvalidParameterException.prototype);
|
|
760
|
-
}
|
|
761
|
-
};
|
|
762
|
-
var RepositoryNotFoundException = class _RepositoryNotFoundException extends ECRServiceException {
|
|
763
|
-
static {
|
|
764
|
-
__name(this, "RepositoryNotFoundException");
|
|
765
|
-
}
|
|
766
|
-
name = "RepositoryNotFoundException";
|
|
767
|
-
$fault = "client";
|
|
768
|
-
constructor(opts) {
|
|
769
|
-
super({
|
|
770
|
-
name: "RepositoryNotFoundException",
|
|
771
|
-
$fault: "client",
|
|
772
|
-
...opts
|
|
773
|
-
});
|
|
774
|
-
Object.setPrototypeOf(this, _RepositoryNotFoundException.prototype);
|
|
775
|
-
}
|
|
776
|
-
};
|
|
777
|
-
var ServerException = class _ServerException extends ECRServiceException {
|
|
778
|
-
static {
|
|
779
|
-
__name(this, "ServerException");
|
|
780
|
-
}
|
|
781
|
-
name = "ServerException";
|
|
782
|
-
$fault = "server";
|
|
783
|
-
constructor(opts) {
|
|
784
|
-
super({
|
|
785
|
-
name: "ServerException",
|
|
786
|
-
$fault: "server",
|
|
787
|
-
...opts
|
|
788
|
-
});
|
|
789
|
-
Object.setPrototypeOf(this, _ServerException.prototype);
|
|
790
|
-
}
|
|
791
|
-
};
|
|
792
|
-
var LimitExceededException = class _LimitExceededException extends ECRServiceException {
|
|
793
|
-
static {
|
|
794
|
-
__name(this, "LimitExceededException");
|
|
795
|
-
}
|
|
796
|
-
name = "LimitExceededException";
|
|
797
|
-
$fault = "client";
|
|
798
|
-
constructor(opts) {
|
|
799
|
-
super({
|
|
800
|
-
name: "LimitExceededException",
|
|
801
|
-
$fault: "client",
|
|
802
|
-
...opts
|
|
803
|
-
});
|
|
804
|
-
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
805
|
-
}
|
|
806
|
-
};
|
|
807
|
-
var UnableToGetUpstreamImageException = class _UnableToGetUpstreamImageException extends ECRServiceException {
|
|
808
|
-
static {
|
|
809
|
-
__name(this, "UnableToGetUpstreamImageException");
|
|
810
|
-
}
|
|
811
|
-
name = "UnableToGetUpstreamImageException";
|
|
812
|
-
$fault = "client";
|
|
813
|
-
constructor(opts) {
|
|
814
|
-
super({
|
|
815
|
-
name: "UnableToGetUpstreamImageException",
|
|
816
|
-
$fault: "client",
|
|
817
|
-
...opts
|
|
818
|
-
});
|
|
819
|
-
Object.setPrototypeOf(this, _UnableToGetUpstreamImageException.prototype);
|
|
820
|
-
}
|
|
821
|
-
};
|
|
822
|
-
var ValidationException = class _ValidationException extends ECRServiceException {
|
|
823
|
-
static {
|
|
824
|
-
__name(this, "ValidationException");
|
|
825
|
-
}
|
|
826
|
-
name = "ValidationException";
|
|
827
|
-
$fault = "client";
|
|
828
|
-
constructor(opts) {
|
|
829
|
-
super({
|
|
830
|
-
name: "ValidationException",
|
|
831
|
-
$fault: "client",
|
|
832
|
-
...opts
|
|
833
|
-
});
|
|
834
|
-
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
835
|
-
}
|
|
836
|
-
};
|
|
837
|
-
var EmptyUploadException = class _EmptyUploadException extends ECRServiceException {
|
|
838
|
-
static {
|
|
839
|
-
__name(this, "EmptyUploadException");
|
|
840
|
-
}
|
|
841
|
-
name = "EmptyUploadException";
|
|
842
|
-
$fault = "client";
|
|
843
|
-
constructor(opts) {
|
|
844
|
-
super({
|
|
845
|
-
name: "EmptyUploadException",
|
|
846
|
-
$fault: "client",
|
|
847
|
-
...opts
|
|
848
|
-
});
|
|
849
|
-
Object.setPrototypeOf(this, _EmptyUploadException.prototype);
|
|
850
|
-
}
|
|
851
|
-
};
|
|
852
|
-
var InvalidLayerException = class _InvalidLayerException extends ECRServiceException {
|
|
853
|
-
static {
|
|
854
|
-
__name(this, "InvalidLayerException");
|
|
855
|
-
}
|
|
856
|
-
name = "InvalidLayerException";
|
|
857
|
-
$fault = "client";
|
|
858
|
-
constructor(opts) {
|
|
859
|
-
super({
|
|
860
|
-
name: "InvalidLayerException",
|
|
861
|
-
$fault: "client",
|
|
862
|
-
...opts
|
|
863
|
-
});
|
|
864
|
-
Object.setPrototypeOf(this, _InvalidLayerException.prototype);
|
|
865
|
-
}
|
|
866
|
-
};
|
|
867
|
-
var KmsException = class _KmsException extends ECRServiceException {
|
|
868
|
-
static {
|
|
869
|
-
__name(this, "KmsException");
|
|
870
|
-
}
|
|
871
|
-
name = "KmsException";
|
|
872
|
-
$fault = "client";
|
|
873
|
-
kmsError;
|
|
874
|
-
constructor(opts) {
|
|
875
|
-
super({
|
|
876
|
-
name: "KmsException",
|
|
877
|
-
$fault: "client",
|
|
878
|
-
...opts
|
|
879
|
-
});
|
|
880
|
-
Object.setPrototypeOf(this, _KmsException.prototype);
|
|
881
|
-
this.kmsError = opts.kmsError;
|
|
882
|
-
}
|
|
883
|
-
};
|
|
884
|
-
var LayerAlreadyExistsException = class _LayerAlreadyExistsException extends ECRServiceException {
|
|
885
|
-
static {
|
|
886
|
-
__name(this, "LayerAlreadyExistsException");
|
|
887
|
-
}
|
|
888
|
-
name = "LayerAlreadyExistsException";
|
|
889
|
-
$fault = "client";
|
|
890
|
-
constructor(opts) {
|
|
891
|
-
super({
|
|
892
|
-
name: "LayerAlreadyExistsException",
|
|
893
|
-
$fault: "client",
|
|
894
|
-
...opts
|
|
895
|
-
});
|
|
896
|
-
Object.setPrototypeOf(this, _LayerAlreadyExistsException.prototype);
|
|
897
|
-
}
|
|
898
|
-
};
|
|
899
|
-
var LayerPartTooSmallException = class _LayerPartTooSmallException extends ECRServiceException {
|
|
900
|
-
static {
|
|
901
|
-
__name(this, "LayerPartTooSmallException");
|
|
902
|
-
}
|
|
903
|
-
name = "LayerPartTooSmallException";
|
|
904
|
-
$fault = "client";
|
|
905
|
-
constructor(opts) {
|
|
906
|
-
super({
|
|
907
|
-
name: "LayerPartTooSmallException",
|
|
908
|
-
$fault: "client",
|
|
909
|
-
...opts
|
|
910
|
-
});
|
|
911
|
-
Object.setPrototypeOf(this, _LayerPartTooSmallException.prototype);
|
|
912
|
-
}
|
|
913
|
-
};
|
|
914
|
-
var UploadNotFoundException = class _UploadNotFoundException extends ECRServiceException {
|
|
915
|
-
static {
|
|
916
|
-
__name(this, "UploadNotFoundException");
|
|
917
|
-
}
|
|
918
|
-
name = "UploadNotFoundException";
|
|
919
|
-
$fault = "client";
|
|
920
|
-
constructor(opts) {
|
|
921
|
-
super({
|
|
922
|
-
name: "UploadNotFoundException",
|
|
923
|
-
$fault: "client",
|
|
924
|
-
...opts
|
|
925
|
-
});
|
|
926
|
-
Object.setPrototypeOf(this, _UploadNotFoundException.prototype);
|
|
927
|
-
}
|
|
928
|
-
};
|
|
929
|
-
var PullThroughCacheRuleAlreadyExistsException = class _PullThroughCacheRuleAlreadyExistsException extends ECRServiceException {
|
|
930
|
-
static {
|
|
931
|
-
__name(this, "PullThroughCacheRuleAlreadyExistsException");
|
|
932
|
-
}
|
|
933
|
-
name = "PullThroughCacheRuleAlreadyExistsException";
|
|
934
|
-
$fault = "client";
|
|
935
|
-
constructor(opts) {
|
|
936
|
-
super({
|
|
937
|
-
name: "PullThroughCacheRuleAlreadyExistsException",
|
|
938
|
-
$fault: "client",
|
|
939
|
-
...opts
|
|
940
|
-
});
|
|
941
|
-
Object.setPrototypeOf(this, _PullThroughCacheRuleAlreadyExistsException.prototype);
|
|
942
|
-
}
|
|
943
|
-
};
|
|
944
|
-
var SecretNotFoundException = class _SecretNotFoundException extends ECRServiceException {
|
|
945
|
-
static {
|
|
946
|
-
__name(this, "SecretNotFoundException");
|
|
947
|
-
}
|
|
948
|
-
name = "SecretNotFoundException";
|
|
949
|
-
$fault = "client";
|
|
950
|
-
constructor(opts) {
|
|
951
|
-
super({
|
|
952
|
-
name: "SecretNotFoundException",
|
|
953
|
-
$fault: "client",
|
|
954
|
-
...opts
|
|
955
|
-
});
|
|
956
|
-
Object.setPrototypeOf(this, _SecretNotFoundException.prototype);
|
|
957
|
-
}
|
|
958
|
-
};
|
|
959
|
-
var UnableToAccessSecretException = class _UnableToAccessSecretException extends ECRServiceException {
|
|
960
|
-
static {
|
|
961
|
-
__name(this, "UnableToAccessSecretException");
|
|
962
|
-
}
|
|
963
|
-
name = "UnableToAccessSecretException";
|
|
964
|
-
$fault = "client";
|
|
965
|
-
constructor(opts) {
|
|
966
|
-
super({
|
|
967
|
-
name: "UnableToAccessSecretException",
|
|
968
|
-
$fault: "client",
|
|
969
|
-
...opts
|
|
970
|
-
});
|
|
971
|
-
Object.setPrototypeOf(this, _UnableToAccessSecretException.prototype);
|
|
972
|
-
}
|
|
973
|
-
};
|
|
974
|
-
var UnableToDecryptSecretValueException = class _UnableToDecryptSecretValueException extends ECRServiceException {
|
|
975
|
-
static {
|
|
976
|
-
__name(this, "UnableToDecryptSecretValueException");
|
|
977
|
-
}
|
|
978
|
-
name = "UnableToDecryptSecretValueException";
|
|
979
|
-
$fault = "client";
|
|
980
|
-
constructor(opts) {
|
|
981
|
-
super({
|
|
982
|
-
name: "UnableToDecryptSecretValueException",
|
|
983
|
-
$fault: "client",
|
|
984
|
-
...opts
|
|
985
|
-
});
|
|
986
|
-
Object.setPrototypeOf(this, _UnableToDecryptSecretValueException.prototype);
|
|
987
|
-
}
|
|
988
|
-
};
|
|
989
|
-
var UnsupportedUpstreamRegistryException = class _UnsupportedUpstreamRegistryException extends ECRServiceException {
|
|
990
|
-
static {
|
|
991
|
-
__name(this, "UnsupportedUpstreamRegistryException");
|
|
992
|
-
}
|
|
993
|
-
name = "UnsupportedUpstreamRegistryException";
|
|
994
|
-
$fault = "client";
|
|
995
|
-
constructor(opts) {
|
|
996
|
-
super({
|
|
997
|
-
name: "UnsupportedUpstreamRegistryException",
|
|
998
|
-
$fault: "client",
|
|
999
|
-
...opts
|
|
1000
|
-
});
|
|
1001
|
-
Object.setPrototypeOf(this, _UnsupportedUpstreamRegistryException.prototype);
|
|
1002
|
-
}
|
|
1003
|
-
};
|
|
1004
|
-
var InvalidTagParameterException = class _InvalidTagParameterException extends ECRServiceException {
|
|
1005
|
-
static {
|
|
1006
|
-
__name(this, "InvalidTagParameterException");
|
|
1007
|
-
}
|
|
1008
|
-
name = "InvalidTagParameterException";
|
|
1009
|
-
$fault = "client";
|
|
1010
|
-
constructor(opts) {
|
|
1011
|
-
super({
|
|
1012
|
-
name: "InvalidTagParameterException",
|
|
1013
|
-
$fault: "client",
|
|
1014
|
-
...opts
|
|
1015
|
-
});
|
|
1016
|
-
Object.setPrototypeOf(this, _InvalidTagParameterException.prototype);
|
|
1017
|
-
}
|
|
1018
|
-
};
|
|
1019
|
-
var RepositoryAlreadyExistsException = class _RepositoryAlreadyExistsException extends ECRServiceException {
|
|
1020
|
-
static {
|
|
1021
|
-
__name(this, "RepositoryAlreadyExistsException");
|
|
1022
|
-
}
|
|
1023
|
-
name = "RepositoryAlreadyExistsException";
|
|
1024
|
-
$fault = "client";
|
|
1025
|
-
constructor(opts) {
|
|
1026
|
-
super({
|
|
1027
|
-
name: "RepositoryAlreadyExistsException",
|
|
1028
|
-
$fault: "client",
|
|
1029
|
-
...opts
|
|
1030
|
-
});
|
|
1031
|
-
Object.setPrototypeOf(this, _RepositoryAlreadyExistsException.prototype);
|
|
1032
|
-
}
|
|
1033
|
-
};
|
|
1034
|
-
var TooManyTagsException = class _TooManyTagsException extends ECRServiceException {
|
|
1035
|
-
static {
|
|
1036
|
-
__name(this, "TooManyTagsException");
|
|
1037
|
-
}
|
|
1038
|
-
name = "TooManyTagsException";
|
|
1039
|
-
$fault = "client";
|
|
1040
|
-
constructor(opts) {
|
|
1041
|
-
super({
|
|
1042
|
-
name: "TooManyTagsException",
|
|
1043
|
-
$fault: "client",
|
|
1044
|
-
...opts
|
|
1045
|
-
});
|
|
1046
|
-
Object.setPrototypeOf(this, _TooManyTagsException.prototype);
|
|
1047
|
-
}
|
|
1048
|
-
};
|
|
1049
|
-
var TemplateAlreadyExistsException = class _TemplateAlreadyExistsException extends ECRServiceException {
|
|
1050
|
-
static {
|
|
1051
|
-
__name(this, "TemplateAlreadyExistsException");
|
|
1052
|
-
}
|
|
1053
|
-
name = "TemplateAlreadyExistsException";
|
|
1054
|
-
$fault = "client";
|
|
1055
|
-
constructor(opts) {
|
|
1056
|
-
super({
|
|
1057
|
-
name: "TemplateAlreadyExistsException",
|
|
1058
|
-
$fault: "client",
|
|
1059
|
-
...opts
|
|
1060
|
-
});
|
|
1061
|
-
Object.setPrototypeOf(this, _TemplateAlreadyExistsException.prototype);
|
|
1062
|
-
}
|
|
1063
|
-
};
|
|
1064
|
-
var LifecyclePolicyNotFoundException = class _LifecyclePolicyNotFoundException extends ECRServiceException {
|
|
1065
|
-
static {
|
|
1066
|
-
__name(this, "LifecyclePolicyNotFoundException");
|
|
1067
|
-
}
|
|
1068
|
-
name = "LifecyclePolicyNotFoundException";
|
|
1069
|
-
$fault = "client";
|
|
1070
|
-
constructor(opts) {
|
|
1071
|
-
super({
|
|
1072
|
-
name: "LifecyclePolicyNotFoundException",
|
|
1073
|
-
$fault: "client",
|
|
1074
|
-
...opts
|
|
1075
|
-
});
|
|
1076
|
-
Object.setPrototypeOf(this, _LifecyclePolicyNotFoundException.prototype);
|
|
1077
|
-
}
|
|
1078
|
-
};
|
|
1079
|
-
var PullThroughCacheRuleNotFoundException = class _PullThroughCacheRuleNotFoundException extends ECRServiceException {
|
|
1080
|
-
static {
|
|
1081
|
-
__name(this, "PullThroughCacheRuleNotFoundException");
|
|
1082
|
-
}
|
|
1083
|
-
name = "PullThroughCacheRuleNotFoundException";
|
|
1084
|
-
$fault = "client";
|
|
1085
|
-
constructor(opts) {
|
|
1086
|
-
super({
|
|
1087
|
-
name: "PullThroughCacheRuleNotFoundException",
|
|
1088
|
-
$fault: "client",
|
|
1089
|
-
...opts
|
|
1090
|
-
});
|
|
1091
|
-
Object.setPrototypeOf(this, _PullThroughCacheRuleNotFoundException.prototype);
|
|
1092
|
-
}
|
|
1093
|
-
};
|
|
1094
|
-
var RegistryPolicyNotFoundException = class _RegistryPolicyNotFoundException extends ECRServiceException {
|
|
1095
|
-
static {
|
|
1096
|
-
__name(this, "RegistryPolicyNotFoundException");
|
|
1097
|
-
}
|
|
1098
|
-
name = "RegistryPolicyNotFoundException";
|
|
1099
|
-
$fault = "client";
|
|
1100
|
-
constructor(opts) {
|
|
1101
|
-
super({
|
|
1102
|
-
name: "RegistryPolicyNotFoundException",
|
|
1103
|
-
$fault: "client",
|
|
1104
|
-
...opts
|
|
1105
|
-
});
|
|
1106
|
-
Object.setPrototypeOf(this, _RegistryPolicyNotFoundException.prototype);
|
|
1107
|
-
}
|
|
1108
|
-
};
|
|
1109
|
-
var RepositoryNotEmptyException = class _RepositoryNotEmptyException extends ECRServiceException {
|
|
1110
|
-
static {
|
|
1111
|
-
__name(this, "RepositoryNotEmptyException");
|
|
1112
|
-
}
|
|
1113
|
-
name = "RepositoryNotEmptyException";
|
|
1114
|
-
$fault = "client";
|
|
1115
|
-
constructor(opts) {
|
|
1116
|
-
super({
|
|
1117
|
-
name: "RepositoryNotEmptyException",
|
|
1118
|
-
$fault: "client",
|
|
1119
|
-
...opts
|
|
1120
|
-
});
|
|
1121
|
-
Object.setPrototypeOf(this, _RepositoryNotEmptyException.prototype);
|
|
1122
|
-
}
|
|
1123
|
-
};
|
|
1124
|
-
var TemplateNotFoundException = class _TemplateNotFoundException extends ECRServiceException {
|
|
1125
|
-
static {
|
|
1126
|
-
__name(this, "TemplateNotFoundException");
|
|
1127
|
-
}
|
|
1128
|
-
name = "TemplateNotFoundException";
|
|
1129
|
-
$fault = "client";
|
|
1130
|
-
constructor(opts) {
|
|
1131
|
-
super({
|
|
1132
|
-
name: "TemplateNotFoundException",
|
|
1133
|
-
$fault: "client",
|
|
1134
|
-
...opts
|
|
1135
|
-
});
|
|
1136
|
-
Object.setPrototypeOf(this, _TemplateNotFoundException.prototype);
|
|
1137
|
-
}
|
|
1138
|
-
};
|
|
1139
|
-
var RepositoryPolicyNotFoundException = class _RepositoryPolicyNotFoundException extends ECRServiceException {
|
|
1140
|
-
static {
|
|
1141
|
-
__name(this, "RepositoryPolicyNotFoundException");
|
|
1142
|
-
}
|
|
1143
|
-
name = "RepositoryPolicyNotFoundException";
|
|
1144
|
-
$fault = "client";
|
|
1145
|
-
constructor(opts) {
|
|
1146
|
-
super({
|
|
1147
|
-
name: "RepositoryPolicyNotFoundException",
|
|
1148
|
-
$fault: "client",
|
|
1149
|
-
...opts
|
|
1150
|
-
});
|
|
1151
|
-
Object.setPrototypeOf(this, _RepositoryPolicyNotFoundException.prototype);
|
|
1152
|
-
}
|
|
1153
|
-
};
|
|
1154
|
-
var ImageNotFoundException = class _ImageNotFoundException extends ECRServiceException {
|
|
1155
|
-
static {
|
|
1156
|
-
__name(this, "ImageNotFoundException");
|
|
1157
|
-
}
|
|
1158
|
-
name = "ImageNotFoundException";
|
|
1159
|
-
$fault = "client";
|
|
1160
|
-
constructor(opts) {
|
|
1161
|
-
super({
|
|
1162
|
-
name: "ImageNotFoundException",
|
|
1163
|
-
$fault: "client",
|
|
1164
|
-
...opts
|
|
1165
|
-
});
|
|
1166
|
-
Object.setPrototypeOf(this, _ImageNotFoundException.prototype);
|
|
1167
|
-
}
|
|
1168
|
-
};
|
|
1169
|
-
var ScanNotFoundException = class _ScanNotFoundException extends ECRServiceException {
|
|
1170
|
-
static {
|
|
1171
|
-
__name(this, "ScanNotFoundException");
|
|
1172
|
-
}
|
|
1173
|
-
name = "ScanNotFoundException";
|
|
1174
|
-
$fault = "client";
|
|
1175
|
-
constructor(opts) {
|
|
1176
|
-
super({
|
|
1177
|
-
name: "ScanNotFoundException",
|
|
1178
|
-
$fault: "client",
|
|
1179
|
-
...opts
|
|
1180
|
-
});
|
|
1181
|
-
Object.setPrototypeOf(this, _ScanNotFoundException.prototype);
|
|
1182
|
-
}
|
|
1183
|
-
};
|
|
1184
|
-
var LayerInaccessibleException = class _LayerInaccessibleException extends ECRServiceException {
|
|
1185
|
-
static {
|
|
1186
|
-
__name(this, "LayerInaccessibleException");
|
|
1187
|
-
}
|
|
1188
|
-
name = "LayerInaccessibleException";
|
|
1189
|
-
$fault = "client";
|
|
1190
|
-
constructor(opts) {
|
|
1191
|
-
super({
|
|
1192
|
-
name: "LayerInaccessibleException",
|
|
1193
|
-
$fault: "client",
|
|
1194
|
-
...opts
|
|
1195
|
-
});
|
|
1196
|
-
Object.setPrototypeOf(this, _LayerInaccessibleException.prototype);
|
|
1197
|
-
}
|
|
1198
|
-
};
|
|
1199
|
-
var LayersNotFoundException = class _LayersNotFoundException extends ECRServiceException {
|
|
1200
|
-
static {
|
|
1201
|
-
__name(this, "LayersNotFoundException");
|
|
1202
|
-
}
|
|
1203
|
-
name = "LayersNotFoundException";
|
|
1204
|
-
$fault = "client";
|
|
1205
|
-
constructor(opts) {
|
|
1206
|
-
super({
|
|
1207
|
-
name: "LayersNotFoundException",
|
|
1208
|
-
$fault: "client",
|
|
1209
|
-
...opts
|
|
1210
|
-
});
|
|
1211
|
-
Object.setPrototypeOf(this, _LayersNotFoundException.prototype);
|
|
1212
|
-
}
|
|
1213
|
-
};
|
|
1214
|
-
var UnableToGetUpstreamLayerException = class _UnableToGetUpstreamLayerException extends ECRServiceException {
|
|
1215
|
-
static {
|
|
1216
|
-
__name(this, "UnableToGetUpstreamLayerException");
|
|
1217
|
-
}
|
|
1218
|
-
name = "UnableToGetUpstreamLayerException";
|
|
1219
|
-
$fault = "client";
|
|
1220
|
-
constructor(opts) {
|
|
1221
|
-
super({
|
|
1222
|
-
name: "UnableToGetUpstreamLayerException",
|
|
1223
|
-
$fault: "client",
|
|
1224
|
-
...opts
|
|
1225
|
-
});
|
|
1226
|
-
Object.setPrototypeOf(this, _UnableToGetUpstreamLayerException.prototype);
|
|
1227
|
-
}
|
|
1228
|
-
};
|
|
1229
|
-
var LifecyclePolicyPreviewNotFoundException = class _LifecyclePolicyPreviewNotFoundException extends ECRServiceException {
|
|
1230
|
-
static {
|
|
1231
|
-
__name(this, "LifecyclePolicyPreviewNotFoundException");
|
|
1232
|
-
}
|
|
1233
|
-
name = "LifecyclePolicyPreviewNotFoundException";
|
|
1234
|
-
$fault = "client";
|
|
1235
|
-
constructor(opts) {
|
|
1236
|
-
super({
|
|
1237
|
-
name: "LifecyclePolicyPreviewNotFoundException",
|
|
1238
|
-
$fault: "client",
|
|
1239
|
-
...opts
|
|
1240
|
-
});
|
|
1241
|
-
Object.setPrototypeOf(this, _LifecyclePolicyPreviewNotFoundException.prototype);
|
|
1242
|
-
}
|
|
1243
|
-
};
|
|
1244
|
-
var ImageAlreadyExistsException = class _ImageAlreadyExistsException extends ECRServiceException {
|
|
1245
|
-
static {
|
|
1246
|
-
__name(this, "ImageAlreadyExistsException");
|
|
1247
|
-
}
|
|
1248
|
-
name = "ImageAlreadyExistsException";
|
|
1249
|
-
$fault = "client";
|
|
1250
|
-
constructor(opts) {
|
|
1251
|
-
super({
|
|
1252
|
-
name: "ImageAlreadyExistsException",
|
|
1253
|
-
$fault: "client",
|
|
1254
|
-
...opts
|
|
1255
|
-
});
|
|
1256
|
-
Object.setPrototypeOf(this, _ImageAlreadyExistsException.prototype);
|
|
1257
|
-
}
|
|
1258
|
-
};
|
|
1259
|
-
var ImageDigestDoesNotMatchException = class _ImageDigestDoesNotMatchException extends ECRServiceException {
|
|
1260
|
-
static {
|
|
1261
|
-
__name(this, "ImageDigestDoesNotMatchException");
|
|
1262
|
-
}
|
|
1263
|
-
name = "ImageDigestDoesNotMatchException";
|
|
1264
|
-
$fault = "client";
|
|
1265
|
-
constructor(opts) {
|
|
1266
|
-
super({
|
|
1267
|
-
name: "ImageDigestDoesNotMatchException",
|
|
1268
|
-
$fault: "client",
|
|
1269
|
-
...opts
|
|
1270
|
-
});
|
|
1271
|
-
Object.setPrototypeOf(this, _ImageDigestDoesNotMatchException.prototype);
|
|
1272
|
-
}
|
|
1273
|
-
};
|
|
1274
|
-
var ImageTagAlreadyExistsException = class _ImageTagAlreadyExistsException extends ECRServiceException {
|
|
1275
|
-
static {
|
|
1276
|
-
__name(this, "ImageTagAlreadyExistsException");
|
|
1277
|
-
}
|
|
1278
|
-
name = "ImageTagAlreadyExistsException";
|
|
1279
|
-
$fault = "client";
|
|
1280
|
-
constructor(opts) {
|
|
1281
|
-
super({
|
|
1282
|
-
name: "ImageTagAlreadyExistsException",
|
|
1283
|
-
$fault: "client",
|
|
1284
|
-
...opts
|
|
1285
|
-
});
|
|
1286
|
-
Object.setPrototypeOf(this, _ImageTagAlreadyExistsException.prototype);
|
|
1287
|
-
}
|
|
1288
|
-
};
|
|
1289
|
-
var ReferencedImagesNotFoundException = class _ReferencedImagesNotFoundException extends ECRServiceException {
|
|
1290
|
-
static {
|
|
1291
|
-
__name(this, "ReferencedImagesNotFoundException");
|
|
1292
|
-
}
|
|
1293
|
-
name = "ReferencedImagesNotFoundException";
|
|
1294
|
-
$fault = "client";
|
|
1295
|
-
constructor(opts) {
|
|
1296
|
-
super({
|
|
1297
|
-
name: "ReferencedImagesNotFoundException",
|
|
1298
|
-
$fault: "client",
|
|
1299
|
-
...opts
|
|
1300
|
-
});
|
|
1301
|
-
Object.setPrototypeOf(this, _ReferencedImagesNotFoundException.prototype);
|
|
1302
|
-
}
|
|
1303
|
-
};
|
|
1304
|
-
var UnsupportedImageTypeException = class _UnsupportedImageTypeException extends ECRServiceException {
|
|
1305
|
-
static {
|
|
1306
|
-
__name(this, "UnsupportedImageTypeException");
|
|
1307
|
-
}
|
|
1308
|
-
name = "UnsupportedImageTypeException";
|
|
1309
|
-
$fault = "client";
|
|
1310
|
-
constructor(opts) {
|
|
1311
|
-
super({
|
|
1312
|
-
name: "UnsupportedImageTypeException",
|
|
1313
|
-
$fault: "client",
|
|
1314
|
-
...opts
|
|
1315
|
-
});
|
|
1316
|
-
Object.setPrototypeOf(this, _UnsupportedImageTypeException.prototype);
|
|
1317
|
-
}
|
|
1318
|
-
};
|
|
1319
|
-
var LifecyclePolicyPreviewInProgressException = class _LifecyclePolicyPreviewInProgressException extends ECRServiceException {
|
|
1320
|
-
static {
|
|
1321
|
-
__name(this, "LifecyclePolicyPreviewInProgressException");
|
|
1322
|
-
}
|
|
1323
|
-
name = "LifecyclePolicyPreviewInProgressException";
|
|
1324
|
-
$fault = "client";
|
|
1325
|
-
constructor(opts) {
|
|
1326
|
-
super({
|
|
1327
|
-
name: "LifecyclePolicyPreviewInProgressException",
|
|
1328
|
-
$fault: "client",
|
|
1329
|
-
...opts
|
|
1330
|
-
});
|
|
1331
|
-
Object.setPrototypeOf(this, _LifecyclePolicyPreviewInProgressException.prototype);
|
|
1332
|
-
}
|
|
1333
|
-
};
|
|
1334
|
-
var InvalidLayerPartException = class _InvalidLayerPartException extends ECRServiceException {
|
|
1335
|
-
static {
|
|
1336
|
-
__name(this, "InvalidLayerPartException");
|
|
1337
|
-
}
|
|
1338
|
-
name = "InvalidLayerPartException";
|
|
1339
|
-
$fault = "client";
|
|
1340
|
-
registryId;
|
|
1341
|
-
repositoryName;
|
|
1342
|
-
uploadId;
|
|
1343
|
-
lastValidByteReceived;
|
|
1344
|
-
constructor(opts) {
|
|
1345
|
-
super({
|
|
1346
|
-
name: "InvalidLayerPartException",
|
|
1347
|
-
$fault: "client",
|
|
1348
|
-
...opts
|
|
1349
|
-
});
|
|
1350
|
-
Object.setPrototypeOf(this, _InvalidLayerPartException.prototype);
|
|
1351
|
-
this.registryId = opts.registryId;
|
|
1352
|
-
this.repositoryName = opts.repositoryName;
|
|
1353
|
-
this.uploadId = opts.uploadId;
|
|
1354
|
-
this.lastValidByteReceived = opts.lastValidByteReceived;
|
|
1355
|
-
}
|
|
1356
|
-
};
|
|
1357
|
-
|
|
1358
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/protocols/Aws_json1_1.js
|
|
1359
|
-
var se_ListImagesCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1360
|
-
const headers = sharedHeaders("ListImages");
|
|
1361
|
-
let body;
|
|
1362
|
-
body = JSON.stringify(_json(input));
|
|
1363
|
-
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1364
|
-
}, "se_ListImagesCommand");
|
|
1365
|
-
var de_ListImagesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1366
|
-
if (output.statusCode >= 300) {
|
|
1367
|
-
return de_CommandError(output, context);
|
|
1368
|
-
}
|
|
1369
|
-
const data = await parseJsonBody(output.body, context);
|
|
1370
|
-
let contents = {};
|
|
1371
|
-
contents = _json(data);
|
|
1372
|
-
const response = {
|
|
1373
|
-
$metadata: deserializeMetadata(output),
|
|
1374
|
-
...contents
|
|
1375
|
-
};
|
|
1376
|
-
return response;
|
|
1377
|
-
}, "de_ListImagesCommand");
|
|
1378
|
-
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1379
|
-
const parsedOutput = {
|
|
1380
|
-
...output,
|
|
1381
|
-
body: await parseJsonErrorBody(output.body, context)
|
|
1382
|
-
};
|
|
1383
|
-
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1384
|
-
switch (errorCode) {
|
|
1385
|
-
case "InvalidParameterException":
|
|
1386
|
-
case "com.amazonaws.ecr#InvalidParameterException":
|
|
1387
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1388
|
-
case "RepositoryNotFoundException":
|
|
1389
|
-
case "com.amazonaws.ecr#RepositoryNotFoundException":
|
|
1390
|
-
throw await de_RepositoryNotFoundExceptionRes(parsedOutput, context);
|
|
1391
|
-
case "ServerException":
|
|
1392
|
-
case "com.amazonaws.ecr#ServerException":
|
|
1393
|
-
throw await de_ServerExceptionRes(parsedOutput, context);
|
|
1394
|
-
case "LimitExceededException":
|
|
1395
|
-
case "com.amazonaws.ecr#LimitExceededException":
|
|
1396
|
-
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1397
|
-
case "UnableToGetUpstreamImageException":
|
|
1398
|
-
case "com.amazonaws.ecr#UnableToGetUpstreamImageException":
|
|
1399
|
-
throw await de_UnableToGetUpstreamImageExceptionRes(parsedOutput, context);
|
|
1400
|
-
case "ValidationException":
|
|
1401
|
-
case "com.amazonaws.ecr#ValidationException":
|
|
1402
|
-
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
1403
|
-
case "EmptyUploadException":
|
|
1404
|
-
case "com.amazonaws.ecr#EmptyUploadException":
|
|
1405
|
-
throw await de_EmptyUploadExceptionRes(parsedOutput, context);
|
|
1406
|
-
case "InvalidLayerException":
|
|
1407
|
-
case "com.amazonaws.ecr#InvalidLayerException":
|
|
1408
|
-
throw await de_InvalidLayerExceptionRes(parsedOutput, context);
|
|
1409
|
-
case "KmsException":
|
|
1410
|
-
case "com.amazonaws.ecr#KmsException":
|
|
1411
|
-
throw await de_KmsExceptionRes(parsedOutput, context);
|
|
1412
|
-
case "LayerAlreadyExistsException":
|
|
1413
|
-
case "com.amazonaws.ecr#LayerAlreadyExistsException":
|
|
1414
|
-
throw await de_LayerAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1415
|
-
case "LayerPartTooSmallException":
|
|
1416
|
-
case "com.amazonaws.ecr#LayerPartTooSmallException":
|
|
1417
|
-
throw await de_LayerPartTooSmallExceptionRes(parsedOutput, context);
|
|
1418
|
-
case "UploadNotFoundException":
|
|
1419
|
-
case "com.amazonaws.ecr#UploadNotFoundException":
|
|
1420
|
-
throw await de_UploadNotFoundExceptionRes(parsedOutput, context);
|
|
1421
|
-
case "PullThroughCacheRuleAlreadyExistsException":
|
|
1422
|
-
case "com.amazonaws.ecr#PullThroughCacheRuleAlreadyExistsException":
|
|
1423
|
-
throw await de_PullThroughCacheRuleAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1424
|
-
case "SecretNotFoundException":
|
|
1425
|
-
case "com.amazonaws.ecr#SecretNotFoundException":
|
|
1426
|
-
throw await de_SecretNotFoundExceptionRes(parsedOutput, context);
|
|
1427
|
-
case "UnableToAccessSecretException":
|
|
1428
|
-
case "com.amazonaws.ecr#UnableToAccessSecretException":
|
|
1429
|
-
throw await de_UnableToAccessSecretExceptionRes(parsedOutput, context);
|
|
1430
|
-
case "UnableToDecryptSecretValueException":
|
|
1431
|
-
case "com.amazonaws.ecr#UnableToDecryptSecretValueException":
|
|
1432
|
-
throw await de_UnableToDecryptSecretValueExceptionRes(parsedOutput, context);
|
|
1433
|
-
case "UnsupportedUpstreamRegistryException":
|
|
1434
|
-
case "com.amazonaws.ecr#UnsupportedUpstreamRegistryException":
|
|
1435
|
-
throw await de_UnsupportedUpstreamRegistryExceptionRes(parsedOutput, context);
|
|
1436
|
-
case "InvalidTagParameterException":
|
|
1437
|
-
case "com.amazonaws.ecr#InvalidTagParameterException":
|
|
1438
|
-
throw await de_InvalidTagParameterExceptionRes(parsedOutput, context);
|
|
1439
|
-
case "RepositoryAlreadyExistsException":
|
|
1440
|
-
case "com.amazonaws.ecr#RepositoryAlreadyExistsException":
|
|
1441
|
-
throw await de_RepositoryAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1442
|
-
case "TooManyTagsException":
|
|
1443
|
-
case "com.amazonaws.ecr#TooManyTagsException":
|
|
1444
|
-
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
1445
|
-
case "TemplateAlreadyExistsException":
|
|
1446
|
-
case "com.amazonaws.ecr#TemplateAlreadyExistsException":
|
|
1447
|
-
throw await de_TemplateAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1448
|
-
case "LifecyclePolicyNotFoundException":
|
|
1449
|
-
case "com.amazonaws.ecr#LifecyclePolicyNotFoundException":
|
|
1450
|
-
throw await de_LifecyclePolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1451
|
-
case "PullThroughCacheRuleNotFoundException":
|
|
1452
|
-
case "com.amazonaws.ecr#PullThroughCacheRuleNotFoundException":
|
|
1453
|
-
throw await de_PullThroughCacheRuleNotFoundExceptionRes(parsedOutput, context);
|
|
1454
|
-
case "RegistryPolicyNotFoundException":
|
|
1455
|
-
case "com.amazonaws.ecr#RegistryPolicyNotFoundException":
|
|
1456
|
-
throw await de_RegistryPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1457
|
-
case "RepositoryNotEmptyException":
|
|
1458
|
-
case "com.amazonaws.ecr#RepositoryNotEmptyException":
|
|
1459
|
-
throw await de_RepositoryNotEmptyExceptionRes(parsedOutput, context);
|
|
1460
|
-
case "TemplateNotFoundException":
|
|
1461
|
-
case "com.amazonaws.ecr#TemplateNotFoundException":
|
|
1462
|
-
throw await de_TemplateNotFoundExceptionRes(parsedOutput, context);
|
|
1463
|
-
case "RepositoryPolicyNotFoundException":
|
|
1464
|
-
case "com.amazonaws.ecr#RepositoryPolicyNotFoundException":
|
|
1465
|
-
throw await de_RepositoryPolicyNotFoundExceptionRes(parsedOutput, context);
|
|
1466
|
-
case "ImageNotFoundException":
|
|
1467
|
-
case "com.amazonaws.ecr#ImageNotFoundException":
|
|
1468
|
-
throw await de_ImageNotFoundExceptionRes(parsedOutput, context);
|
|
1469
|
-
case "ScanNotFoundException":
|
|
1470
|
-
case "com.amazonaws.ecr#ScanNotFoundException":
|
|
1471
|
-
throw await de_ScanNotFoundExceptionRes(parsedOutput, context);
|
|
1472
|
-
case "LayerInaccessibleException":
|
|
1473
|
-
case "com.amazonaws.ecr#LayerInaccessibleException":
|
|
1474
|
-
throw await de_LayerInaccessibleExceptionRes(parsedOutput, context);
|
|
1475
|
-
case "LayersNotFoundException":
|
|
1476
|
-
case "com.amazonaws.ecr#LayersNotFoundException":
|
|
1477
|
-
throw await de_LayersNotFoundExceptionRes(parsedOutput, context);
|
|
1478
|
-
case "UnableToGetUpstreamLayerException":
|
|
1479
|
-
case "com.amazonaws.ecr#UnableToGetUpstreamLayerException":
|
|
1480
|
-
throw await de_UnableToGetUpstreamLayerExceptionRes(parsedOutput, context);
|
|
1481
|
-
case "LifecyclePolicyPreviewNotFoundException":
|
|
1482
|
-
case "com.amazonaws.ecr#LifecyclePolicyPreviewNotFoundException":
|
|
1483
|
-
throw await de_LifecyclePolicyPreviewNotFoundExceptionRes(parsedOutput, context);
|
|
1484
|
-
case "ImageAlreadyExistsException":
|
|
1485
|
-
case "com.amazonaws.ecr#ImageAlreadyExistsException":
|
|
1486
|
-
throw await de_ImageAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1487
|
-
case "ImageDigestDoesNotMatchException":
|
|
1488
|
-
case "com.amazonaws.ecr#ImageDigestDoesNotMatchException":
|
|
1489
|
-
throw await de_ImageDigestDoesNotMatchExceptionRes(parsedOutput, context);
|
|
1490
|
-
case "ImageTagAlreadyExistsException":
|
|
1491
|
-
case "com.amazonaws.ecr#ImageTagAlreadyExistsException":
|
|
1492
|
-
throw await de_ImageTagAlreadyExistsExceptionRes(parsedOutput, context);
|
|
1493
|
-
case "ReferencedImagesNotFoundException":
|
|
1494
|
-
case "com.amazonaws.ecr#ReferencedImagesNotFoundException":
|
|
1495
|
-
throw await de_ReferencedImagesNotFoundExceptionRes(parsedOutput, context);
|
|
1496
|
-
case "UnsupportedImageTypeException":
|
|
1497
|
-
case "com.amazonaws.ecr#UnsupportedImageTypeException":
|
|
1498
|
-
throw await de_UnsupportedImageTypeExceptionRes(parsedOutput, context);
|
|
1499
|
-
case "LifecyclePolicyPreviewInProgressException":
|
|
1500
|
-
case "com.amazonaws.ecr#LifecyclePolicyPreviewInProgressException":
|
|
1501
|
-
throw await de_LifecyclePolicyPreviewInProgressExceptionRes(parsedOutput, context);
|
|
1502
|
-
case "InvalidLayerPartException":
|
|
1503
|
-
case "com.amazonaws.ecr#InvalidLayerPartException":
|
|
1504
|
-
throw await de_InvalidLayerPartExceptionRes(parsedOutput, context);
|
|
1505
|
-
default:
|
|
1506
|
-
const parsedBody = parsedOutput.body;
|
|
1507
|
-
return throwDefaultError({
|
|
1508
|
-
output,
|
|
1509
|
-
parsedBody,
|
|
1510
|
-
errorCode
|
|
1511
|
-
});
|
|
1512
|
-
}
|
|
1513
|
-
}, "de_CommandError");
|
|
1514
|
-
var de_EmptyUploadExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1515
|
-
const body = parsedOutput.body;
|
|
1516
|
-
const deserialized = _json(body);
|
|
1517
|
-
const exception = new EmptyUploadException({
|
|
1518
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1519
|
-
...deserialized
|
|
1520
|
-
});
|
|
1521
|
-
return decorateServiceException(exception, body);
|
|
1522
|
-
}, "de_EmptyUploadExceptionRes");
|
|
1523
|
-
var de_ImageAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1524
|
-
const body = parsedOutput.body;
|
|
1525
|
-
const deserialized = _json(body);
|
|
1526
|
-
const exception = new ImageAlreadyExistsException({
|
|
1527
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1528
|
-
...deserialized
|
|
1529
|
-
});
|
|
1530
|
-
return decorateServiceException(exception, body);
|
|
1531
|
-
}, "de_ImageAlreadyExistsExceptionRes");
|
|
1532
|
-
var de_ImageDigestDoesNotMatchExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1533
|
-
const body = parsedOutput.body;
|
|
1534
|
-
const deserialized = _json(body);
|
|
1535
|
-
const exception = new ImageDigestDoesNotMatchException({
|
|
1536
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1537
|
-
...deserialized
|
|
1538
|
-
});
|
|
1539
|
-
return decorateServiceException(exception, body);
|
|
1540
|
-
}, "de_ImageDigestDoesNotMatchExceptionRes");
|
|
1541
|
-
var de_ImageNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1542
|
-
const body = parsedOutput.body;
|
|
1543
|
-
const deserialized = _json(body);
|
|
1544
|
-
const exception = new ImageNotFoundException({
|
|
1545
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1546
|
-
...deserialized
|
|
1547
|
-
});
|
|
1548
|
-
return decorateServiceException(exception, body);
|
|
1549
|
-
}, "de_ImageNotFoundExceptionRes");
|
|
1550
|
-
var de_ImageTagAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1551
|
-
const body = parsedOutput.body;
|
|
1552
|
-
const deserialized = _json(body);
|
|
1553
|
-
const exception = new ImageTagAlreadyExistsException({
|
|
1554
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1555
|
-
...deserialized
|
|
1556
|
-
});
|
|
1557
|
-
return decorateServiceException(exception, body);
|
|
1558
|
-
}, "de_ImageTagAlreadyExistsExceptionRes");
|
|
1559
|
-
var de_InvalidLayerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1560
|
-
const body = parsedOutput.body;
|
|
1561
|
-
const deserialized = _json(body);
|
|
1562
|
-
const exception = new InvalidLayerException({
|
|
1563
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1564
|
-
...deserialized
|
|
1565
|
-
});
|
|
1566
|
-
return decorateServiceException(exception, body);
|
|
1567
|
-
}, "de_InvalidLayerExceptionRes");
|
|
1568
|
-
var de_InvalidLayerPartExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1569
|
-
const body = parsedOutput.body;
|
|
1570
|
-
const deserialized = _json(body);
|
|
1571
|
-
const exception = new InvalidLayerPartException({
|
|
1572
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1573
|
-
...deserialized
|
|
1574
|
-
});
|
|
1575
|
-
return decorateServiceException(exception, body);
|
|
1576
|
-
}, "de_InvalidLayerPartExceptionRes");
|
|
1577
|
-
var de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1578
|
-
const body = parsedOutput.body;
|
|
1579
|
-
const deserialized = _json(body);
|
|
1580
|
-
const exception = new InvalidParameterException({
|
|
1581
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1582
|
-
...deserialized
|
|
1583
|
-
});
|
|
1584
|
-
return decorateServiceException(exception, body);
|
|
1585
|
-
}, "de_InvalidParameterExceptionRes");
|
|
1586
|
-
var de_InvalidTagParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1587
|
-
const body = parsedOutput.body;
|
|
1588
|
-
const deserialized = _json(body);
|
|
1589
|
-
const exception = new InvalidTagParameterException({
|
|
1590
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1591
|
-
...deserialized
|
|
1592
|
-
});
|
|
1593
|
-
return decorateServiceException(exception, body);
|
|
1594
|
-
}, "de_InvalidTagParameterExceptionRes");
|
|
1595
|
-
var de_KmsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1596
|
-
const body = parsedOutput.body;
|
|
1597
|
-
const deserialized = _json(body);
|
|
1598
|
-
const exception = new KmsException({
|
|
1599
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1600
|
-
...deserialized
|
|
1601
|
-
});
|
|
1602
|
-
return decorateServiceException(exception, body);
|
|
1603
|
-
}, "de_KmsExceptionRes");
|
|
1604
|
-
var de_LayerAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1605
|
-
const body = parsedOutput.body;
|
|
1606
|
-
const deserialized = _json(body);
|
|
1607
|
-
const exception = new LayerAlreadyExistsException({
|
|
1608
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1609
|
-
...deserialized
|
|
1610
|
-
});
|
|
1611
|
-
return decorateServiceException(exception, body);
|
|
1612
|
-
}, "de_LayerAlreadyExistsExceptionRes");
|
|
1613
|
-
var de_LayerInaccessibleExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1614
|
-
const body = parsedOutput.body;
|
|
1615
|
-
const deserialized = _json(body);
|
|
1616
|
-
const exception = new LayerInaccessibleException({
|
|
1617
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1618
|
-
...deserialized
|
|
1619
|
-
});
|
|
1620
|
-
return decorateServiceException(exception, body);
|
|
1621
|
-
}, "de_LayerInaccessibleExceptionRes");
|
|
1622
|
-
var de_LayerPartTooSmallExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1623
|
-
const body = parsedOutput.body;
|
|
1624
|
-
const deserialized = _json(body);
|
|
1625
|
-
const exception = new LayerPartTooSmallException({
|
|
1626
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1627
|
-
...deserialized
|
|
1628
|
-
});
|
|
1629
|
-
return decorateServiceException(exception, body);
|
|
1630
|
-
}, "de_LayerPartTooSmallExceptionRes");
|
|
1631
|
-
var de_LayersNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1632
|
-
const body = parsedOutput.body;
|
|
1633
|
-
const deserialized = _json(body);
|
|
1634
|
-
const exception = new LayersNotFoundException({
|
|
1635
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1636
|
-
...deserialized
|
|
1637
|
-
});
|
|
1638
|
-
return decorateServiceException(exception, body);
|
|
1639
|
-
}, "de_LayersNotFoundExceptionRes");
|
|
1640
|
-
var de_LifecyclePolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1641
|
-
const body = parsedOutput.body;
|
|
1642
|
-
const deserialized = _json(body);
|
|
1643
|
-
const exception = new LifecyclePolicyNotFoundException({
|
|
1644
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1645
|
-
...deserialized
|
|
1646
|
-
});
|
|
1647
|
-
return decorateServiceException(exception, body);
|
|
1648
|
-
}, "de_LifecyclePolicyNotFoundExceptionRes");
|
|
1649
|
-
var de_LifecyclePolicyPreviewInProgressExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1650
|
-
const body = parsedOutput.body;
|
|
1651
|
-
const deserialized = _json(body);
|
|
1652
|
-
const exception = new LifecyclePolicyPreviewInProgressException({
|
|
1653
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1654
|
-
...deserialized
|
|
1655
|
-
});
|
|
1656
|
-
return decorateServiceException(exception, body);
|
|
1657
|
-
}, "de_LifecyclePolicyPreviewInProgressExceptionRes");
|
|
1658
|
-
var de_LifecyclePolicyPreviewNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1659
|
-
const body = parsedOutput.body;
|
|
1660
|
-
const deserialized = _json(body);
|
|
1661
|
-
const exception = new LifecyclePolicyPreviewNotFoundException({
|
|
1662
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1663
|
-
...deserialized
|
|
1664
|
-
});
|
|
1665
|
-
return decorateServiceException(exception, body);
|
|
1666
|
-
}, "de_LifecyclePolicyPreviewNotFoundExceptionRes");
|
|
1667
|
-
var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1668
|
-
const body = parsedOutput.body;
|
|
1669
|
-
const deserialized = _json(body);
|
|
1670
|
-
const exception = new LimitExceededException({
|
|
1671
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1672
|
-
...deserialized
|
|
1673
|
-
});
|
|
1674
|
-
return decorateServiceException(exception, body);
|
|
1675
|
-
}, "de_LimitExceededExceptionRes");
|
|
1676
|
-
var de_PullThroughCacheRuleAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1677
|
-
const body = parsedOutput.body;
|
|
1678
|
-
const deserialized = _json(body);
|
|
1679
|
-
const exception = new PullThroughCacheRuleAlreadyExistsException({
|
|
1680
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1681
|
-
...deserialized
|
|
1682
|
-
});
|
|
1683
|
-
return decorateServiceException(exception, body);
|
|
1684
|
-
}, "de_PullThroughCacheRuleAlreadyExistsExceptionRes");
|
|
1685
|
-
var de_PullThroughCacheRuleNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1686
|
-
const body = parsedOutput.body;
|
|
1687
|
-
const deserialized = _json(body);
|
|
1688
|
-
const exception = new PullThroughCacheRuleNotFoundException({
|
|
1689
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1690
|
-
...deserialized
|
|
1691
|
-
});
|
|
1692
|
-
return decorateServiceException(exception, body);
|
|
1693
|
-
}, "de_PullThroughCacheRuleNotFoundExceptionRes");
|
|
1694
|
-
var de_ReferencedImagesNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1695
|
-
const body = parsedOutput.body;
|
|
1696
|
-
const deserialized = _json(body);
|
|
1697
|
-
const exception = new ReferencedImagesNotFoundException({
|
|
1698
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1699
|
-
...deserialized
|
|
1700
|
-
});
|
|
1701
|
-
return decorateServiceException(exception, body);
|
|
1702
|
-
}, "de_ReferencedImagesNotFoundExceptionRes");
|
|
1703
|
-
var de_RegistryPolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1704
|
-
const body = parsedOutput.body;
|
|
1705
|
-
const deserialized = _json(body);
|
|
1706
|
-
const exception = new RegistryPolicyNotFoundException({
|
|
1707
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1708
|
-
...deserialized
|
|
1709
|
-
});
|
|
1710
|
-
return decorateServiceException(exception, body);
|
|
1711
|
-
}, "de_RegistryPolicyNotFoundExceptionRes");
|
|
1712
|
-
var de_RepositoryAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1713
|
-
const body = parsedOutput.body;
|
|
1714
|
-
const deserialized = _json(body);
|
|
1715
|
-
const exception = new RepositoryAlreadyExistsException({
|
|
1716
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1717
|
-
...deserialized
|
|
1718
|
-
});
|
|
1719
|
-
return decorateServiceException(exception, body);
|
|
1720
|
-
}, "de_RepositoryAlreadyExistsExceptionRes");
|
|
1721
|
-
var de_RepositoryNotEmptyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1722
|
-
const body = parsedOutput.body;
|
|
1723
|
-
const deserialized = _json(body);
|
|
1724
|
-
const exception = new RepositoryNotEmptyException({
|
|
1725
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1726
|
-
...deserialized
|
|
1727
|
-
});
|
|
1728
|
-
return decorateServiceException(exception, body);
|
|
1729
|
-
}, "de_RepositoryNotEmptyExceptionRes");
|
|
1730
|
-
var de_RepositoryNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1731
|
-
const body = parsedOutput.body;
|
|
1732
|
-
const deserialized = _json(body);
|
|
1733
|
-
const exception = new RepositoryNotFoundException({
|
|
1734
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1735
|
-
...deserialized
|
|
1736
|
-
});
|
|
1737
|
-
return decorateServiceException(exception, body);
|
|
1738
|
-
}, "de_RepositoryNotFoundExceptionRes");
|
|
1739
|
-
var de_RepositoryPolicyNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1740
|
-
const body = parsedOutput.body;
|
|
1741
|
-
const deserialized = _json(body);
|
|
1742
|
-
const exception = new RepositoryPolicyNotFoundException({
|
|
1743
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1744
|
-
...deserialized
|
|
1745
|
-
});
|
|
1746
|
-
return decorateServiceException(exception, body);
|
|
1747
|
-
}, "de_RepositoryPolicyNotFoundExceptionRes");
|
|
1748
|
-
var de_ScanNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1749
|
-
const body = parsedOutput.body;
|
|
1750
|
-
const deserialized = _json(body);
|
|
1751
|
-
const exception = new ScanNotFoundException({
|
|
1752
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1753
|
-
...deserialized
|
|
1754
|
-
});
|
|
1755
|
-
return decorateServiceException(exception, body);
|
|
1756
|
-
}, "de_ScanNotFoundExceptionRes");
|
|
1757
|
-
var de_SecretNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1758
|
-
const body = parsedOutput.body;
|
|
1759
|
-
const deserialized = _json(body);
|
|
1760
|
-
const exception = new SecretNotFoundException({
|
|
1761
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1762
|
-
...deserialized
|
|
1763
|
-
});
|
|
1764
|
-
return decorateServiceException(exception, body);
|
|
1765
|
-
}, "de_SecretNotFoundExceptionRes");
|
|
1766
|
-
var de_ServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1767
|
-
const body = parsedOutput.body;
|
|
1768
|
-
const deserialized = _json(body);
|
|
1769
|
-
const exception = new ServerException({
|
|
1770
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1771
|
-
...deserialized
|
|
1772
|
-
});
|
|
1773
|
-
return decorateServiceException(exception, body);
|
|
1774
|
-
}, "de_ServerExceptionRes");
|
|
1775
|
-
var de_TemplateAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1776
|
-
const body = parsedOutput.body;
|
|
1777
|
-
const deserialized = _json(body);
|
|
1778
|
-
const exception = new TemplateAlreadyExistsException({
|
|
1779
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1780
|
-
...deserialized
|
|
1781
|
-
});
|
|
1782
|
-
return decorateServiceException(exception, body);
|
|
1783
|
-
}, "de_TemplateAlreadyExistsExceptionRes");
|
|
1784
|
-
var de_TemplateNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1785
|
-
const body = parsedOutput.body;
|
|
1786
|
-
const deserialized = _json(body);
|
|
1787
|
-
const exception = new TemplateNotFoundException({
|
|
1788
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1789
|
-
...deserialized
|
|
1790
|
-
});
|
|
1791
|
-
return decorateServiceException(exception, body);
|
|
1792
|
-
}, "de_TemplateNotFoundExceptionRes");
|
|
1793
|
-
var de_TooManyTagsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1794
|
-
const body = parsedOutput.body;
|
|
1795
|
-
const deserialized = _json(body);
|
|
1796
|
-
const exception = new TooManyTagsException({
|
|
1797
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1798
|
-
...deserialized
|
|
1799
|
-
});
|
|
1800
|
-
return decorateServiceException(exception, body);
|
|
1801
|
-
}, "de_TooManyTagsExceptionRes");
|
|
1802
|
-
var de_UnableToAccessSecretExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1803
|
-
const body = parsedOutput.body;
|
|
1804
|
-
const deserialized = _json(body);
|
|
1805
|
-
const exception = new UnableToAccessSecretException({
|
|
1806
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1807
|
-
...deserialized
|
|
1808
|
-
});
|
|
1809
|
-
return decorateServiceException(exception, body);
|
|
1810
|
-
}, "de_UnableToAccessSecretExceptionRes");
|
|
1811
|
-
var de_UnableToDecryptSecretValueExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1812
|
-
const body = parsedOutput.body;
|
|
1813
|
-
const deserialized = _json(body);
|
|
1814
|
-
const exception = new UnableToDecryptSecretValueException({
|
|
1815
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1816
|
-
...deserialized
|
|
1817
|
-
});
|
|
1818
|
-
return decorateServiceException(exception, body);
|
|
1819
|
-
}, "de_UnableToDecryptSecretValueExceptionRes");
|
|
1820
|
-
var de_UnableToGetUpstreamImageExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1821
|
-
const body = parsedOutput.body;
|
|
1822
|
-
const deserialized = _json(body);
|
|
1823
|
-
const exception = new UnableToGetUpstreamImageException({
|
|
1824
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1825
|
-
...deserialized
|
|
1826
|
-
});
|
|
1827
|
-
return decorateServiceException(exception, body);
|
|
1828
|
-
}, "de_UnableToGetUpstreamImageExceptionRes");
|
|
1829
|
-
var de_UnableToGetUpstreamLayerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1830
|
-
const body = parsedOutput.body;
|
|
1831
|
-
const deserialized = _json(body);
|
|
1832
|
-
const exception = new UnableToGetUpstreamLayerException({
|
|
1833
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1834
|
-
...deserialized
|
|
1835
|
-
});
|
|
1836
|
-
return decorateServiceException(exception, body);
|
|
1837
|
-
}, "de_UnableToGetUpstreamLayerExceptionRes");
|
|
1838
|
-
var de_UnsupportedImageTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1839
|
-
const body = parsedOutput.body;
|
|
1840
|
-
const deserialized = _json(body);
|
|
1841
|
-
const exception = new UnsupportedImageTypeException({
|
|
1842
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1843
|
-
...deserialized
|
|
1844
|
-
});
|
|
1845
|
-
return decorateServiceException(exception, body);
|
|
1846
|
-
}, "de_UnsupportedImageTypeExceptionRes");
|
|
1847
|
-
var de_UnsupportedUpstreamRegistryExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1848
|
-
const body = parsedOutput.body;
|
|
1849
|
-
const deserialized = _json(body);
|
|
1850
|
-
const exception = new UnsupportedUpstreamRegistryException({
|
|
1851
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1852
|
-
...deserialized
|
|
1853
|
-
});
|
|
1854
|
-
return decorateServiceException(exception, body);
|
|
1855
|
-
}, "de_UnsupportedUpstreamRegistryExceptionRes");
|
|
1856
|
-
var de_UploadNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1857
|
-
const body = parsedOutput.body;
|
|
1858
|
-
const deserialized = _json(body);
|
|
1859
|
-
const exception = new UploadNotFoundException({
|
|
1860
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1861
|
-
...deserialized
|
|
1862
|
-
});
|
|
1863
|
-
return decorateServiceException(exception, body);
|
|
1864
|
-
}, "de_UploadNotFoundExceptionRes");
|
|
1865
|
-
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1866
|
-
const body = parsedOutput.body;
|
|
1867
|
-
const deserialized = _json(body);
|
|
1868
|
-
const exception = new ValidationException({
|
|
1869
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1870
|
-
...deserialized
|
|
1871
|
-
});
|
|
1872
|
-
return decorateServiceException(exception, body);
|
|
1873
|
-
}, "de_ValidationExceptionRes");
|
|
1874
|
-
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1875
|
-
httpStatusCode: output.statusCode,
|
|
1876
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1877
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1878
|
-
cfId: output.headers["x-amz-cf-id"]
|
|
1879
|
-
}), "deserializeMetadata");
|
|
1880
|
-
var throwDefaultError = withBaseException(ECRServiceException);
|
|
1881
|
-
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1882
|
-
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1883
|
-
const contents = {
|
|
1884
|
-
protocol,
|
|
1885
|
-
hostname,
|
|
1886
|
-
port,
|
|
1887
|
-
method: "POST",
|
|
1888
|
-
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1889
|
-
headers
|
|
1890
|
-
};
|
|
1891
|
-
if (resolvedHostname !== void 0) {
|
|
1892
|
-
contents.hostname = resolvedHostname;
|
|
1893
|
-
}
|
|
1894
|
-
if (body !== void 0) {
|
|
1895
|
-
contents.body = body;
|
|
1896
|
-
}
|
|
1897
|
-
return new HttpRequest(contents);
|
|
1898
|
-
}, "buildHttpRpcRequest");
|
|
1899
|
-
function sharedHeaders(operation) {
|
|
1900
|
-
return {
|
|
1901
|
-
"content-type": "application/x-amz-json-1.1",
|
|
1902
|
-
"x-amz-target": `AmazonEC2ContainerRegistry_V20150921.${operation}`
|
|
1903
|
-
};
|
|
1904
|
-
}
|
|
1905
|
-
__name(sharedHeaders, "sharedHeaders");
|
|
1906
|
-
|
|
1907
|
-
// ../../node_modules/.pnpm/@aws-sdk+client-ecr@3.879.0/node_modules/@aws-sdk/client-ecr/dist-es/commands/ListImagesCommand.js
|
|
1908
|
-
init_esm_shims();
|
|
1909
|
-
var ListImagesCommand = class extends Command.classBuilder().ep(commonParams).m(function(Command2, cs, config, o2) {
|
|
1910
|
-
return [
|
|
1911
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
1912
|
-
getEndpointPlugin(config, Command2.getEndpointParameterInstructions())
|
|
1913
|
-
];
|
|
1914
|
-
}).s("AmazonEC2ContainerRegistry_V20150921", "ListImages", {}).n("ECRClient", "ListImagesCommand").f(void 0, void 0).ser(se_ListImagesCommand).de(de_ListImagesCommand).build() {
|
|
1915
|
-
static {
|
|
1916
|
-
__name(this, "ListImagesCommand");
|
|
1917
|
-
}
|
|
1918
|
-
};
|
|
1919
|
-
var tagSeparators = [
|
|
1920
|
-
"-",
|
|
1921
|
-
"_"
|
|
1922
|
-
];
|
|
1923
|
-
var fetchTags = /* @__PURE__ */ __name(async (ecrClient, repository) => {
|
|
1924
|
-
try {
|
|
1925
|
-
const imageIds = [];
|
|
1926
|
-
let nextToken;
|
|
1927
|
-
do {
|
|
1928
|
-
const response = await ecrClient.send(new ListImagesCommand({
|
|
1929
|
-
filter: {
|
|
1930
|
-
tagStatus: "TAGGED"
|
|
1931
|
-
},
|
|
1932
|
-
nextToken,
|
|
1933
|
-
repositoryName: repository
|
|
1934
|
-
}));
|
|
1935
|
-
imageIds.push(...response.imageIds ?? []);
|
|
1936
|
-
nextToken = response.nextToken;
|
|
1937
|
-
} while (nextToken);
|
|
1938
|
-
return new Set(imageIds.map(({ imageTag }) => imageTag).filter(isString));
|
|
1939
|
-
} catch (error) {
|
|
1940
|
-
if (!(error instanceof RepositoryNotFoundException)) {
|
|
1941
|
-
throw error;
|
|
1942
|
-
}
|
|
1943
|
-
console.warn(error.message);
|
|
1944
|
-
}
|
|
1945
|
-
return /* @__PURE__ */ new Set();
|
|
1946
|
-
}, "fetchTags");
|
|
1947
|
-
var generateGithubMatrix = /* @__PURE__ */ __name(async (registry, images, directory) => {
|
|
1948
|
-
const ecrClient = new ECRClient();
|
|
1949
|
-
const compileImage = /* @__PURE__ */ __name(async (image) => {
|
|
1950
|
-
const repository = join(ECR_IMAGE_DIRECTORY, getImageName(image.name));
|
|
1951
|
-
const existingTags = await fetchTags(ecrClient, repository);
|
|
1952
|
-
console.warn(`Existing tags for ${repository}:`, [
|
|
1953
|
-
...existingTags
|
|
1954
|
-
]);
|
|
1955
|
-
const tags = tagSeparators.map((separator) => `${registry}/${repository}:${getImageTag(image, separator)}`);
|
|
1956
|
-
if (tags.some((tag) => existingTags.has(tag.split(":").at(-1) ?? ""))) {
|
|
1957
|
-
return null;
|
|
1958
|
-
}
|
|
1959
|
-
return {
|
|
1960
|
-
name: image.name,
|
|
1961
|
-
build_args: Object.entries({
|
|
1962
|
-
...image.versions,
|
|
1963
|
-
...image.dependencies
|
|
1964
|
-
}).sort().map(([key, value]) => `${constantCase(key)}_VERSION=${value}`),
|
|
1965
|
-
directory: join(directory, "docker", image.name),
|
|
1966
|
-
repository,
|
|
1967
|
-
tags
|
|
1968
|
-
};
|
|
1969
|
-
}, "compileImage");
|
|
1970
|
-
return (await Promise.all(Object.values(images).map(compileImage))).filter((entry) => !!entry);
|
|
1971
|
-
}, "generateGithubMatrix");
|
|
1972
|
-
|
|
1973
|
-
export { generateGithubMatrix };
|
|
1974
|
-
//# sourceMappingURL=5QZDX45Q.js.map
|
|
1975
|
-
//# sourceMappingURL=5QZDX45Q.js.map
|