@alienplatform/sdk 1.10.7 → 1.11.1

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 (49) hide show
  1. package/.turbo/turbo-build.log +37 -8
  2. package/dist/bearerTokenAuthenticationPolicy.js +3028 -0
  3. package/dist/bindings/index.d.ts +1 -0
  4. package/dist/bindings/index.d.ts.map +1 -1
  5. package/dist/bindings/postgres.d.ts +90 -0
  6. package/dist/bindings/postgres.d.ts.map +1 -0
  7. package/dist/bindings/postgres.test.d.ts +2 -0
  8. package/dist/bindings/postgres.test.d.ts.map +1 -0
  9. package/dist/client.js +2376 -0
  10. package/dist/commands/index.js +1 -1
  11. package/dist/dist-cjs.js +3 -0
  12. package/dist/dist-cjs2.js +718 -0
  13. package/dist/dist-cjs3.js +2486 -0
  14. package/dist/dist-cjs4.js +171 -0
  15. package/dist/dist-cjs5.js +429 -0
  16. package/dist/dist-cjs6.js +60 -0
  17. package/dist/dist-cjs7.js +978 -0
  18. package/dist/dist-cjs8.js +86 -0
  19. package/dist/dist-cjs9.js +319 -0
  20. package/dist/dist.js +498 -36
  21. package/dist/dist2.js +1239 -0
  22. package/dist/errors.d.ts +25 -0
  23. package/dist/errors.d.ts.map +1 -1
  24. package/dist/es5.js +1624 -0
  25. package/dist/esm.js +18211 -0
  26. package/dist/esm2.js +3104 -0
  27. package/dist/event-streams.js +203 -0
  28. package/dist/index.d.ts +2 -1
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +336 -24996
  31. package/dist/jws.js +611 -0
  32. package/dist/open.js +460 -0
  33. package/dist/package.js +4 -0
  34. package/dist/protocols.js +954 -0
  35. package/dist/protocols2.js +5565 -0
  36. package/dist/rolldown-runtime.js +37 -0
  37. package/dist/serde.js +5542 -0
  38. package/dist/signin.js +723 -0
  39. package/dist/src.js +24900 -0
  40. package/dist/src2.js +114030 -0
  41. package/dist/sso-oidc.js +940 -0
  42. package/dist/sts.js +1329 -0
  43. package/dist/tslib.es6.js +543 -0
  44. package/package.json +26 -2
  45. package/src/bindings/index.ts +1 -0
  46. package/src/bindings/postgres.test.ts +17 -0
  47. package/src/bindings/postgres.ts +446 -0
  48. package/src/errors.ts +21 -0
  49. package/src/index.ts +5 -0
