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