@@ -0,0 +1,2486 @@
1
+ import { a as __toCommonJS, o as __toESM, t as __commonJSMin } from "./rolldown-runtime.js";
2
+ import { H as init_retry, U as retry_exports, n as init_client, t as client_exports, v as dist_es_exports, y as init_dist_es } from "./client.js";
3
+ import { A as config_exports, Mt as init_client$1, Qt as schema_exports, Zt as init_schema, f as init_endpoints, i as serde_exports, j as init_config, jt as client_exports$1, r as init_serde, u as endpoints_exports } from "./serde.js";
4
+ import { n as protocols_exports, t as init_protocols } from "./protocols.js";
5
+ import { c as init_httpAuthSchemes, n as protocols_exports$1, s as httpAuthSchemes_exports, t as init_protocols$1 } from "./protocols2.js";
6
+ import { o as init_tslib_es6, s as tslib_es6_exports } from "./tslib.es6.js";
7
+ import { t as require_dist_cjs$3 } from "./dist-cjs2.js";
8
+ //#region ../../node_modules/.pnpm/@aws-sdk+client-secrets-manager@3.1068.0/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/auth/httpAuthSchemeProvider.js
9
+ var require_httpAuthSchemeProvider = /* @__PURE__ */ __commonJSMin(((exports) => {
10
+ Object.defineProperty(exports, "__esModule", { value: true });
11
+ exports.resolveHttpAuthSchemeConfig = exports.defaultSecretsManagerHttpAuthSchemeProvider = exports.defaultSecretsManagerHttpAuthSchemeParametersProvider = void 0;
12
+ const httpAuthSchemes_1 = (init_httpAuthSchemes(), __toCommonJS(httpAuthSchemes_exports));
13
+ const client_1 = (init_client$1(), __toCommonJS(client_exports$1));
14
+ const defaultSecretsManagerHttpAuthSchemeParametersProvider = async (config, context, input) => {
15
+ return {
16
+ operation: (0, client_1.getSmithyContext)(context).operation,
17
+ region: await (0, client_1.normalizeProvider)(config.region)() || (() => {
18
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
19
+ })()
20
+ };
21
+ };
22
+ exports.defaultSecretsManagerHttpAuthSchemeParametersProvider = defaultSecretsManagerHttpAuthSchemeParametersProvider;
23
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
24
+ return {
25
+ schemeId: "aws.auth#sigv4",
26
+ signingProperties: {
27
+ name: "secretsmanager",
28
+ region: authParameters.region
29
+ },
30
+ propertiesExtractor: (config, context) => ({ signingProperties: {
31
+ config,
32
+ context
33
+ } })
34
+ };
35
+ }
36
+ const defaultSecretsManagerHttpAuthSchemeProvider = (authParameters) => {
37
+ const options = [];
38
+ switch (authParameters.operation) {
39
+ default: options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
40
+ }
41
+ return options;
42
+ };
43
+ exports.defaultSecretsManagerHttpAuthSchemeProvider = defaultSecretsManagerHttpAuthSchemeProvider;
44
+ const resolveHttpAuthSchemeConfig = (config) => {
45
+ const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
46
+ return Object.assign(config_0, { authSchemePreference: (0, client_1.normalizeProvider)(config.authSchemePreference ?? []) });
47
+ };
48
+ exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
49
+ }));
50
+ //#endregion
51
+ //#region ../../node_modules/.pnpm/@aws-sdk+client-secrets-manager@3.1068.0/node_modules/@aws-sdk/client-secrets-manager/package.json
52
+ var require_package = /* @__PURE__ */ __commonJSMin(((exports, module) => {
53
+ module.exports = {
54
+ "name": "@aws-sdk/client-secrets-manager",
55
+ "description": "AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
56
+ "version": "3.1068.0",
57
+ "scripts": {
58
+ "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
59
+ "build:cjs": "node ../../scripts/compilation/inline",
60
+ "build:es": "tsc -p tsconfig.es.json",
61
+ "build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
62
+ "build:types": "tsc -p tsconfig.types.json",
63
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
64
+ "clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
65
+ "extract:docs": "api-extractor run --local",
66
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo secrets-manager",
67
+ "test": "yarn g:vitest run --passWithNoTests",
68
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs",
69
+ "test:integration": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
70
+ "test:integration:watch": "yarn g:vitest run --passWithNoTests -c vitest.config.integ.mts",
71
+ "test:watch": "yarn g:vitest watch --passWithNoTests"
72
+ },
73
+ "main": "./dist-cjs/index.js",
74
+ "types": "./dist-types/index.d.ts",
75
+ "module": "./dist-es/index.js",
76
+ "sideEffects": false,
77
+ "dependencies": {
78
+ "@aws-crypto/sha256-browser": "5.2.0",
79
+ "@aws-crypto/sha256-js": "5.2.0",
80
+ "@aws-sdk/core": "^3.974.20",
81
+ "@aws-sdk/credential-provider-node": "^3.972.55",
82
+ "@aws-sdk/types": "^3.973.12",
83
+ "@smithy/core": "^3.24.6",
84
+ "@smithy/fetch-http-handler": "^5.4.6",
85
+ "@smithy/node-http-handler": "^4.7.6",
86
+ "@smithy/types": "^4.14.3",
87
+ "tslib": "^2.6.2"
88
+ },
89
+ "devDependencies": {
90
+ "@smithy/snapshot-testing": "^2.1.7",
91
+ "@tsconfig/node20": "20.1.8",
92
+ "@types/node": "^20.14.8",
93
+ "concurrently": "7.0.0",
94
+ "downlevel-dts": "0.10.1",
95
+ "premove": "4.0.0",
96
+ "typescript": "~5.8.3",
97
+ "vitest": "^4.0.17"
98
+ },
99
+ "engines": { "node": ">=20.0.0" },
100
+ "typesVersions": { "<4.5": { "dist-types/*": ["dist-types/ts3.4/*"] } },
101
+ "files": ["dist-*/**"],
102
+ "author": {
103
+ "name": "AWS SDK for JavaScript Team",
104
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
105
+ },
106
+ "license": "Apache-2.0",
107
+ "browser": { "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser" },
108
+ "react-native": { "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native" },
109
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-secrets-manager",
110
+ "repository": {
111
+ "type": "git",
112
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
113
+ "directory": "clients/client-secrets-manager"
114
+ }
115
+ };
116
+ }));
117
+ //#endregion
118
+ //#region ../../node_modules/.pnpm/@aws-sdk+credential-provider-env@3.972.46/node_modules/@aws-sdk/credential-provider-env/dist-cjs/index.js
119
+ var require_dist_cjs$2 = /* @__PURE__ */ __commonJSMin(((exports) => {
120
+ var client = (init_client(), __toCommonJS(client_exports));
121
+ var config = (init_config(), __toCommonJS(config_exports));
122
+ const ENV_KEY = "AWS_ACCESS_KEY_ID";
123
+ const ENV_SECRET = "AWS_SECRET_ACCESS_KEY";
124
+ const ENV_SESSION = "AWS_SESSION_TOKEN";
125
+ const ENV_EXPIRATION = "AWS_CREDENTIAL_EXPIRATION";
126
+ const ENV_CREDENTIAL_SCOPE = "AWS_CREDENTIAL_SCOPE";
127
+ const ENV_ACCOUNT_ID = "AWS_ACCOUNT_ID";
128
+ const fromEnv = (init) => async () => {
129
+ init?.logger?.debug("@aws-sdk/credential-provider-env - fromEnv");
130
+ const accessKeyId = process.env[ENV_KEY];
131
+ const secretAccessKey = process.env[ENV_SECRET];
132
+ const sessionToken = process.env[ENV_SESSION];
133
+ const expiry = process.env[ENV_EXPIRATION];
134
+ const credentialScope = process.env[ENV_CREDENTIAL_SCOPE];
135
+ const accountId = process.env[ENV_ACCOUNT_ID];
136
+ if (accessKeyId && secretAccessKey) {
137
+ const credentials = {
138
+ accessKeyId,
139
+ secretAccessKey,
140
+ ...sessionToken && { sessionToken },
141
+ ...expiry && { expiration: new Date(expiry) },
142
+ ...credentialScope && { credentialScope },
143
+ ...accountId && { accountId }
144
+ };
145
+ client.setCredentialFeature(credentials, "CREDENTIALS_ENV_VARS", "g");
146
+ return credentials;
147
+ }
148
+ throw new config.CredentialsProviderError("Unable to find environment variable credentials.", { logger: init?.logger });
149
+ };
150
+ exports.ENV_ACCOUNT_ID = ENV_ACCOUNT_ID;
151
+ exports.ENV_CREDENTIAL_SCOPE = ENV_CREDENTIAL_SCOPE;
152
+ exports.ENV_EXPIRATION = ENV_EXPIRATION;
153
+ exports.ENV_KEY = ENV_KEY;
154
+ exports.ENV_SECRET = ENV_SECRET;
155
+ exports.ENV_SESSION = ENV_SESSION;
156
+ exports.fromEnv = fromEnv;
157
+ }));
158
+ //#endregion
159
+ //#region ../../node_modules/.pnpm/@aws-sdk+credential-provider-node@3.972.55/node_modules/@aws-sdk/credential-provider-node/dist-cjs/index.js
160
+ var require_dist_cjs$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
161
+ var credentialProviderEnv = require_dist_cjs$2();
162
+ var config = (init_config(), __toCommonJS(config_exports));
163
+ const ENV_IMDS_DISABLED = "AWS_EC2_METADATA_DISABLED";
164
+ const remoteProvider = async (init) => {
165
+ const { ENV_CMDS_FULL_URI, ENV_CMDS_RELATIVE_URI, fromContainerMetadata, fromInstanceMetadata } = await import("./dist-cjs9.js").then((m) => /* @__PURE__ */ __toESM(m.default));
166
+ if (process.env[ENV_CMDS_RELATIVE_URI] || process.env[ENV_CMDS_FULL_URI]) {
167
+ init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromHttp/fromContainerMetadata");
168
+ const { fromHttp } = await import("./dist-cjs4.js").then((m) => /* @__PURE__ */ __toESM(m.default));
169
+ return config.chain(fromHttp(init), fromContainerMetadata(init));
170
+ }
171
+ if (process.env[ENV_IMDS_DISABLED] && process.env[ENV_IMDS_DISABLED] !== "false") return async () => {
172
+ throw new config.CredentialsProviderError("EC2 Instance Metadata Service access disabled", { logger: init.logger });
173
+ };
174
+ init.logger?.debug("@aws-sdk/credential-provider-node - remoteProvider::fromInstanceMetadata");
175
+ return fromInstanceMetadata(init);
176
+ };
177
+ function memoizeChain(providers, treatAsExpired) {
178
+ const chain = internalCreateChain(providers);
179
+ let activeLock;
180
+ let passiveLock;
181
+ let credentials;
182
+ let forceRefreshLock;
183
+ const provider = async (options) => {
184
+ if (options?.forceRefresh) {
185
+ if (!forceRefreshLock) forceRefreshLock = chain(options).then((c) => {
186
+ credentials = c;
187
+ }).finally(() => {
188
+ forceRefreshLock = void 0;
189
+ });
190
+ await forceRefreshLock;
191
+ return credentials;
192
+ }
193
+ if (credentials?.expiration) {
194
+ if (credentials?.expiration?.getTime() < Date.now()) credentials = void 0;
195
+ }
196
+ if (activeLock) await activeLock;
197
+ else if (!credentials || treatAsExpired?.(credentials)) if (credentials) {
198
+ if (!passiveLock) passiveLock = chain(options).then((c) => {
199
+ credentials = c;
200
+ }).finally(() => {
201
+ passiveLock = void 0;
202
+ });
203
+ } else {
204
+ activeLock = chain(options).then((c) => {
205
+ credentials = c;
206
+ }).finally(() => {
207
+ activeLock = void 0;
208
+ });
209
+ return provider(options);
210
+ }
211
+ return credentials;
212
+ };
213
+ return provider;
214
+ }
215
+ const internalCreateChain = (providers) => async (awsIdentityProperties) => {
216
+ let lastProviderError;
217
+ for (const provider of providers) try {
218
+ return await provider(awsIdentityProperties);
219
+ } catch (err) {
220
+ lastProviderError = err;
221
+ if (err?.tryNextLink) continue;
222
+ throw err;
223
+ }
224
+ throw lastProviderError;
225
+ };
226
+ let multipleCredentialSourceWarningEmitted = false;
227
+ const defaultProvider = (init = {}) => memoizeChain([
228
+ async () => {
229
+ if (init.profile ?? process.env[config.ENV_PROFILE]) {
230
+ if (process.env[credentialProviderEnv.ENV_KEY] && process.env[credentialProviderEnv.ENV_SECRET]) {
231
+ if (!multipleCredentialSourceWarningEmitted) {
232
+ (init.logger?.warn && init.logger?.constructor?.name !== "NoOpLogger" ? init.logger.warn.bind(init.logger) : console.warn)(`@aws-sdk/credential-provider-node - defaultProvider::fromEnv WARNING:
233
+ Multiple credential sources detected:
234
+ Both AWS_PROFILE and the pair AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY static credentials are set.
235
+ This SDK will proceed with the AWS_PROFILE value.
236
+
237
+ However, a future version may change this behavior to prefer the ENV static credentials.
238
+ Please ensure that your environment only sets either the AWS_PROFILE or the
239
+ AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY pair.
240
+ `);
241
+ multipleCredentialSourceWarningEmitted = true;
242
+ }
243
+ }
244
+ throw new config.CredentialsProviderError("AWS_PROFILE is set, skipping fromEnv provider.", {
245
+ logger: init.logger,
246
+ tryNextLink: true
247
+ });
248
+ }
249
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromEnv");
250
+ return credentialProviderEnv.fromEnv(init)();
251
+ },
252
+ async (awsIdentityProperties) => {
253
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromSSO");
254
+ const { ssoStartUrl, ssoAccountId, ssoRegion, ssoRoleName, ssoSession } = init;
255
+ if (!ssoStartUrl && !ssoAccountId && !ssoRegion && !ssoRoleName && !ssoSession) throw new config.CredentialsProviderError("Skipping SSO provider in default chain (inputs do not include SSO fields).", { logger: init.logger });
256
+ const { fromSSO } = await import("./dist-cjs7.js").then((m) => /* @__PURE__ */ __toESM(m.default));
257
+ return fromSSO(init)(awsIdentityProperties);
258
+ },
259
+ async (awsIdentityProperties) => {
260
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromIni");
261
+ const { fromIni } = await import("./dist-cjs5.js").then((m) => /* @__PURE__ */ __toESM(m.default));
262
+ return fromIni(init)(awsIdentityProperties);
263
+ },
264
+ async (awsIdentityProperties) => {
265
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromProcess");
266
+ const { fromProcess } = await import("./dist-cjs6.js").then((m) => /* @__PURE__ */ __toESM(m.default));
267
+ return fromProcess(init)(awsIdentityProperties);
268
+ },
269
+ async (awsIdentityProperties) => {
270
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::fromTokenFile");
271
+ const { fromTokenFile } = await import("./dist-cjs8.js").then((m) => /* @__PURE__ */ __toESM(m.default));
272
+ return fromTokenFile(init)(awsIdentityProperties);
273
+ },
274
+ async () => {
275
+ init.logger?.debug("@aws-sdk/credential-provider-node - defaultProvider::remoteProvider");
276
+ return (await remoteProvider(init))();
277
+ },
278
+ async () => {
279
+ throw new config.CredentialsProviderError("Could not load credentials from any providers", {
280
+ tryNextLink: false,
281
+ logger: init.logger
282
+ });
283
+ }
284
+ ], credentialsTreatedAsExpired);
285
+ const credentialsWillNeedRefresh = (credentials) => credentials?.expiration !== void 0;
286
+ const credentialsTreatedAsExpired = (credentials) => credentials?.expiration !== void 0 && credentials.expiration.getTime() - Date.now() < 3e5;
287
+ exports.credentialsTreatedAsExpired = credentialsTreatedAsExpired;
288
+ exports.credentialsWillNeedRefresh = credentialsWillNeedRefresh;
289
+ exports.defaultProvider = defaultProvider;
290
+ }));
291
+ //#endregion
292
+ //#region ../../node_modules/.pnpm/@aws-sdk+client-secrets-manager@3.1068.0/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/endpoint/bdd.js
293
+ var require_bdd = /* @__PURE__ */ __commonJSMin(((exports) => {
294
+ Object.defineProperty(exports, "__esModule", { value: true });
295
+ exports.bdd = void 0;
296
+ const endpoints_1 = (init_endpoints(), __toCommonJS(endpoints_exports));
297
+ const m = "ref";
298
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = "stringEquals", h = { [m]: "Endpoint" }, i = { [m]: d }, j = {
299
+ "fn": f,
300
+ "argv": [i, "name"]
301
+ }, k = {}, l = [{ [m]: "Region" }];
302
+ const _data = {
303
+ conditions: [
304
+ [c, [h]],
305
+ [c, l],
306
+ [
307
+ "aws.partition",
308
+ l,
309
+ d
310
+ ],
311
+ [e, [{ [m]: "UseFIPS" }, b]],
312
+ [e, [{ [m]: "UseDualStack" }, b]],
313
+ [e, [{
314
+ fn: f,
315
+ argv: [i, "supportsDualStack"]
316
+ }, b]],
317
+ [e, [{
318
+ fn: f,
319
+ argv: [i, "supportsFIPS"]
320
+ }, b]],
321
+ [g, [j, "aws"]],
322
+ [g, [j, "aws-cn"]],
323
+ [g, [j, "aws-us-gov"]]
324
+ ],
325
+ results: [
326
+ [a],
327
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
328
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
329
+ [h, k],
330
+ ["https://secretsmanager-fips.{Region}.amazonaws.com", k],
331
+ ["https://secretsmanager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
332
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
333
+ ["https://secretsmanager-fips.{Region}.{PartitionResult#dnsSuffix}", k],
334
+ [a, "FIPS is enabled but this partition does not support FIPS"],
335
+ ["https://secretsmanager.{Region}.amazonaws.com", k],
336
+ ["https://secretsmanager.{Region}.amazonaws.com.cn", k],
337
+ ["https://secretsmanager.{Region}.{PartitionResult#dualStackDnsSuffix}", k],
338
+ [a, "DualStack is enabled but this partition does not support DualStack"],
339
+ ["https://secretsmanager.{Region}.{PartitionResult#dnsSuffix}", k],
340
+ [a, "Invalid Configuration: Missing Region"]
341
+ ]
342
+ };
343
+ const root = 2;
344
+ const nodes = new Int32Array([
345
+ -1,
346
+ 1,
347
+ -1,
348
+ 0,
349
+ 17,
350
+ 3,
351
+ 1,
352
+ 4,
353
+ 100000014,
354
+ 2,
355
+ 5,
356
+ 100000014,
357
+ 3,
358
+ 11,
359
+ 6,
360
+ 4,
361
+ 7,
362
+ 100000013,
363
+ 5,
364
+ 8,
365
+ 100000012,
366
+ 7,
367
+ 100000009,
368
+ 9,
369
+ 8,
370
+ 100000010,
371
+ 10,
372
+ 9,
373
+ 100000009,
374
+ 100000011,
375
+ 4,
376
+ 13,
377
+ 12,
378
+ 6,
379
+ 100000007,
380
+ 100000008,
381
+ 5,
382
+ 14,
383
+ 100000006,
384
+ 6,
385
+ 15,
386
+ 100000006,
387
+ 7,
388
+ 100000004,
389
+ 16,
390
+ 9,
391
+ 100000004,
392
+ 100000005,
393
+ 3,
394
+ 100000001,
395
+ 18,
396
+ 4,
397
+ 100000002,
398
+ 100000003
399
+ ]);
400
+ exports.bdd = endpoints_1.BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
401
+ }));
402
+ //#endregion
403
+ //#region ../../node_modules/.pnpm/@aws-sdk+client-secrets-manager@3.1068.0/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/endpoint/endpointResolver.js
404
+ var require_endpointResolver = /* @__PURE__ */ __commonJSMin(((exports) => {
405
+ Object.defineProperty(exports, "__esModule", { value: true });
406
+ exports.defaultEndpointResolver = void 0;
407
+ const client_1 = (init_client(), __toCommonJS(client_exports));
408
+ const endpoints_1 = (init_endpoints(), __toCommonJS(endpoints_exports));
409
+ const bdd_1 = require_bdd();
410
+ const cache = new endpoints_1.EndpointCache({
411
+ size: 50,
412
+ params: [
413
+ "Endpoint",
414
+ "Region",
415
+ "UseDualStack",
416
+ "UseFIPS"
417
+ ]
418
+ });
419
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
420
+ return cache.get(endpointParams, () => (0, endpoints_1.decideEndpoint)(bdd_1.bdd, {
421
+ endpointParams,
422
+ logger: context.logger
423
+ }));
424
+ };
425
+ exports.defaultEndpointResolver = defaultEndpointResolver;
426
+ endpoints_1.customEndpointFunctions.aws = client_1.awsEndpointFunctions;
427
+ }));
428
+ //#endregion
429
+ //#region ../../node_modules/.pnpm/@aws-sdk+client-secrets-manager@3.1068.0/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/models/SecretsManagerServiceException.js
430
+ var require_SecretsManagerServiceException = /* @__PURE__ */ __commonJSMin(((exports) => {
431
+ Object.defineProperty(exports, "__esModule", { value: true });
432
+ exports.SecretsManagerServiceException = exports.__ServiceException = void 0;
433
+ const client_1 = (init_client$1(), __toCommonJS(client_exports$1));
434
+ Object.defineProperty(exports, "__ServiceException", {
435
+ enumerable: true,
436
+ get: function() {
437
+ return client_1.ServiceException;
438
+ }
439
+ });
440
+ exports.SecretsManagerServiceException = class SecretsManagerServiceException extends client_1.ServiceException {
441
+ constructor(options) {
442
+ super(options);
443
+ Object.setPrototypeOf(this, SecretsManagerServiceException.prototype);
444
+ }
445
+ };
446
+ }));
447
+ //#endregion
448
+ //#region ../../node_modules/.pnpm/@aws-sdk+client-secrets-manager@3.1068.0/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/models/errors.js
449
+ var require_errors = /* @__PURE__ */ __commonJSMin(((exports) => {
450
+ Object.defineProperty(exports, "__esModule", { value: true });
451
+ exports.PublicPolicyException = exports.ResourceExistsException = exports.PreconditionNotMetException = exports.MalformedPolicyDocumentException = exports.LimitExceededException = exports.EncryptionFailure = exports.ResourceNotFoundException = exports.InvalidRequestException = exports.InvalidParameterException = exports.InvalidNextTokenException = exports.InternalServiceError = exports.DecryptionFailure = void 0;
452
+ const SecretsManagerServiceException_1 = require_SecretsManagerServiceException();
453
+ exports.DecryptionFailure = class DecryptionFailure extends SecretsManagerServiceException_1.SecretsManagerServiceException {
454
+ name = "DecryptionFailure";
455
+ $fault = "client";
456
+ Message;
457
+ constructor(opts) {
458
+ super({
459
+ name: "DecryptionFailure",
460
+ $fault: "client",
461
+ ...opts
462
+ });
463
+ Object.setPrototypeOf(this, DecryptionFailure.prototype);
464
+ this.Message = opts.Message;
465
+ }
466
+ };
467
+ exports.InternalServiceError = class InternalServiceError extends SecretsManagerServiceException_1.SecretsManagerServiceException {
468
+ name = "InternalServiceError";
469
+ $fault = "server";
470
+ Message;
471
+ constructor(opts) {
472
+ super({
473
+ name: "InternalServiceError",
474
+ $fault: "server",
475
+ ...opts
476
+ });
477
+ Object.setPrototypeOf(this, InternalServiceError.prototype);
478
+ this.Message = opts.Message;
479
+ }
480
+ };
481
+ exports.InvalidNextTokenException = class InvalidNextTokenException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
482
+ name = "InvalidNextTokenException";
483
+ $fault = "client";
484
+ Message;
485
+ constructor(opts) {
486
+ super({
487
+ name: "InvalidNextTokenException",
488
+ $fault: "client",
489
+ ...opts
490
+ });
491
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
492
+ this.Message = opts.Message;
493
+ }
494
+ };
495
+ exports.InvalidParameterException = class InvalidParameterException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
496
+ name = "InvalidParameterException";
497
+ $fault = "client";
498
+ Message;
499
+ constructor(opts) {
500
+ super({
501
+ name: "InvalidParameterException",
502
+ $fault: "client",
503
+ ...opts
504
+ });
505
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
506
+ this.Message = opts.Message;
507
+ }
508
+ };
509
+ exports.InvalidRequestException = class InvalidRequestException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
510
+ name = "InvalidRequestException";
511
+ $fault = "client";
512
+ Message;
513
+ constructor(opts) {
514
+ super({
515
+ name: "InvalidRequestException",
516
+ $fault: "client",
517
+ ...opts
518
+ });
519
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
520
+ this.Message = opts.Message;
521
+ }
522
+ };
523
+ exports.ResourceNotFoundException = class ResourceNotFoundException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
524
+ name = "ResourceNotFoundException";
525
+ $fault = "client";
526
+ Message;
527
+ constructor(opts) {
528
+ super({
529
+ name: "ResourceNotFoundException",
530
+ $fault: "client",
531
+ ...opts
532
+ });
533
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
534
+ this.Message = opts.Message;
535
+ }
536
+ };
537
+ exports.EncryptionFailure = class EncryptionFailure extends SecretsManagerServiceException_1.SecretsManagerServiceException {
538
+ name = "EncryptionFailure";
539
+ $fault = "client";
540
+ Message;
541
+ constructor(opts) {
542
+ super({
543
+ name: "EncryptionFailure",
544
+ $fault: "client",
545
+ ...opts
546
+ });
547
+ Object.setPrototypeOf(this, EncryptionFailure.prototype);
548
+ this.Message = opts.Message;
549
+ }
550
+ };
551
+ exports.LimitExceededException = class LimitExceededException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
552
+ name = "LimitExceededException";
553
+ $fault = "client";
554
+ Message;
555
+ constructor(opts) {
556
+ super({
557
+ name: "LimitExceededException",
558
+ $fault: "client",
559
+ ...opts
560
+ });
561
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
562
+ this.Message = opts.Message;
563
+ }
564
+ };
565
+ exports.MalformedPolicyDocumentException = class MalformedPolicyDocumentException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
566
+ name = "MalformedPolicyDocumentException";
567
+ $fault = "client";
568
+ Message;
569
+ constructor(opts) {
570
+ super({
571
+ name: "MalformedPolicyDocumentException",
572
+ $fault: "client",
573
+ ...opts
574
+ });
575
+ Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
576
+ this.Message = opts.Message;
577
+ }
578
+ };
579
+ exports.PreconditionNotMetException = class PreconditionNotMetException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
580
+ name = "PreconditionNotMetException";
581
+ $fault = "client";
582
+ Message;
583
+ constructor(opts) {
584
+ super({
585
+ name: "PreconditionNotMetException",
586
+ $fault: "client",
587
+ ...opts
588
+ });
589
+ Object.setPrototypeOf(this, PreconditionNotMetException.prototype);
590
+ this.Message = opts.Message;
591
+ }
592
+ };
593
+ exports.ResourceExistsException = class ResourceExistsException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
594
+ name = "ResourceExistsException";
595
+ $fault = "client";
596
+ Message;
597
+ constructor(opts) {
598
+ super({
599
+ name: "ResourceExistsException",
600
+ $fault: "client",
601
+ ...opts
602
+ });
603
+ Object.setPrototypeOf(this, ResourceExistsException.prototype);
604
+ this.Message = opts.Message;
605
+ }
606
+ };
607
+ exports.PublicPolicyException = class PublicPolicyException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
608
+ name = "PublicPolicyException";
609
+ $fault = "client";
610
+ Message;
611
+ constructor(opts) {
612
+ super({
613
+ name: "PublicPolicyException",
614
+ $fault: "client",
615
+ ...opts
616
+ });
617
+ Object.setPrototypeOf(this, PublicPolicyException.prototype);
618
+ this.Message = opts.Message;
619
+ }
620
+ };
621
+ }));
622
+ //#endregion
623
+ //#region ../../node_modules/.pnpm/@aws-sdk+client-secrets-manager@3.1068.0/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/schemas/schemas_0.js
624
+ var require_schemas_0 = /* @__PURE__ */ __commonJSMin(((exports) => {
625
+ Object.defineProperty(exports, "__esModule", { value: true });
626
+ exports.RestoreSecretRequest$ = exports.ReplicationStatusType$ = exports.ReplicateSecretToRegionsResponse$ = exports.ReplicateSecretToRegionsRequest$ = exports.ReplicaRegionType$ = exports.RemoveRegionsFromReplicationResponse$ = exports.RemoveRegionsFromReplicationRequest$ = exports.PutSecretValueResponse$ = exports.PutSecretValueRequest$ = exports.PutResourcePolicyResponse$ = exports.PutResourcePolicyRequest$ = exports.ListSecretVersionIdsResponse$ = exports.ListSecretVersionIdsRequest$ = exports.ListSecretsResponse$ = exports.ListSecretsRequest$ = exports.GetSecretValueResponse$ = exports.GetSecretValueRequest$ = exports.GetResourcePolicyResponse$ = exports.GetResourcePolicyRequest$ = exports.GetRandomPasswordResponse$ = exports.GetRandomPasswordRequest$ = exports.Filter$ = exports.ExternalSecretRotationMetadataItem$ = exports.DescribeSecretResponse$ = exports.DescribeSecretRequest$ = exports.DeleteSecretResponse$ = exports.DeleteSecretRequest$ = exports.DeleteResourcePolicyResponse$ = exports.DeleteResourcePolicyRequest$ = exports.CreateSecretResponse$ = exports.CreateSecretRequest$ = exports.CancelRotateSecretResponse$ = exports.CancelRotateSecretRequest$ = exports.BatchGetSecretValueResponse$ = exports.BatchGetSecretValueRequest$ = exports.APIErrorType$ = exports.errorTypeRegistries = exports.ResourceNotFoundException$ = exports.ResourceExistsException$ = exports.PublicPolicyException$ = exports.PreconditionNotMetException$ = exports.MalformedPolicyDocumentException$ = exports.LimitExceededException$ = exports.InvalidRequestException$ = exports.InvalidParameterException$ = exports.InvalidNextTokenException$ = exports.InternalServiceError$ = exports.EncryptionFailure$ = exports.DecryptionFailure$ = exports.SecretsManagerServiceException$ = void 0;
627
+ exports.ValidateResourcePolicy$ = exports.UpdateSecretVersionStage$ = exports.UpdateSecret$ = exports.UntagResource$ = exports.TagResource$ = exports.StopReplicationToReplica$ = exports.RotateSecret$ = exports.RestoreSecret$ = exports.ReplicateSecretToRegions$ = exports.RemoveRegionsFromReplication$ = exports.PutSecretValue$ = exports.PutResourcePolicy$ = exports.ListSecretVersionIds$ = exports.ListSecrets$ = exports.GetSecretValue$ = exports.GetResourcePolicy$ = exports.GetRandomPassword$ = exports.DescribeSecret$ = exports.DeleteSecret$ = exports.DeleteResourcePolicy$ = exports.CreateSecret$ = exports.CancelRotateSecret$ = exports.BatchGetSecretValue$ = exports.ValidationErrorsEntry$ = exports.ValidateResourcePolicyResponse$ = exports.ValidateResourcePolicyRequest$ = exports.UpdateSecretVersionStageResponse$ = exports.UpdateSecretVersionStageRequest$ = exports.UpdateSecretResponse$ = exports.UpdateSecretRequest$ = exports.UntagResourceRequest$ = exports.TagResourceRequest$ = exports.Tag$ = exports.StopReplicationToReplicaResponse$ = exports.StopReplicationToReplicaRequest$ = exports.SecretVersionsListEntry$ = exports.SecretValueEntry$ = exports.SecretListEntry$ = exports.RotationRulesType$ = exports.RotateSecretResponse$ = exports.RotateSecretRequest$ = exports.RestoreSecretResponse$ = void 0;
628
+ const _AAD = "AutomaticallyAfterDays";
629
+ const _APIELT = "APIErrorListType";
630
+ const _APIET = "APIErrorType";
631
+ const _ARN = "ARN";
632
+ const _ARR = "AddReplicaRegions";
633
+ const _ARRLT = "AddReplicaRegionListType";
634
+ const _BGSV = "BatchGetSecretValue";
635
+ const _BGSVR = "BatchGetSecretValueRequest";
636
+ const _BGSVRa = "BatchGetSecretValueResponse";
637
+ const _BPP = "BlockPublicPolicy";
638
+ const _CD = "CreatedDate";
639
+ const _CN = "CheckName";
640
+ const _CRS = "CancelRotateSecret";
641
+ const _CRSR = "CancelRotateSecretRequest";
642
+ const _CRSRa = "CancelRotateSecretResponse";
643
+ const _CRT = "ClientRequestToken";
644
+ const _CS = "CreateSecret";
645
+ const _CSR = "CreateSecretRequest";
646
+ const _CSRr = "CreateSecretResponse";
647
+ const _D = "Description";
648
+ const _DD = "DeletionDate";
649
+ const _DDe = "DeletedDate";
650
+ const _DF = "DecryptionFailure";
651
+ const _DRP = "DeleteResourcePolicy";
652
+ const _DRPR = "DeleteResourcePolicyRequest";
653
+ const _DRPRe = "DeleteResourcePolicyResponse";
654
+ const _DS = "DeleteSecret";
655
+ const _DSR = "DeleteSecretRequest";
656
+ const _DSRe = "DeleteSecretResponse";
657
+ const _DSRes = "DescribeSecretRequest";
658
+ const _DSResc = "DescribeSecretResponse";
659
+ const _DSe = "DescribeSecret";
660
+ const _Du = "Duration";
661
+ const _E = "Errors";
662
+ const _EC = "ErrorCode";
663
+ const _ECx = "ExcludeCharacters";
664
+ const _EF = "EncryptionFailure";
665
+ const _EL = "ExcludeLowercase";
666
+ const _EM = "ErrorMessage";
667
+ const _EN = "ExcludeNumbers";
668
+ const _EP = "ExcludePunctuation";
669
+ const _ESRM = "ExternalSecretRotationMetadata";
670
+ const _ESRMI = "ExternalSecretRotationMetadataItem";
671
+ const _ESRMT = "ExternalSecretRotationMetadataType";
672
+ const _ESRRA = "ExternalSecretRotationRoleArn";
673
+ const _EU = "ExcludeUppercase";
674
+ const _F = "Filters";
675
+ const _FDWR = "ForceDeleteWithoutRecovery";
676
+ const _FLT = "FiltersListType";
677
+ const _FORS = "ForceOverwriteReplicaSecret";
678
+ const _Fi = "Filter";
679
+ const _GRP = "GetRandomPassword";
680
+ const _GRPR = "GetRandomPasswordRequest";
681
+ const _GRPRe = "GetRandomPasswordResponse";
682
+ const _GRPRet = "GetResourcePolicyRequest";
683
+ const _GRPRete = "GetResourcePolicyResponse";
684
+ const _GRPe = "GetResourcePolicy";
685
+ const _GSV = "GetSecretValue";
686
+ const _GSVR = "GetSecretValueRequest";
687
+ const _GSVRe = "GetSecretValueResponse";
688
+ const _ID = "IncludeDeprecated";
689
+ const _INTE = "InvalidNextTokenException";
690
+ const _IPD = "IncludePlannedDeletion";
691
+ const _IPE = "InvalidParameterException";
692
+ const _IRE = "InvalidRequestException";
693
+ const _IS = "IncludeSpace";
694
+ const _ISE = "InternalServiceError";
695
+ const _K = "Key";
696
+ const _KKI = "KmsKeyId";
697
+ const _KKIm = "KmsKeyIds";
698
+ const _LAD = "LastAccessedDate";
699
+ const _LCD = "LastChangedDate";
700
+ const _LEE = "LimitExceededException";
701
+ const _LRD = "LastRotatedDate";
702
+ const _LS = "ListSecrets";
703
+ const _LSR = "ListSecretsRequest";
704
+ const _LSRi = "ListSecretsResponse";
705
+ const _LSVI = "ListSecretVersionIds";
706
+ const _LSVIR = "ListSecretVersionIdsRequest";
707
+ const _LSVIRi = "ListSecretVersionIdsResponse";
708
+ const _M = "Message";
709
+ const _MPDE = "MalformedPolicyDocumentException";
710
+ const _MR = "MaxResults";
711
+ const _MTVI = "MoveToVersionId";
712
+ const _N = "Name";
713
+ const _NRD = "NextRotationDate";
714
+ const _NT = "NextToken";
715
+ const _OS = "OwningService";
716
+ const _PL = "PasswordLength";
717
+ const _PNME = "PreconditionNotMetException";
718
+ const _PPE = "PublicPolicyException";
719
+ const _PR = "PrimaryRegion";
720
+ const _PRP = "PutResourcePolicy";
721
+ const _PRPR = "PutResourcePolicyRequest";
722
+ const _PRPRu = "PutResourcePolicyResponse";
723
+ const _PSV = "PutSecretValue";
724
+ const _PSVR = "PutSecretValueRequest";
725
+ const _PSVRu = "PutSecretValueResponse";
726
+ const _PVP = "PolicyValidationPassed";
727
+ const _R = "Region";
728
+ const _RE = "RotationEnabled";
729
+ const _REE = "ResourceExistsException";
730
+ const _REIT = "RequireEachIncludedType";
731
+ const _RFVI = "RemoveFromVersionId";
732
+ const _RI = "RotateImmediately";
733
+ const _RLARN = "RotationLambdaARN";
734
+ const _RNFE = "ResourceNotFoundException";
735
+ const _RP = "RandomPassword";
736
+ const _RPT = "RandomPasswordType";
737
+ const _RPe = "ResourcePolicy";
738
+ const _RR = "RotationRules";
739
+ const _RRFR = "RemoveRegionsFromReplication";
740
+ const _RRFRR = "RemoveRegionsFromReplicationRequest";
741
+ const _RRFRRe = "RemoveRegionsFromReplicationResponse";
742
+ const _RRR = "RemoveReplicaRegions";
743
+ const _RRT = "ReplicaRegionType";
744
+ const _RRTo = "RotationRulesType";
745
+ const _RS = "ReplicationStatus";
746
+ const _RSLT = "ReplicationStatusListType";
747
+ const _RSR = "RestoreSecretRequest";
748
+ const _RSRe = "RestoreSecretResponse";
749
+ const _RSRo = "RotateSecretRequest";
750
+ const _RSRot = "RotateSecretResponse";
751
+ const _RST = "ReplicationStatusType";
752
+ const _RSTR = "ReplicateSecretToRegions";
753
+ const _RSTRR = "ReplicateSecretToRegionsRequest";
754
+ const _RSTRRe = "ReplicateSecretToRegionsResponse";
755
+ const _RSe = "RestoreSecret";
756
+ const _RSo = "RotateSecret";
757
+ const _RT = "RotationToken";
758
+ const _RTT = "RotationTokenType";
759
+ const _RWID = "RecoveryWindowInDays";
760
+ const _S = "Status";
761
+ const _SB = "SecretBinary";
762
+ const _SBT = "SecretBinaryType";
763
+ const _SBo = "SortBy";
764
+ const _SE = "ScheduleExpression";
765
+ const _SI = "SecretId";
766
+ const _SIL = "SecretIdList";
767
+ const _SL = "SecretList";
768
+ const _SLE = "SecretListEntry";
769
+ const _SLT = "SecretListType";
770
+ const _SM = "StatusMessage";
771
+ const _SO = "SortOrder";
772
+ const _SRTR = "StopReplicationToReplica";
773
+ const _SRTRR = "StopReplicationToReplicaRequest";
774
+ const _SRTRRt = "StopReplicationToReplicaResponse";
775
+ const _SS = "SecretString";
776
+ const _SST = "SecretStringType";
777
+ const _SV = "SecretValues";
778
+ const _SVE = "SecretValueEntry";
779
+ const _SVLE = "SecretVersionsListEntry";
780
+ const _SVLT = "SecretVersionsListType";
781
+ const _SVT = "SecretValuesType";
782
+ const _SVTS = "SecretVersionsToStages";
783
+ const _SVTSMT = "SecretVersionsToStagesMapType";
784
+ const _T = "Tags";
785
+ const _TK = "TagKeys";
786
+ const _TLT = "TagListType";
787
+ const _TR = "TagResource";
788
+ const _TRR = "TagResourceRequest";
789
+ const _Ta = "Tag";
790
+ const _Ty = "Type";
791
+ const _UR = "UntagResource";
792
+ const _URR = "UntagResourceRequest";
793
+ const _US = "UpdateSecret";
794
+ const _USR = "UpdateSecretRequest";
795
+ const _USRp = "UpdateSecretResponse";
796
+ const _USVS = "UpdateSecretVersionStage";
797
+ const _USVSR = "UpdateSecretVersionStageRequest";
798
+ const _USVSRp = "UpdateSecretVersionStageResponse";
799
+ const _V = "Value";
800
+ const _VE = "ValidationErrors";
801
+ const _VEE = "ValidationErrorsEntry";
802
+ const _VET = "ValidationErrorsType";
803
+ const _VI = "VersionId";
804
+ const _VITS = "VersionIdsToStages";
805
+ const _VRP = "ValidateResourcePolicy";
806
+ const _VRPR = "ValidateResourcePolicyRequest";
807
+ const _VRPRa = "ValidateResourcePolicyResponse";
808
+ const _VS = "VersionStage";
809
+ const _VSe = "VersionStages";
810
+ const _Va = "Values";
811
+ const _Ve = "Versions";
812
+ const _c = "client";
813
+ const _e = "error";
814
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.secretsmanager";
815
+ const _se = "server";
816
+ const n0 = "com.amazonaws.secretsmanager";
817
+ const schema_1 = (init_schema(), __toCommonJS(schema_exports));
818
+ const errors_1 = require_errors();
819
+ const SecretsManagerServiceException_1 = require_SecretsManagerServiceException();
820
+ const _s_registry = schema_1.TypeRegistry.for(_s);
821
+ exports.SecretsManagerServiceException$ = [
822
+ -3,
823
+ _s,
824
+ "SecretsManagerServiceException",
825
+ 0,
826
+ [],
827
+ []
828
+ ];
829
+ _s_registry.registerError(exports.SecretsManagerServiceException$, SecretsManagerServiceException_1.SecretsManagerServiceException);
830
+ const n0_registry = schema_1.TypeRegistry.for(n0);
831
+ exports.DecryptionFailure$ = [
832
+ -3,
833
+ n0,
834
+ _DF,
835
+ { [_e]: _c },
836
+ [_M],
837
+ [0]
838
+ ];
839
+ n0_registry.registerError(exports.DecryptionFailure$, errors_1.DecryptionFailure);
840
+ exports.EncryptionFailure$ = [
841
+ -3,
842
+ n0,
843
+ _EF,
844
+ { [_e]: _c },
845
+ [_M],
846
+ [0]
847
+ ];
848
+ n0_registry.registerError(exports.EncryptionFailure$, errors_1.EncryptionFailure);
849
+ exports.InternalServiceError$ = [
850
+ -3,
851
+ n0,
852
+ _ISE,
853
+ { [_e]: _se },
854
+ [_M],
855
+ [0]
856
+ ];
857
+ n0_registry.registerError(exports.InternalServiceError$, errors_1.InternalServiceError);
858
+ exports.InvalidNextTokenException$ = [
859
+ -3,
860
+ n0,
861
+ _INTE,
862
+ { [_e]: _c },
863
+ [_M],
864
+ [0]
865
+ ];
866
+ n0_registry.registerError(exports.InvalidNextTokenException$, errors_1.InvalidNextTokenException);
867
+ exports.InvalidParameterException$ = [
868
+ -3,
869
+ n0,
870
+ _IPE,
871
+ { [_e]: _c },
872
+ [_M],
873
+ [0]
874
+ ];
875
+ n0_registry.registerError(exports.InvalidParameterException$, errors_1.InvalidParameterException);
876
+ exports.InvalidRequestException$ = [
877
+ -3,
878
+ n0,
879
+ _IRE,
880
+ { [_e]: _c },
881
+ [_M],
882
+ [0]
883
+ ];
884
+ n0_registry.registerError(exports.InvalidRequestException$, errors_1.InvalidRequestException);
885
+ exports.LimitExceededException$ = [
886
+ -3,
887
+ n0,
888
+ _LEE,
889
+ { [_e]: _c },
890
+ [_M],
891
+ [0]
892
+ ];
893
+ n0_registry.registerError(exports.LimitExceededException$, errors_1.LimitExceededException);
894
+ exports.MalformedPolicyDocumentException$ = [
895
+ -3,
896
+ n0,
897
+ _MPDE,
898
+ { [_e]: _c },
899
+ [_M],
900
+ [0]
901
+ ];
902
+ n0_registry.registerError(exports.MalformedPolicyDocumentException$, errors_1.MalformedPolicyDocumentException);
903
+ exports.PreconditionNotMetException$ = [
904
+ -3,
905
+ n0,
906
+ _PNME,
907
+ { [_e]: _c },
908
+ [_M],
909
+ [0]
910
+ ];
911
+ n0_registry.registerError(exports.PreconditionNotMetException$, errors_1.PreconditionNotMetException);
912
+ exports.PublicPolicyException$ = [
913
+ -3,
914
+ n0,
915
+ _PPE,
916
+ { [_e]: _c },
917
+ [_M],
918
+ [0]
919
+ ];
920
+ n0_registry.registerError(exports.PublicPolicyException$, errors_1.PublicPolicyException);
921
+ exports.ResourceExistsException$ = [
922
+ -3,
923
+ n0,
924
+ _REE,
925
+ { [_e]: _c },
926
+ [_M],
927
+ [0]
928
+ ];
929
+ n0_registry.registerError(exports.ResourceExistsException$, errors_1.ResourceExistsException);
930
+ exports.ResourceNotFoundException$ = [
931
+ -3,
932
+ n0,
933
+ _RNFE,
934
+ { [_e]: _c },
935
+ [_M],
936
+ [0]
937
+ ];
938
+ n0_registry.registerError(exports.ResourceNotFoundException$, errors_1.ResourceNotFoundException);
939
+ exports.errorTypeRegistries = [_s_registry, n0_registry];
940
+ var RandomPasswordType = [
941
+ 0,
942
+ n0,
943
+ _RPT,
944
+ 8,
945
+ 0
946
+ ];
947
+ var RotationTokenType = [
948
+ 0,
949
+ n0,
950
+ _RTT,
951
+ 8,
952
+ 0
953
+ ];
954
+ var SecretBinaryType = [
955
+ 0,
956
+ n0,
957
+ _SBT,
958
+ 8,
959
+ 21
960
+ ];
961
+ var SecretStringType = [
962
+ 0,
963
+ n0,
964
+ _SST,
965
+ 8,
966
+ 0
967
+ ];
968
+ exports.APIErrorType$ = [
969
+ 3,
970
+ n0,
971
+ _APIET,
972
+ 0,
973
+ [
974
+ _SI,
975
+ _EC,
976
+ _M
977
+ ],
978
+ [
979
+ 0,
980
+ 0,
981
+ 0
982
+ ]
983
+ ];
984
+ exports.BatchGetSecretValueRequest$ = [
985
+ 3,
986
+ n0,
987
+ _BGSVR,
988
+ 0,
989
+ [
990
+ _SIL,
991
+ _F,
992
+ _MR,
993
+ _NT
994
+ ],
995
+ [
996
+ 64,
997
+ () => FiltersListType,
998
+ 1,
999
+ 0
1000
+ ]
1001
+ ];
1002
+ exports.BatchGetSecretValueResponse$ = [
1003
+ 3,
1004
+ n0,
1005
+ _BGSVRa,
1006
+ 0,
1007
+ [
1008
+ _SV,
1009
+ _NT,
1010
+ _E
1011
+ ],
1012
+ [
1013
+ [() => SecretValuesType, 0],
1014
+ 0,
1015
+ () => APIErrorListType
1016
+ ]
1017
+ ];
1018
+ exports.CancelRotateSecretRequest$ = [
1019
+ 3,
1020
+ n0,
1021
+ _CRSR,
1022
+ 0,
1023
+ [_SI],
1024
+ [0],
1025
+ 1
1026
+ ];
1027
+ exports.CancelRotateSecretResponse$ = [
1028
+ 3,
1029
+ n0,
1030
+ _CRSRa,
1031
+ 0,
1032
+ [
1033
+ _ARN,
1034
+ _N,
1035
+ _VI
1036
+ ],
1037
+ [
1038
+ 0,
1039
+ 0,
1040
+ 0
1041
+ ]
1042
+ ];
1043
+ exports.CreateSecretRequest$ = [
1044
+ 3,
1045
+ n0,
1046
+ _CSR,
1047
+ 0,
1048
+ [
1049
+ _N,
1050
+ _CRT,
1051
+ _D,
1052
+ _KKI,
1053
+ _SB,
1054
+ _SS,
1055
+ _T,
1056
+ _ARR,
1057
+ _FORS,
1058
+ _Ty
1059
+ ],
1060
+ [
1061
+ 0,
1062
+ [0, 4],
1063
+ 0,
1064
+ 0,
1065
+ [() => SecretBinaryType, 0],
1066
+ [() => SecretStringType, 0],
1067
+ () => TagListType,
1068
+ () => AddReplicaRegionListType,
1069
+ 2,
1070
+ 0
1071
+ ],
1072
+ 1
1073
+ ];
1074
+ exports.CreateSecretResponse$ = [
1075
+ 3,
1076
+ n0,
1077
+ _CSRr,
1078
+ 0,
1079
+ [
1080
+ _ARN,
1081
+ _N,
1082
+ _VI,
1083
+ _RS
1084
+ ],
1085
+ [
1086
+ 0,
1087
+ 0,
1088
+ 0,
1089
+ () => ReplicationStatusListType
1090
+ ]
1091
+ ];
1092
+ exports.DeleteResourcePolicyRequest$ = [
1093
+ 3,
1094
+ n0,
1095
+ _DRPR,
1096
+ 0,
1097
+ [_SI],
1098
+ [0],
1099
+ 1
1100
+ ];
1101
+ exports.DeleteResourcePolicyResponse$ = [
1102
+ 3,
1103
+ n0,
1104
+ _DRPRe,
1105
+ 0,
1106
+ [_ARN, _N],
1107
+ [0, 0]
1108
+ ];
1109
+ exports.DeleteSecretRequest$ = [
1110
+ 3,
1111
+ n0,
1112
+ _DSR,
1113
+ 0,
1114
+ [
1115
+ _SI,
1116
+ _RWID,
1117
+ _FDWR
1118
+ ],
1119
+ [
1120
+ 0,
1121
+ 1,
1122
+ 2
1123
+ ],
1124
+ 1
1125
+ ];
1126
+ exports.DeleteSecretResponse$ = [
1127
+ 3,
1128
+ n0,
1129
+ _DSRe,
1130
+ 0,
1131
+ [
1132
+ _ARN,
1133
+ _N,
1134
+ _DD
1135
+ ],
1136
+ [
1137
+ 0,
1138
+ 0,
1139
+ 4
1140
+ ]
1141
+ ];
1142
+ exports.DescribeSecretRequest$ = [
1143
+ 3,
1144
+ n0,
1145
+ _DSRes,
1146
+ 0,
1147
+ [_SI],
1148
+ [0],
1149
+ 1
1150
+ ];
1151
+ exports.DescribeSecretResponse$ = [
1152
+ 3,
1153
+ n0,
1154
+ _DSResc,
1155
+ 0,
1156
+ [
1157
+ _ARN,
1158
+ _N,
1159
+ _Ty,
1160
+ _D,
1161
+ _KKI,
1162
+ _RE,
1163
+ _RLARN,
1164
+ _RR,
1165
+ _ESRM,
1166
+ _ESRRA,
1167
+ _LRD,
1168
+ _LCD,
1169
+ _LAD,
1170
+ _DDe,
1171
+ _NRD,
1172
+ _T,
1173
+ _VITS,
1174
+ _OS,
1175
+ _CD,
1176
+ _PR,
1177
+ _RS
1178
+ ],
1179
+ [
1180
+ 0,
1181
+ 0,
1182
+ 0,
1183
+ 0,
1184
+ 0,
1185
+ 2,
1186
+ 0,
1187
+ () => exports.RotationRulesType$,
1188
+ () => ExternalSecretRotationMetadataType,
1189
+ 0,
1190
+ 4,
1191
+ 4,
1192
+ 4,
1193
+ 4,
1194
+ 4,
1195
+ () => TagListType,
1196
+ [
1197
+ 2,
1198
+ n0,
1199
+ _SVTSMT,
1200
+ 0,
1201
+ 0,
1202
+ 64
1203
+ ],
1204
+ 0,
1205
+ 4,
1206
+ 0,
1207
+ () => ReplicationStatusListType
1208
+ ]
1209
+ ];
1210
+ exports.ExternalSecretRotationMetadataItem$ = [
1211
+ 3,
1212
+ n0,
1213
+ _ESRMI,
1214
+ 0,
1215
+ [_K, _V],
1216
+ [0, 0]
1217
+ ];
1218
+ exports.Filter$ = [
1219
+ 3,
1220
+ n0,
1221
+ _Fi,
1222
+ 0,
1223
+ [_K, _Va],
1224
+ [0, 64]
1225
+ ];
1226
+ exports.GetRandomPasswordRequest$ = [
1227
+ 3,
1228
+ n0,
1229
+ _GRPR,
1230
+ 0,
1231
+ [
1232
+ _PL,
1233
+ _ECx,
1234
+ _EN,
1235
+ _EP,
1236
+ _EU,
1237
+ _EL,
1238
+ _IS,
1239
+ _REIT
1240
+ ],
1241
+ [
1242
+ 1,
1243
+ 0,
1244
+ 2,
1245
+ 2,
1246
+ 2,
1247
+ 2,
1248
+ 2,
1249
+ 2
1250
+ ]
1251
+ ];
1252
+ exports.GetRandomPasswordResponse$ = [
1253
+ 3,
1254
+ n0,
1255
+ _GRPRe,
1256
+ 0,
1257
+ [_RP],
1258
+ [[() => RandomPasswordType, 0]]
1259
+ ];
1260
+ exports.GetResourcePolicyRequest$ = [
1261
+ 3,
1262
+ n0,
1263
+ _GRPRet,
1264
+ 0,
1265
+ [_SI],
1266
+ [0],
1267
+ 1
1268
+ ];
1269
+ exports.GetResourcePolicyResponse$ = [
1270
+ 3,
1271
+ n0,
1272
+ _GRPRete,
1273
+ 0,
1274
+ [
1275
+ _ARN,
1276
+ _N,
1277
+ _RPe
1278
+ ],
1279
+ [
1280
+ 0,
1281
+ 0,
1282
+ 0
1283
+ ]
1284
+ ];
1285
+ exports.GetSecretValueRequest$ = [
1286
+ 3,
1287
+ n0,
1288
+ _GSVR,
1289
+ 0,
1290
+ [
1291
+ _SI,
1292
+ _VI,
1293
+ _VS
1294
+ ],
1295
+ [
1296
+ 0,
1297
+ 0,
1298
+ 0
1299
+ ],
1300
+ 1
1301
+ ];
1302
+ exports.GetSecretValueResponse$ = [
1303
+ 3,
1304
+ n0,
1305
+ _GSVRe,
1306
+ 0,
1307
+ [
1308
+ _ARN,
1309
+ _N,
1310
+ _VI,
1311
+ _SB,
1312
+ _SS,
1313
+ _VSe,
1314
+ _CD
1315
+ ],
1316
+ [
1317
+ 0,
1318
+ 0,
1319
+ 0,
1320
+ [() => SecretBinaryType, 0],
1321
+ [() => SecretStringType, 0],
1322
+ 64,
1323
+ 4
1324
+ ]
1325
+ ];
1326
+ exports.ListSecretsRequest$ = [
1327
+ 3,
1328
+ n0,
1329
+ _LSR,
1330
+ 0,
1331
+ [
1332
+ _IPD,
1333
+ _MR,
1334
+ _NT,
1335
+ _F,
1336
+ _SO,
1337
+ _SBo
1338
+ ],
1339
+ [
1340
+ 2,
1341
+ 1,
1342
+ 0,
1343
+ () => FiltersListType,
1344
+ 0,
1345
+ 0
1346
+ ]
1347
+ ];
1348
+ exports.ListSecretsResponse$ = [
1349
+ 3,
1350
+ n0,
1351
+ _LSRi,
1352
+ 0,
1353
+ [_SL, _NT],
1354
+ [() => SecretListType, 0]
1355
+ ];
1356
+ exports.ListSecretVersionIdsRequest$ = [
1357
+ 3,
1358
+ n0,
1359
+ _LSVIR,
1360
+ 0,
1361
+ [
1362
+ _SI,
1363
+ _MR,
1364
+ _NT,
1365
+ _ID
1366
+ ],
1367
+ [
1368
+ 0,
1369
+ 1,
1370
+ 0,
1371
+ 2
1372
+ ],
1373
+ 1
1374
+ ];
1375
+ exports.ListSecretVersionIdsResponse$ = [
1376
+ 3,
1377
+ n0,
1378
+ _LSVIRi,
1379
+ 0,
1380
+ [
1381
+ _Ve,
1382
+ _NT,
1383
+ _ARN,
1384
+ _N
1385
+ ],
1386
+ [
1387
+ () => SecretVersionsListType,
1388
+ 0,
1389
+ 0,
1390
+ 0
1391
+ ]
1392
+ ];
1393
+ exports.PutResourcePolicyRequest$ = [
1394
+ 3,
1395
+ n0,
1396
+ _PRPR,
1397
+ 0,
1398
+ [
1399
+ _SI,
1400
+ _RPe,
1401
+ _BPP
1402
+ ],
1403
+ [
1404
+ 0,
1405
+ 0,
1406
+ 2
1407
+ ],
1408
+ 2
1409
+ ];
1410
+ exports.PutResourcePolicyResponse$ = [
1411
+ 3,
1412
+ n0,
1413
+ _PRPRu,
1414
+ 0,
1415
+ [_ARN, _N],
1416
+ [0, 0]
1417
+ ];
1418
+ exports.PutSecretValueRequest$ = [
1419
+ 3,
1420
+ n0,
1421
+ _PSVR,
1422
+ 0,
1423
+ [
1424
+ _SI,
1425
+ _CRT,
1426
+ _SB,
1427
+ _SS,
1428
+ _VSe,
1429
+ _RT
1430
+ ],
1431
+ [
1432
+ 0,
1433
+ [0, 4],
1434
+ [() => SecretBinaryType, 0],
1435
+ [() => SecretStringType, 0],
1436
+ 64,
1437
+ [() => RotationTokenType, 0]
1438
+ ],
1439
+ 1
1440
+ ];
1441
+ exports.PutSecretValueResponse$ = [
1442
+ 3,
1443
+ n0,
1444
+ _PSVRu,
1445
+ 0,
1446
+ [
1447
+ _ARN,
1448
+ _N,
1449
+ _VI,
1450
+ _VSe
1451
+ ],
1452
+ [
1453
+ 0,
1454
+ 0,
1455
+ 0,
1456
+ 64
1457
+ ]
1458
+ ];
1459
+ exports.RemoveRegionsFromReplicationRequest$ = [
1460
+ 3,
1461
+ n0,
1462
+ _RRFRR,
1463
+ 0,
1464
+ [_SI, _RRR],
1465
+ [0, 64],
1466
+ 2
1467
+ ];
1468
+ exports.RemoveRegionsFromReplicationResponse$ = [
1469
+ 3,
1470
+ n0,
1471
+ _RRFRRe,
1472
+ 0,
1473
+ [_ARN, _RS],
1474
+ [0, () => ReplicationStatusListType]
1475
+ ];
1476
+ exports.ReplicaRegionType$ = [
1477
+ 3,
1478
+ n0,
1479
+ _RRT,
1480
+ 0,
1481
+ [_R, _KKI],
1482
+ [0, 0]
1483
+ ];
1484
+ exports.ReplicateSecretToRegionsRequest$ = [
1485
+ 3,
1486
+ n0,
1487
+ _RSTRR,
1488
+ 0,
1489
+ [
1490
+ _SI,
1491
+ _ARR,
1492
+ _FORS
1493
+ ],
1494
+ [
1495
+ 0,
1496
+ () => AddReplicaRegionListType,
1497
+ 2
1498
+ ],
1499
+ 2
1500
+ ];
1501
+ exports.ReplicateSecretToRegionsResponse$ = [
1502
+ 3,
1503
+ n0,
1504
+ _RSTRRe,
1505
+ 0,
1506
+ [_ARN, _RS],
1507
+ [0, () => ReplicationStatusListType]
1508
+ ];
1509
+ exports.ReplicationStatusType$ = [
1510
+ 3,
1511
+ n0,
1512
+ _RST,
1513
+ 0,
1514
+ [
1515
+ _R,
1516
+ _KKI,
1517
+ _S,
1518
+ _SM,
1519
+ _LAD
1520
+ ],
1521
+ [
1522
+ 0,
1523
+ 0,
1524
+ 0,
1525
+ 0,
1526
+ 4
1527
+ ]
1528
+ ];
1529
+ exports.RestoreSecretRequest$ = [
1530
+ 3,
1531
+ n0,
1532
+ _RSR,
1533
+ 0,
1534
+ [_SI],
1535
+ [0],
1536
+ 1
1537
+ ];
1538
+ exports.RestoreSecretResponse$ = [
1539
+ 3,
1540
+ n0,
1541
+ _RSRe,
1542
+ 0,
1543
+ [_ARN, _N],
1544
+ [0, 0]
1545
+ ];
1546
+ exports.RotateSecretRequest$ = [
1547
+ 3,
1548
+ n0,
1549
+ _RSRo,
1550
+ 0,
1551
+ [
1552
+ _SI,
1553
+ _CRT,
1554
+ _RLARN,
1555
+ _RR,
1556
+ _ESRM,
1557
+ _ESRRA,
1558
+ _RI
1559
+ ],
1560
+ [
1561
+ 0,
1562
+ [0, 4],
1563
+ 0,
1564
+ () => exports.RotationRulesType$,
1565
+ () => ExternalSecretRotationMetadataType,
1566
+ 0,
1567
+ 2
1568
+ ],
1569
+ 1
1570
+ ];
1571
+ exports.RotateSecretResponse$ = [
1572
+ 3,
1573
+ n0,
1574
+ _RSRot,
1575
+ 0,
1576
+ [
1577
+ _ARN,
1578
+ _N,
1579
+ _VI
1580
+ ],
1581
+ [
1582
+ 0,
1583
+ 0,
1584
+ 0
1585
+ ]
1586
+ ];
1587
+ exports.RotationRulesType$ = [
1588
+ 3,
1589
+ n0,
1590
+ _RRTo,
1591
+ 0,
1592
+ [
1593
+ _AAD,
1594
+ _Du,
1595
+ _SE
1596
+ ],
1597
+ [
1598
+ 1,
1599
+ 0,
1600
+ 0
1601
+ ]
1602
+ ];
1603
+ exports.SecretListEntry$ = [
1604
+ 3,
1605
+ n0,
1606
+ _SLE,
1607
+ 0,
1608
+ [
1609
+ _ARN,
1610
+ _N,
1611
+ _Ty,
1612
+ _D,
1613
+ _KKI,
1614
+ _RE,
1615
+ _RLARN,
1616
+ _RR,
1617
+ _ESRM,
1618
+ _ESRRA,
1619
+ _LRD,
1620
+ _LCD,
1621
+ _LAD,
1622
+ _DDe,
1623
+ _NRD,
1624
+ _T,
1625
+ _SVTS,
1626
+ _OS,
1627
+ _CD,
1628
+ _PR
1629
+ ],
1630
+ [
1631
+ 0,
1632
+ 0,
1633
+ 0,
1634
+ 0,
1635
+ 0,
1636
+ 2,
1637
+ 0,
1638
+ () => exports.RotationRulesType$,
1639
+ () => ExternalSecretRotationMetadataType,
1640
+ 0,
1641
+ 4,
1642
+ 4,
1643
+ 4,
1644
+ 4,
1645
+ 4,
1646
+ () => TagListType,
1647
+ [
1648
+ 2,
1649
+ n0,
1650
+ _SVTSMT,
1651
+ 0,
1652
+ 0,
1653
+ 64
1654
+ ],
1655
+ 0,
1656
+ 4,
1657
+ 0
1658
+ ]
1659
+ ];
1660
+ exports.SecretValueEntry$ = [
1661
+ 3,
1662
+ n0,
1663
+ _SVE,
1664
+ 0,
1665
+ [
1666
+ _ARN,
1667
+ _N,
1668
+ _VI,
1669
+ _SB,
1670
+ _SS,
1671
+ _VSe,
1672
+ _CD
1673
+ ],
1674
+ [
1675
+ 0,
1676
+ 0,
1677
+ 0,
1678
+ [() => SecretBinaryType, 0],
1679
+ [() => SecretStringType, 0],
1680
+ 64,
1681
+ 4
1682
+ ]
1683
+ ];
1684
+ exports.SecretVersionsListEntry$ = [
1685
+ 3,
1686
+ n0,
1687
+ _SVLE,
1688
+ 0,
1689
+ [
1690
+ _VI,
1691
+ _VSe,
1692
+ _LAD,
1693
+ _CD,
1694
+ _KKIm
1695
+ ],
1696
+ [
1697
+ 0,
1698
+ 64,
1699
+ 4,
1700
+ 4,
1701
+ 64
1702
+ ]
1703
+ ];
1704
+ exports.StopReplicationToReplicaRequest$ = [
1705
+ 3,
1706
+ n0,
1707
+ _SRTRR,
1708
+ 0,
1709
+ [_SI],
1710
+ [0],
1711
+ 1
1712
+ ];
1713
+ exports.StopReplicationToReplicaResponse$ = [
1714
+ 3,
1715
+ n0,
1716
+ _SRTRRt,
1717
+ 0,
1718
+ [_ARN],
1719
+ [0]
1720
+ ];
1721
+ exports.Tag$ = [
1722
+ 3,
1723
+ n0,
1724
+ _Ta,
1725
+ 0,
1726
+ [_K, _V],
1727
+ [0, 0]
1728
+ ];
1729
+ exports.TagResourceRequest$ = [
1730
+ 3,
1731
+ n0,
1732
+ _TRR,
1733
+ 0,
1734
+ [_SI, _T],
1735
+ [0, () => TagListType],
1736
+ 2
1737
+ ];
1738
+ exports.UntagResourceRequest$ = [
1739
+ 3,
1740
+ n0,
1741
+ _URR,
1742
+ 0,
1743
+ [_SI, _TK],
1744
+ [0, 64],
1745
+ 2
1746
+ ];
1747
+ exports.UpdateSecretRequest$ = [
1748
+ 3,
1749
+ n0,
1750
+ _USR,
1751
+ 0,
1752
+ [
1753
+ _SI,
1754
+ _CRT,
1755
+ _D,
1756
+ _KKI,
1757
+ _SB,
1758
+ _SS,
1759
+ _Ty
1760
+ ],
1761
+ [
1762
+ 0,
1763
+ [0, 4],
1764
+ 0,
1765
+ 0,
1766
+ [() => SecretBinaryType, 0],
1767
+ [() => SecretStringType, 0],
1768
+ 0
1769
+ ],
1770
+ 1
1771
+ ];
1772
+ exports.UpdateSecretResponse$ = [
1773
+ 3,
1774
+ n0,
1775
+ _USRp,
1776
+ 0,
1777
+ [
1778
+ _ARN,
1779
+ _N,
1780
+ _VI
1781
+ ],
1782
+ [
1783
+ 0,
1784
+ 0,
1785
+ 0
1786
+ ]
1787
+ ];
1788
+ exports.UpdateSecretVersionStageRequest$ = [
1789
+ 3,
1790
+ n0,
1791
+ _USVSR,
1792
+ 0,
1793
+ [
1794
+ _SI,
1795
+ _VS,
1796
+ _RFVI,
1797
+ _MTVI
1798
+ ],
1799
+ [
1800
+ 0,
1801
+ 0,
1802
+ 0,
1803
+ 0
1804
+ ],
1805
+ 2
1806
+ ];
1807
+ exports.UpdateSecretVersionStageResponse$ = [
1808
+ 3,
1809
+ n0,
1810
+ _USVSRp,
1811
+ 0,
1812
+ [_ARN, _N],
1813
+ [0, 0]
1814
+ ];
1815
+ exports.ValidateResourcePolicyRequest$ = [
1816
+ 3,
1817
+ n0,
1818
+ _VRPR,
1819
+ 0,
1820
+ [_RPe, _SI],
1821
+ [0, 0],
1822
+ 1
1823
+ ];
1824
+ exports.ValidateResourcePolicyResponse$ = [
1825
+ 3,
1826
+ n0,
1827
+ _VRPRa,
1828
+ 0,
1829
+ [_PVP, _VE],
1830
+ [2, () => ValidationErrorsType]
1831
+ ];
1832
+ exports.ValidationErrorsEntry$ = [
1833
+ 3,
1834
+ n0,
1835
+ _VEE,
1836
+ 0,
1837
+ [_CN, _EM],
1838
+ [0, 0]
1839
+ ];
1840
+ var __Unit = "unit";
1841
+ var AddReplicaRegionListType = [
1842
+ 1,
1843
+ n0,
1844
+ _ARRLT,
1845
+ 0,
1846
+ () => exports.ReplicaRegionType$
1847
+ ];
1848
+ var APIErrorListType = [
1849
+ 1,
1850
+ n0,
1851
+ _APIELT,
1852
+ 0,
1853
+ () => exports.APIErrorType$
1854
+ ];
1855
+ var ExternalSecretRotationMetadataType = [
1856
+ 1,
1857
+ n0,
1858
+ _ESRMT,
1859
+ 0,
1860
+ () => exports.ExternalSecretRotationMetadataItem$
1861
+ ];
1862
+ var FiltersListType = [
1863
+ 1,
1864
+ n0,
1865
+ _FLT,
1866
+ 0,
1867
+ () => exports.Filter$
1868
+ ];
1869
+ var ReplicationStatusListType = [
1870
+ 1,
1871
+ n0,
1872
+ _RSLT,
1873
+ 0,
1874
+ () => exports.ReplicationStatusType$
1875
+ ];
1876
+ var SecretListType = [
1877
+ 1,
1878
+ n0,
1879
+ _SLT,
1880
+ 0,
1881
+ () => exports.SecretListEntry$
1882
+ ];
1883
+ var SecretValuesType = [
1884
+ 1,
1885
+ n0,
1886
+ _SVT,
1887
+ 0,
1888
+ [() => exports.SecretValueEntry$, 0]
1889
+ ];
1890
+ var SecretVersionsListType = [
1891
+ 1,
1892
+ n0,
1893
+ _SVLT,
1894
+ 0,
1895
+ () => exports.SecretVersionsListEntry$
1896
+ ];
1897
+ var TagListType = [
1898
+ 1,
1899
+ n0,
1900
+ _TLT,
1901
+ 0,
1902
+ () => exports.Tag$
1903
+ ];
1904
+ var ValidationErrorsType = [
1905
+ 1,
1906
+ n0,
1907
+ _VET,
1908
+ 0,
1909
+ () => exports.ValidationErrorsEntry$
1910
+ ];
1911
+ exports.BatchGetSecretValue$ = [
1912
+ 9,
1913
+ n0,
1914
+ _BGSV,
1915
+ 0,
1916
+ () => exports.BatchGetSecretValueRequest$,
1917
+ () => exports.BatchGetSecretValueResponse$
1918
+ ];
1919
+ exports.CancelRotateSecret$ = [
1920
+ 9,
1921
+ n0,
1922
+ _CRS,
1923
+ 0,
1924
+ () => exports.CancelRotateSecretRequest$,
1925
+ () => exports.CancelRotateSecretResponse$
1926
+ ];
1927
+ exports.CreateSecret$ = [
1928
+ 9,
1929
+ n0,
1930
+ _CS,
1931
+ 0,
1932
+ () => exports.CreateSecretRequest$,
1933
+ () => exports.CreateSecretResponse$
1934
+ ];
1935
+ exports.DeleteResourcePolicy$ = [
1936
+ 9,
1937
+ n0,
1938
+ _DRP,
1939
+ 0,
1940
+ () => exports.DeleteResourcePolicyRequest$,
1941
+ () => exports.DeleteResourcePolicyResponse$
1942
+ ];
1943
+ exports.DeleteSecret$ = [
1944
+ 9,
1945
+ n0,
1946
+ _DS,
1947
+ 0,
1948
+ () => exports.DeleteSecretRequest$,
1949
+ () => exports.DeleteSecretResponse$
1950
+ ];
1951
+ exports.DescribeSecret$ = [
1952
+ 9,
1953
+ n0,
1954
+ _DSe,
1955
+ 0,
1956
+ () => exports.DescribeSecretRequest$,
1957
+ () => exports.DescribeSecretResponse$
1958
+ ];
1959
+ exports.GetRandomPassword$ = [
1960
+ 9,
1961
+ n0,
1962
+ _GRP,
1963
+ 0,
1964
+ () => exports.GetRandomPasswordRequest$,
1965
+ () => exports.GetRandomPasswordResponse$
1966
+ ];
1967
+ exports.GetResourcePolicy$ = [
1968
+ 9,
1969
+ n0,
1970
+ _GRPe,
1971
+ 0,
1972
+ () => exports.GetResourcePolicyRequest$,
1973
+ () => exports.GetResourcePolicyResponse$
1974
+ ];
1975
+ exports.GetSecretValue$ = [
1976
+ 9,
1977
+ n0,
1978
+ _GSV,
1979
+ 0,
1980
+ () => exports.GetSecretValueRequest$,
1981
+ () => exports.GetSecretValueResponse$
1982
+ ];
1983
+ exports.ListSecrets$ = [
1984
+ 9,
1985
+ n0,
1986
+ _LS,
1987
+ 0,
1988
+ () => exports.ListSecretsRequest$,
1989
+ () => exports.ListSecretsResponse$
1990
+ ];
1991
+ exports.ListSecretVersionIds$ = [
1992
+ 9,
1993
+ n0,
1994
+ _LSVI,
1995
+ 0,
1996
+ () => exports.ListSecretVersionIdsRequest$,
1997
+ () => exports.ListSecretVersionIdsResponse$
1998
+ ];
1999
+ exports.PutResourcePolicy$ = [
2000
+ 9,
2001
+ n0,
2002
+ _PRP,
2003
+ 0,
2004
+ () => exports.PutResourcePolicyRequest$,
2005
+ () => exports.PutResourcePolicyResponse$
2006
+ ];
2007
+ exports.PutSecretValue$ = [
2008
+ 9,
2009
+ n0,
2010
+ _PSV,
2011
+ 0,
2012
+ () => exports.PutSecretValueRequest$,
2013
+ () => exports.PutSecretValueResponse$
2014
+ ];
2015
+ exports.RemoveRegionsFromReplication$ = [
2016
+ 9,
2017
+ n0,
2018
+ _RRFR,
2019
+ 0,
2020
+ () => exports.RemoveRegionsFromReplicationRequest$,
2021
+ () => exports.RemoveRegionsFromReplicationResponse$
2022
+ ];
2023
+ exports.ReplicateSecretToRegions$ = [
2024
+ 9,
2025
+ n0,
2026
+ _RSTR,
2027
+ 0,
2028
+ () => exports.ReplicateSecretToRegionsRequest$,
2029
+ () => exports.ReplicateSecretToRegionsResponse$
2030
+ ];
2031
+ exports.RestoreSecret$ = [
2032
+ 9,
2033
+ n0,
2034
+ _RSe,
2035
+ 0,
2036
+ () => exports.RestoreSecretRequest$,
2037
+ () => exports.RestoreSecretResponse$
2038
+ ];
2039
+ exports.RotateSecret$ = [
2040
+ 9,
2041
+ n0,
2042
+ _RSo,
2043
+ 0,
2044
+ () => exports.RotateSecretRequest$,
2045
+ () => exports.RotateSecretResponse$
2046
+ ];
2047
+ exports.StopReplicationToReplica$ = [
2048
+ 9,
2049
+ n0,
2050
+ _SRTR,
2051
+ 0,
2052
+ () => exports.StopReplicationToReplicaRequest$,
2053
+ () => exports.StopReplicationToReplicaResponse$
2054
+ ];
2055
+ exports.TagResource$ = [
2056
+ 9,
2057
+ n0,
2058
+ _TR,
2059
+ 0,
2060
+ () => exports.TagResourceRequest$,
2061
+ () => __Unit
2062
+ ];
2063
+ exports.UntagResource$ = [
2064
+ 9,
2065
+ n0,
2066
+ _UR,
2067
+ 0,
2068
+ () => exports.UntagResourceRequest$,
2069
+ () => __Unit
2070
+ ];
2071
+ exports.UpdateSecret$ = [
2072
+ 9,
2073
+ n0,
2074
+ _US,
2075
+ 0,
2076
+ () => exports.UpdateSecretRequest$,
2077
+ () => exports.UpdateSecretResponse$
2078
+ ];
2079
+ exports.UpdateSecretVersionStage$ = [
2080
+ 9,
2081
+ n0,
2082
+ _USVS,
2083
+ 0,
2084
+ () => exports.UpdateSecretVersionStageRequest$,
2085
+ () => exports.UpdateSecretVersionStageResponse$
2086
+ ];
2087
+ exports.ValidateResourcePolicy$ = [
2088
+ 9,
2089
+ n0,
2090
+ _VRP,
2091
+ 0,
2092
+ () => exports.ValidateResourcePolicyRequest$,
2093
+ () => exports.ValidateResourcePolicyResponse$
2094
+ ];
2095
+ }));
2096
+ //#endregion
2097
+ //#region ../../node_modules/.pnpm/@aws-sdk+client-secrets-manager@3.1068.0/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.shared.js
2098
+ var require_runtimeConfig_shared = /* @__PURE__ */ __commonJSMin(((exports) => {
2099
+ Object.defineProperty(exports, "__esModule", { value: true });
2100
+ exports.getRuntimeConfig = void 0;
2101
+ const httpAuthSchemes_1 = (init_httpAuthSchemes(), __toCommonJS(httpAuthSchemes_exports));
2102
+ const protocols_1 = (init_protocols$1(), __toCommonJS(protocols_exports$1));
2103
+ const client_1 = (init_client$1(), __toCommonJS(client_exports$1));
2104
+ const protocols_2 = (init_protocols(), __toCommonJS(protocols_exports));
2105
+ const serde_1 = (init_serde(), __toCommonJS(serde_exports));
2106
+ const httpAuthSchemeProvider_1 = require_httpAuthSchemeProvider();
2107
+ const endpointResolver_1 = require_endpointResolver();
2108
+ const schemas_0_1 = require_schemas_0();
2109
+ const getRuntimeConfig = (config) => {
2110
+ return {
2111
+ apiVersion: "2017-10-17",
2112
+ base64Decoder: config?.base64Decoder ?? serde_1.fromBase64,
2113
+ base64Encoder: config?.base64Encoder ?? serde_1.toBase64,
2114
+ disableHostPrefix: config?.disableHostPrefix ?? false,
2115
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
2116
+ extensions: config?.extensions ?? [],
2117
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultSecretsManagerHttpAuthSchemeProvider,
2118
+ httpAuthSchemes: config?.httpAuthSchemes ?? [{
2119
+ schemeId: "aws.auth#sigv4",
2120
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
2121
+ signer: new httpAuthSchemes_1.AwsSdkSigV4Signer()
2122
+ }],
2123
+ logger: config?.logger ?? new client_1.NoOpLogger(),
2124
+ protocol: config?.protocol ?? protocols_1.AwsJson1_1Protocol,
2125
+ protocolSettings: config?.protocolSettings ?? {
2126
+ defaultNamespace: "com.amazonaws.secretsmanager",
2127
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
2128
+ version: "2017-10-17",
2129
+ serviceTarget: "secretsmanager"
2130
+ },
2131
+ serviceId: config?.serviceId ?? "Secrets Manager",
2132
+ urlParser: config?.urlParser ?? protocols_2.parseUrl,
2133
+ utf8Decoder: config?.utf8Decoder ?? serde_1.fromUtf8,
2134
+ utf8Encoder: config?.utf8Encoder ?? serde_1.toUtf8
2135
+ };
2136
+ };
2137
+ exports.getRuntimeConfig = getRuntimeConfig;
2138
+ }));
2139
+ //#endregion
2140
+ //#region ../../node_modules/.pnpm/@aws-sdk+client-secrets-manager@3.1068.0/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/runtimeConfig.js
2141
+ var require_runtimeConfig = /* @__PURE__ */ __commonJSMin(((exports) => {
2142
+ Object.defineProperty(exports, "__esModule", { value: true });
2143
+ exports.getRuntimeConfig = void 0;
2144
+ const package_json_1 = (init_tslib_es6(), __toCommonJS(tslib_es6_exports)).__importDefault(require_package());
2145
+ const client_1 = (init_client(), __toCommonJS(client_exports));
2146
+ const httpAuthSchemes_1 = (init_httpAuthSchemes(), __toCommonJS(httpAuthSchemes_exports));
2147
+ const credential_provider_node_1 = require_dist_cjs$1();
2148
+ const client_2 = (init_client$1(), __toCommonJS(client_exports$1));
2149
+ const config_1 = (init_config(), __toCommonJS(config_exports));
2150
+ const retry_1 = (init_retry(), __toCommonJS(retry_exports));
2151
+ const serde_1 = (init_serde(), __toCommonJS(serde_exports));
2152
+ const node_http_handler_1 = require_dist_cjs$3();
2153
+ const runtimeConfig_shared_1 = require_runtimeConfig_shared();
2154
+ const getRuntimeConfig = (config) => {
2155
+ (0, client_2.emitWarningIfUnsupportedVersion)(process.version);
2156
+ const defaultsMode = (0, config_1.resolveDefaultsModeConfig)(config);
2157
+ const defaultConfigProvider = () => defaultsMode().then(client_2.loadConfigsForDefaultMode);
2158
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
2159
+ (0, client_1.emitWarningIfUnsupportedVersion)(process.version);
2160
+ const loaderConfig = {
2161
+ profile: config?.profile,
2162
+ logger: clientSharedValues.logger
2163
+ };
2164
+ return {
2165
+ ...clientSharedValues,
2166
+ ...config,
2167
+ runtime: "node",
2168
+ defaultsMode,
2169
+ authSchemePreference: config?.authSchemePreference ?? (0, config_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
2170
+ bodyLengthChecker: config?.bodyLengthChecker ?? serde_1.calculateBodyLength,
2171
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
2172
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, client_1.createDefaultUserAgentProvider)({
2173
+ serviceId: clientSharedValues.serviceId,
2174
+ clientVersion: package_json_1.default.version
2175
+ }),
2176
+ maxAttempts: config?.maxAttempts ?? (0, config_1.loadConfig)(retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
2177
+ region: config?.region ?? (0, config_1.loadConfig)(config_1.NODE_REGION_CONFIG_OPTIONS, {
2178
+ ...config_1.NODE_REGION_CONFIG_FILE_OPTIONS,
2179
+ ...loaderConfig
2180
+ }),
2181
+ requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
2182
+ retryMode: config?.retryMode ?? (0, config_1.loadConfig)({
2183
+ ...retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
2184
+ default: async () => (await defaultConfigProvider()).retryMode || retry_1.DEFAULT_RETRY_MODE
2185
+ }, config),
2186
+ sha256: config?.sha256 ?? serde_1.Hash.bind(null, "sha256"),
2187
+ streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
2188
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
2189
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, config_1.loadConfig)(config_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
2190
+ userAgentAppId: config?.userAgentAppId ?? (0, config_1.loadConfig)(client_1.NODE_APP_ID_CONFIG_OPTIONS, loaderConfig)
2191
+ };
2192
+ };
2193
+ exports.getRuntimeConfig = getRuntimeConfig;
2194
+ }));
2195
+ //#endregion
2196
+ //#region ../../node_modules/.pnpm/@aws-sdk+client-secrets-manager@3.1068.0/node_modules/@aws-sdk/client-secrets-manager/dist-cjs/index.js
2197
+ var require_dist_cjs = /* @__PURE__ */ __commonJSMin(((exports) => {
2198
+ var client$1 = (init_client(), __toCommonJS(client_exports));
2199
+ var core = (init_dist_es(), __toCommonJS(dist_es_exports));
2200
+ var client = (init_client$1(), __toCommonJS(client_exports$1));
2201
+ var config = (init_config(), __toCommonJS(config_exports));
2202
+ var endpoints = (init_endpoints(), __toCommonJS(endpoints_exports));
2203
+ var protocols = (init_protocols(), __toCommonJS(protocols_exports));
2204
+ var retry = (init_retry(), __toCommonJS(retry_exports));
2205
+ var schema = (init_schema(), __toCommonJS(schema_exports));
2206
+ var httpAuthSchemeProvider = require_httpAuthSchemeProvider();
2207
+ var runtimeConfig = require_runtimeConfig();
2208
+ var schemas_0 = require_schemas_0();
2209
+ var errors = require_errors();
2210
+ var SecretsManagerServiceException = require_SecretsManagerServiceException();
2211
+ const resolveClientEndpointParameters = (options) => {
2212
+ return Object.assign(options, {
2213
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
2214
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
2215
+ defaultSigningName: "secretsmanager"
2216
+ });
2217
+ };
2218
+ const commonParams = {
2219
+ UseFIPS: {
2220
+ type: "builtInParams",
2221
+ name: "useFipsEndpoint"
2222
+ },
2223
+ Endpoint: {
2224
+ type: "builtInParams",
2225
+ name: "endpoint"
2226
+ },
2227
+ Region: {
2228
+ type: "builtInParams",
2229
+ name: "region"
2230
+ },
2231
+ UseDualStack: {
2232
+ type: "builtInParams",
2233
+ name: "useDualstackEndpoint"
2234
+ }
2235
+ };
2236
+ const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
2237
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
2238
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
2239
+ let _credentials = runtimeConfig.credentials;
2240
+ return {
2241
+ setHttpAuthScheme(httpAuthScheme) {
2242
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
2243
+ if (index === -1) _httpAuthSchemes.push(httpAuthScheme);
2244
+ else _httpAuthSchemes.splice(index, 1, httpAuthScheme);
2245
+ },
2246
+ httpAuthSchemes() {
2247
+ return _httpAuthSchemes;
2248
+ },
2249
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
2250
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
2251
+ },
2252
+ httpAuthSchemeProvider() {
2253
+ return _httpAuthSchemeProvider;
2254
+ },
2255
+ setCredentials(credentials) {
2256
+ _credentials = credentials;
2257
+ },
2258
+ credentials() {
2259
+ return _credentials;
2260
+ }
2261
+ };
2262
+ };
2263
+ const resolveHttpAuthRuntimeConfig = (config) => {
2264
+ return {
2265
+ httpAuthSchemes: config.httpAuthSchemes(),
2266
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
2267
+ credentials: config.credentials()
2268
+ };
2269
+ };
2270
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
2271
+ const extensionConfiguration = Object.assign(client$1.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
2272
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
2273
+ return Object.assign(runtimeConfig, client$1.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
2274
+ };
2275
+ var SecretsManagerClient = class extends client.Client {
2276
+ config;
2277
+ constructor(...[configuration]) {
2278
+ const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
2279
+ super(_config_0);
2280
+ this.initConfig = _config_0;
2281
+ const _config_1 = resolveClientEndpointParameters(_config_0);
2282
+ const _config_2 = client$1.resolveUserAgentConfig(_config_1);
2283
+ const _config_3 = retry.resolveRetryConfig(_config_2);
2284
+ const _config_4 = config.resolveRegionConfig(_config_3);
2285
+ const _config_5 = client$1.resolveHostHeaderConfig(_config_4);
2286
+ const _config_6 = endpoints.resolveEndpointConfig(_config_5);
2287
+ const _config_8 = resolveRuntimeExtensions(httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6), configuration?.extensions || []);
2288
+ this.config = _config_8;
2289
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
2290
+ this.middlewareStack.use(client$1.getUserAgentPlugin(this.config));
2291
+ this.middlewareStack.use(retry.getRetryPlugin(this.config));
2292
+ this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
2293
+ this.middlewareStack.use(client$1.getHostHeaderPlugin(this.config));
2294
+ this.middlewareStack.use(client$1.getLoggerPlugin(this.config));
2295
+ this.middlewareStack.use(client$1.getRecursionDetectionPlugin(this.config));
2296
+ this.middlewareStack.use(core.getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
2297
+ httpAuthSchemeParametersProvider: httpAuthSchemeProvider.defaultSecretsManagerHttpAuthSchemeParametersProvider,
2298
+ identityProviderConfigProvider: async (config) => new core.DefaultIdentityProviderConfig({ "aws.auth#sigv4": config.credentials })
2299
+ }));
2300
+ this.middlewareStack.use(core.getHttpSigningPlugin(this.config));
2301
+ }
2302
+ destroy() {
2303
+ super.destroy();
2304
+ }
2305
+ };
2306
+ var BatchGetSecretValueCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2307
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2308
+ }).s("secretsmanager", "BatchGetSecretValue", {}).n("SecretsManagerClient", "BatchGetSecretValueCommand").sc(schemas_0.BatchGetSecretValue$).build() {};
2309
+ var CancelRotateSecretCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2310
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2311
+ }).s("secretsmanager", "CancelRotateSecret", {}).n("SecretsManagerClient", "CancelRotateSecretCommand").sc(schemas_0.CancelRotateSecret$).build() {};
2312
+ var CreateSecretCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2313
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2314
+ }).s("secretsmanager", "CreateSecret", {}).n("SecretsManagerClient", "CreateSecretCommand").sc(schemas_0.CreateSecret$).build() {};
2315
+ var DeleteResourcePolicyCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2316
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2317
+ }).s("secretsmanager", "DeleteResourcePolicy", {}).n("SecretsManagerClient", "DeleteResourcePolicyCommand").sc(schemas_0.DeleteResourcePolicy$).build() {};
2318
+ var DeleteSecretCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2319
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2320
+ }).s("secretsmanager", "DeleteSecret", {}).n("SecretsManagerClient", "DeleteSecretCommand").sc(schemas_0.DeleteSecret$).build() {};
2321
+ var DescribeSecretCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2322
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2323
+ }).s("secretsmanager", "DescribeSecret", {}).n("SecretsManagerClient", "DescribeSecretCommand").sc(schemas_0.DescribeSecret$).build() {};
2324
+ var GetRandomPasswordCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2325
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2326
+ }).s("secretsmanager", "GetRandomPassword", {}).n("SecretsManagerClient", "GetRandomPasswordCommand").sc(schemas_0.GetRandomPassword$).build() {};
2327
+ var GetResourcePolicyCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2328
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2329
+ }).s("secretsmanager", "GetResourcePolicy", {}).n("SecretsManagerClient", "GetResourcePolicyCommand").sc(schemas_0.GetResourcePolicy$).build() {};
2330
+ var GetSecretValueCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2331
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2332
+ }).s("secretsmanager", "GetSecretValue", {}).n("SecretsManagerClient", "GetSecretValueCommand").sc(schemas_0.GetSecretValue$).build() {};
2333
+ var ListSecretsCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2334
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2335
+ }).s("secretsmanager", "ListSecrets", {}).n("SecretsManagerClient", "ListSecretsCommand").sc(schemas_0.ListSecrets$).build() {};
2336
+ var ListSecretVersionIdsCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2337
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2338
+ }).s("secretsmanager", "ListSecretVersionIds", {}).n("SecretsManagerClient", "ListSecretVersionIdsCommand").sc(schemas_0.ListSecretVersionIds$).build() {};
2339
+ var PutResourcePolicyCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2340
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2341
+ }).s("secretsmanager", "PutResourcePolicy", {}).n("SecretsManagerClient", "PutResourcePolicyCommand").sc(schemas_0.PutResourcePolicy$).build() {};
2342
+ var PutSecretValueCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2343
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2344
+ }).s("secretsmanager", "PutSecretValue", {}).n("SecretsManagerClient", "PutSecretValueCommand").sc(schemas_0.PutSecretValue$).build() {};
2345
+ var RemoveRegionsFromReplicationCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2346
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2347
+ }).s("secretsmanager", "RemoveRegionsFromReplication", {}).n("SecretsManagerClient", "RemoveRegionsFromReplicationCommand").sc(schemas_0.RemoveRegionsFromReplication$).build() {};
2348
+ var ReplicateSecretToRegionsCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2349
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2350
+ }).s("secretsmanager", "ReplicateSecretToRegions", {}).n("SecretsManagerClient", "ReplicateSecretToRegionsCommand").sc(schemas_0.ReplicateSecretToRegions$).build() {};
2351
+ var RestoreSecretCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2352
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2353
+ }).s("secretsmanager", "RestoreSecret", {}).n("SecretsManagerClient", "RestoreSecretCommand").sc(schemas_0.RestoreSecret$).build() {};
2354
+ var RotateSecretCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2355
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2356
+ }).s("secretsmanager", "RotateSecret", {}).n("SecretsManagerClient", "RotateSecretCommand").sc(schemas_0.RotateSecret$).build() {};
2357
+ var StopReplicationToReplicaCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2358
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2359
+ }).s("secretsmanager", "StopReplicationToReplica", {}).n("SecretsManagerClient", "StopReplicationToReplicaCommand").sc(schemas_0.StopReplicationToReplica$).build() {};
2360
+ var TagResourceCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2361
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2362
+ }).s("secretsmanager", "TagResource", {}).n("SecretsManagerClient", "TagResourceCommand").sc(schemas_0.TagResource$).build() {};
2363
+ var UntagResourceCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2364
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2365
+ }).s("secretsmanager", "UntagResource", {}).n("SecretsManagerClient", "UntagResourceCommand").sc(schemas_0.UntagResource$).build() {};
2366
+ var UpdateSecretCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2367
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2368
+ }).s("secretsmanager", "UpdateSecret", {}).n("SecretsManagerClient", "UpdateSecretCommand").sc(schemas_0.UpdateSecret$).build() {};
2369
+ var UpdateSecretVersionStageCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2370
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2371
+ }).s("secretsmanager", "UpdateSecretVersionStage", {}).n("SecretsManagerClient", "UpdateSecretVersionStageCommand").sc(schemas_0.UpdateSecretVersionStage$).build() {};
2372
+ var ValidateResourcePolicyCommand = class extends client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2373
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2374
+ }).s("secretsmanager", "ValidateResourcePolicy", {}).n("SecretsManagerClient", "ValidateResourcePolicyCommand").sc(schemas_0.ValidateResourcePolicy$).build() {};
2375
+ const paginateBatchGetSecretValue = core.createPaginator(SecretsManagerClient, BatchGetSecretValueCommand, "NextToken", "NextToken", "MaxResults");
2376
+ const paginateListSecrets = core.createPaginator(SecretsManagerClient, ListSecretsCommand, "NextToken", "NextToken", "MaxResults");
2377
+ const paginateListSecretVersionIds = core.createPaginator(SecretsManagerClient, ListSecretVersionIdsCommand, "NextToken", "NextToken", "MaxResults");
2378
+ const commands = {
2379
+ BatchGetSecretValueCommand,
2380
+ CancelRotateSecretCommand,
2381
+ CreateSecretCommand,
2382
+ DeleteResourcePolicyCommand,
2383
+ DeleteSecretCommand,
2384
+ DescribeSecretCommand,
2385
+ GetRandomPasswordCommand,
2386
+ GetResourcePolicyCommand,
2387
+ GetSecretValueCommand,
2388
+ ListSecretsCommand,
2389
+ ListSecretVersionIdsCommand,
2390
+ PutResourcePolicyCommand,
2391
+ PutSecretValueCommand,
2392
+ RemoveRegionsFromReplicationCommand,
2393
+ ReplicateSecretToRegionsCommand,
2394
+ RestoreSecretCommand,
2395
+ RotateSecretCommand,
2396
+ StopReplicationToReplicaCommand,
2397
+ TagResourceCommand,
2398
+ UntagResourceCommand,
2399
+ UpdateSecretCommand,
2400
+ UpdateSecretVersionStageCommand,
2401
+ ValidateResourcePolicyCommand
2402
+ };
2403
+ const paginators = {
2404
+ paginateBatchGetSecretValue,
2405
+ paginateListSecrets,
2406
+ paginateListSecretVersionIds
2407
+ };
2408
+ var SecretsManager = class extends SecretsManagerClient {};
2409
+ client.createAggregatedClient(commands, SecretsManager, { paginators });
2410
+ const FilterNameStringType = {
2411
+ all: "all",
2412
+ description: "description",
2413
+ name: "name",
2414
+ owning_service: "owning-service",
2415
+ primary_region: "primary-region",
2416
+ tag_key: "tag-key",
2417
+ tag_value: "tag-value"
2418
+ };
2419
+ const StatusType = {
2420
+ Failed: "Failed",
2421
+ InProgress: "InProgress",
2422
+ InSync: "InSync"
2423
+ };
2424
+ const SortByType = {
2425
+ created_date: "created-date",
2426
+ last_accessed_date: "last-accessed-date",
2427
+ last_changed_date: "last-changed-date",
2428
+ name: "name"
2429
+ };
2430
+ const SortOrderType = {
2431
+ asc: "asc",
2432
+ desc: "desc"
2433
+ };
2434
+ exports.$Command = client.Command;
2435
+ exports.__Client = client.Client;
2436
+ exports.SecretsManagerServiceException = SecretsManagerServiceException.SecretsManagerServiceException;
2437
+ exports.BatchGetSecretValueCommand = BatchGetSecretValueCommand;
2438
+ exports.CancelRotateSecretCommand = CancelRotateSecretCommand;
2439
+ exports.CreateSecretCommand = CreateSecretCommand;
2440
+ exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
2441
+ exports.DeleteSecretCommand = DeleteSecretCommand;
2442
+ exports.DescribeSecretCommand = DescribeSecretCommand;
2443
+ exports.FilterNameStringType = FilterNameStringType;
2444
+ exports.GetRandomPasswordCommand = GetRandomPasswordCommand;
2445
+ exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
2446
+ exports.GetSecretValueCommand = GetSecretValueCommand;
2447
+ exports.ListSecretVersionIdsCommand = ListSecretVersionIdsCommand;
2448
+ exports.ListSecretsCommand = ListSecretsCommand;
2449
+ exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
2450
+ exports.PutSecretValueCommand = PutSecretValueCommand;
2451
+ exports.RemoveRegionsFromReplicationCommand = RemoveRegionsFromReplicationCommand;
2452
+ exports.ReplicateSecretToRegionsCommand = ReplicateSecretToRegionsCommand;
2453
+ exports.RestoreSecretCommand = RestoreSecretCommand;
2454
+ exports.RotateSecretCommand = RotateSecretCommand;
2455
+ exports.SecretsManager = SecretsManager;
2456
+ exports.SecretsManagerClient = SecretsManagerClient;
2457
+ exports.SortByType = SortByType;
2458
+ exports.SortOrderType = SortOrderType;
2459
+ exports.StatusType = StatusType;
2460
+ exports.StopReplicationToReplicaCommand = StopReplicationToReplicaCommand;
2461
+ exports.TagResourceCommand = TagResourceCommand;
2462
+ exports.UntagResourceCommand = UntagResourceCommand;
2463
+ exports.UpdateSecretCommand = UpdateSecretCommand;
2464
+ exports.UpdateSecretVersionStageCommand = UpdateSecretVersionStageCommand;
2465
+ exports.ValidateResourcePolicyCommand = ValidateResourcePolicyCommand;
2466
+ exports.paginateBatchGetSecretValue = paginateBatchGetSecretValue;
2467
+ exports.paginateListSecretVersionIds = paginateListSecretVersionIds;
2468
+ exports.paginateListSecrets = paginateListSecrets;
2469
+ Object.prototype.hasOwnProperty.call(schemas_0, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
2470
+ enumerable: true,
2471
+ value: schemas_0["__proto__"]
2472
+ });
2473
+ Object.keys(schemas_0).forEach(function(k) {
2474
+ if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = schemas_0[k];
2475
+ });
2476
+ Object.prototype.hasOwnProperty.call(errors, "__proto__") && !Object.prototype.hasOwnProperty.call(exports, "__proto__") && Object.defineProperty(exports, "__proto__", {
2477
+ enumerable: true,
2478
+ value: errors["__proto__"]
2479
+ });
2480
+ Object.keys(errors).forEach(function(k) {
2481
+ if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) exports[k] = errors[k];
2482
+ });
2483
+ }));
2484
+ //#endregion
2485
+ export default require_dist_cjs();
2486
+ export { require_dist_cjs$2 as t };