@aws-sdk/client-ssm-sap 3.1075.0 → 3.1077.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1,21 +1,58 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultSsmSapHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { DeleteResourcePermission$, DeregisterApplication$, GetApplication$, GetComponent$, GetConfigurationCheckOperation$, GetDatabase$, GetOperation$, GetResourcePermission$, ListApplications$, ListComponents$, ListConfigurationCheckDefinitions$, ListConfigurationCheckOperations$, ListDatabases$, ListOperationEvents$, ListOperations$, ListSubCheckResults$, ListSubCheckRuleResults$, ListTagsForResource$, PutResourcePermission$, RegisterApplication$, StartApplication$, StartApplicationRefresh$, StartConfigurationChecks$, StopApplication$, TagResource$, UntagResource$, UpdateApplicationSettings$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { SsmSapServiceException } = require("./models/SsmSapServiceException");
18
- exports.SsmSapServiceException = SsmSapServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+ const { Sha256 } = require("@smithy/core/checksum");
17
+
18
+ const defaultSsmSapHttpAuthSchemeParametersProvider = async (config, context, input) => {
19
+ return {
20
+ operation: getSmithyContext(context).operation,
21
+ region: await normalizeProvider(config.region)() || (() => {
22
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
23
+ })(),
24
+ };
25
+ };
26
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
27
+ return {
28
+ schemeId: "aws.auth#sigv4",
29
+ signingProperties: {
30
+ name: "ssm-sap",
31
+ region: authParameters.region,
32
+ },
33
+ propertiesExtractor: (config, context) => ({
34
+ signingProperties: {
35
+ config,
36
+ context,
37
+ },
38
+ }),
39
+ };
40
+ }
41
+ const defaultSsmSapHttpAuthSchemeProvider = (authParameters) => {
42
+ const options = [];
43
+ switch (authParameters.operation) {
44
+ default: {
45
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
46
+ }
47
+ }
48
+ return options;
49
+ };
50
+ const resolveHttpAuthSchemeConfig = (config) => {
51
+ const config_0 = resolveAwsSdkSigV4Config(config);
52
+ return Object.assign(config_0, {
53
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
54
+ });
55
+ };
19
56
 
20
57
  const resolveClientEndpointParameters = (options) => {
21
58
  return Object.assign(options, {
@@ -31,6 +68,1008 @@ const commonParams = {
31
68
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
69
  };
33
70
 
71
+ var version = "3.1076.0";
72
+ var packageInfo = {
73
+ version: version};
74
+
75
+ const k = "ref";
76
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
77
+ const _data = {
78
+ conditions: [
79
+ [c, [g]],
80
+ [c, j],
81
+ ["aws.partition", j, d],
82
+ [e, [{ [k]: "UseFIPS" }, b]],
83
+ [e, [{ [k]: "UseDualStack" }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
85
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
86
+ ],
87
+ results: [
88
+ [a],
89
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
90
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
91
+ [g, i],
92
+ ["https://ssm-sap-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
93
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
94
+ ["https://ssm-sap-fips.{Region}.{PartitionResult#dnsSuffix}", i],
95
+ [a, "FIPS is enabled but this partition does not support FIPS"],
96
+ ["https://ssm-sap.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
97
+ [a, "DualStack is enabled but this partition does not support DualStack"],
98
+ ["https://ssm-sap.{Region}.{PartitionResult#dnsSuffix}", i],
99
+ [a, "Invalid Configuration: Missing Region"]
100
+ ]
101
+ };
102
+ const root = 2;
103
+ const r = 100_000_000;
104
+ const nodes = new Int32Array([
105
+ -1, 1, -1,
106
+ 0, 12, 3,
107
+ 1, 4, r + 11,
108
+ 2, 5, r + 11,
109
+ 3, 8, 6,
110
+ 4, 7, r + 10,
111
+ 5, r + 8, r + 9,
112
+ 4, 10, 9,
113
+ 6, r + 6, r + 7,
114
+ 5, 11, r + 5,
115
+ 6, r + 4, r + 5,
116
+ 3, r + 1, 13,
117
+ 4, r + 2, r + 3,
118
+ ]);
119
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
120
+
121
+ const cache = new EndpointCache({
122
+ size: 50,
123
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
124
+ });
125
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
126
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
127
+ endpointParams: endpointParams,
128
+ logger: context.logger,
129
+ }));
130
+ };
131
+ customEndpointFunctions.aws = awsEndpointFunctions;
132
+
133
+ class SsmSapServiceException extends ServiceException {
134
+ constructor(options) {
135
+ super(options);
136
+ Object.setPrototypeOf(this, SsmSapServiceException.prototype);
137
+ }
138
+ }
139
+
140
+ class ConflictException extends SsmSapServiceException {
141
+ name = "ConflictException";
142
+ $fault = "client";
143
+ Message;
144
+ constructor(opts) {
145
+ super({
146
+ name: "ConflictException",
147
+ $fault: "client",
148
+ ...opts,
149
+ });
150
+ Object.setPrototypeOf(this, ConflictException.prototype);
151
+ this.Message = opts.Message;
152
+ }
153
+ }
154
+ class InternalServerException extends SsmSapServiceException {
155
+ name = "InternalServerException";
156
+ $fault = "server";
157
+ Message;
158
+ constructor(opts) {
159
+ super({
160
+ name: "InternalServerException",
161
+ $fault: "server",
162
+ ...opts,
163
+ });
164
+ Object.setPrototypeOf(this, InternalServerException.prototype);
165
+ this.Message = opts.Message;
166
+ }
167
+ }
168
+ class ResourceNotFoundException extends SsmSapServiceException {
169
+ name = "ResourceNotFoundException";
170
+ $fault = "client";
171
+ Message;
172
+ constructor(opts) {
173
+ super({
174
+ name: "ResourceNotFoundException",
175
+ $fault: "client",
176
+ ...opts,
177
+ });
178
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
179
+ this.Message = opts.Message;
180
+ }
181
+ }
182
+ class ValidationException extends SsmSapServiceException {
183
+ name = "ValidationException";
184
+ $fault = "client";
185
+ Message;
186
+ constructor(opts) {
187
+ super({
188
+ name: "ValidationException",
189
+ $fault: "client",
190
+ ...opts,
191
+ });
192
+ Object.setPrototypeOf(this, ValidationException.prototype);
193
+ this.Message = opts.Message;
194
+ }
195
+ }
196
+ class UnauthorizedException extends SsmSapServiceException {
197
+ name = "UnauthorizedException";
198
+ $fault = "client";
199
+ Message;
200
+ constructor(opts) {
201
+ super({
202
+ name: "UnauthorizedException",
203
+ $fault: "client",
204
+ ...opts,
205
+ });
206
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
207
+ this.Message = opts.Message;
208
+ }
209
+ }
210
+
211
+ const _A = "Application";
212
+ const _AA = "ApplicationArn";
213
+ const _AAA = "AssociatedApplicationArns";
214
+ const _AAT = "ApplicableApplicationTypes";
215
+ const _AC = "ApplicationCredential";
216
+ const _ACL = "ApplicationCredentialList";
217
+ const _AH = "AssociatedHost";
218
+ const _AI = "ApplicationId";
219
+ const _ARA = "AppRegistryArn";
220
+ const _AS = "ApplicationSummary";
221
+ const _ASL = "ApplicationSummaryList";
222
+ const _AT = "ActionType";
223
+ const _ATl = "AllocationType";
224
+ const _ATp = "ApplicationType";
225
+ const _Ap = "Applications";
226
+ const _Ar = "Arn";
227
+ const _B = "Backint";
228
+ const _BC = "BackintConfig";
229
+ const _BM = "BackintMode";
230
+ const _C = "Components";
231
+ const _CC = "ChildComponents";
232
+ const _CCA = "ConnectedComponentArns";
233
+ const _CCD = "ConfigurationCheckDefinition";
234
+ const _CCDL = "ConfigurationCheckDefinitionList";
235
+ const _CCDo = "ConfigurationCheckDescription";
236
+ const _CCI = "ConfigurationCheckId";
237
+ const _CCIo = "ConfigurationCheckIds";
238
+ const _CCN = "ConfigurationCheckName";
239
+ const _CCO = "ConfigurationCheckOperation";
240
+ const _CCOL = "ConfigurationCheckOperationList";
241
+ const _CCOo = "ConfigurationCheckOperations";
242
+ const _CCo = "ConfigurationChecks";
243
+ const _CE = "ConflictException";
244
+ const _CI = "ComponentId";
245
+ const _CIL = "ComponentInfoList";
246
+ const _CIo = "ComponentInfo";
247
+ const _CIom = "ComponentsInfo";
248
+ const _CIon = "ConnectionIp";
249
+ const _CS = "ComponentSummary";
250
+ const _CSL = "ComponentSummaryList";
251
+ const _CSl = "ClusterStatus";
252
+ const _CT = "CredentialType";
253
+ const _CTAOU = "CredentialsToAddOrUpdate";
254
+ const _CTR = "CredentialsToRemove";
255
+ const _CTo = "ComponentType";
256
+ const _Co = "Component";
257
+ const _Cr = "Credentials";
258
+ const _D = "Databases";
259
+ const _DA = "DatabaseArn";
260
+ const _DAI = "DeregisterApplicationInput";
261
+ const _DAO = "DeregisterApplicationOutput";
262
+ const _DAe = "DeregisterApplication";
263
+ const _DC = "DatabaseConnection";
264
+ const _DCM = "DatabaseConnectionMethod";
265
+ const _DI = "DatabaseId";
266
+ const _DN = "DatabaseName";
267
+ const _DRP = "DeleteResourcePermission";
268
+ const _DRPI = "DeleteResourcePermissionInput";
269
+ const _DRPO = "DeleteResourcePermissionOutput";
270
+ const _DS = "DiscoveryStatus";
271
+ const _DSL = "DatabaseSummaryList";
272
+ const _DSa = "DatabaseSummary";
273
+ const _DT = "DatabaseType";
274
+ const _Da = "Database";
275
+ const _De = "Description";
276
+ const _ECII = "EC2InstanceId";
277
+ const _EII = "Ec2InstanceId";
278
+ const _ENBIP = "EnsureNoBackupInProcess";
279
+ const _ER = "EnqueueReplication";
280
+ const _ET = "EndTime";
281
+ const _F = "Filter";
282
+ const _FL = "FilterList";
283
+ const _Fa = "Failed";
284
+ const _Fi = "Filters";
285
+ const _GA = "GetApplication";
286
+ const _GAI = "GetApplicationInput";
287
+ const _GAO = "GetApplicationOutput";
288
+ const _GC = "GetComponent";
289
+ const _GCCO = "GetConfigurationCheckOperation";
290
+ const _GCCOI = "GetConfigurationCheckOperationInput";
291
+ const _GCCOO = "GetConfigurationCheckOperationOutput";
292
+ const _GCI = "GetComponentInput";
293
+ const _GCO = "GetComponentOutput";
294
+ const _GD = "GetDatabase";
295
+ const _GDI = "GetDatabaseInput";
296
+ const _GDO = "GetDatabaseOutput";
297
+ const _GO = "GetOperation";
298
+ const _GOI = "GetOperationInput";
299
+ const _GOO = "GetOperationOutput";
300
+ const _GRP = "GetResourcePermission";
301
+ const _GRPI = "GetResourcePermissionInput";
302
+ const _GRPO = "GetResourcePermissionOutput";
303
+ const _H = "Hostname";
304
+ const _HI = "HostIp";
305
+ const _HL = "HostList";
306
+ const _HN = "HostName";
307
+ const _HOM = "HsrOperationMode";
308
+ const _HR = "HostRole";
309
+ const _HRM = "HsrReplicationMode";
310
+ const _HT = "HsrTier";
311
+ const _HV = "HdbVersion";
312
+ const _Ho = "Hosts";
313
+ const _Hos = "Host";
314
+ const _I = "Id";
315
+ const _IA = "IpAddresses";
316
+ const _IAL = "IpAddressList";
317
+ const _IAM = "IpAddressMember";
318
+ const _IAp = "IpAddress";
319
+ const _IEIS = "IncludeEc2InstanceShutdown";
320
+ const _II = "InstanceId";
321
+ const _ISE = "InternalServerException";
322
+ const _In = "Instances";
323
+ const _Inf = "Info";
324
+ const _LA = "ListApplications";
325
+ const _LAI = "ListApplicationsInput";
326
+ const _LAO = "ListApplicationsOutput";
327
+ const _LC = "ListComponents";
328
+ const _LCCD = "ListConfigurationCheckDefinitions";
329
+ const _LCCDI = "ListConfigurationCheckDefinitionsInput";
330
+ const _LCCDO = "ListConfigurationCheckDefinitionsOutput";
331
+ const _LCCO = "ListConfigurationCheckOperations";
332
+ const _LCCOI = "ListConfigurationCheckOperationsInput";
333
+ const _LCCOO = "ListConfigurationCheckOperationsOutput";
334
+ const _LCI = "ListComponentsInput";
335
+ const _LCO = "ListComponentsOutput";
336
+ const _LD = "ListDatabases";
337
+ const _LDI = "ListDatabasesInput";
338
+ const _LDO = "ListDatabasesOutput";
339
+ const _LM = "ListMode";
340
+ const _LO = "ListOperations";
341
+ const _LOE = "ListOperationEvents";
342
+ const _LOEI = "ListOperationEventsInput";
343
+ const _LOEO = "ListOperationEventsOutput";
344
+ const _LOI = "ListOperationsInput";
345
+ const _LOO = "ListOperationsOutput";
346
+ const _LSCR = "ListSubCheckResults";
347
+ const _LSCRI = "ListSubCheckResultsInput";
348
+ const _LSCRO = "ListSubCheckResultsOutput";
349
+ const _LSCRR = "ListSubCheckRuleResults";
350
+ const _LSCRRI = "ListSubCheckRuleResultsInput";
351
+ const _LSCRRO = "ListSubCheckRuleResultsOutput";
352
+ const _LTFR = "ListTagsForResource";
353
+ const _LTFRR = "ListTagsForResourceRequest";
354
+ const _LTFRRi = "ListTagsForResourceResponse";
355
+ const _LU = "LastUpdated";
356
+ const _LUT = "LastUpdatedTime";
357
+ const _M = "Message";
358
+ const _MR = "MaxResults";
359
+ const _Me = "Metadata";
360
+ const _N = "Name";
361
+ const _NT = "NextToken";
362
+ const _O = "Operator";
363
+ const _OE = "OperationEvents";
364
+ const _OEL = "OperationEventList";
365
+ const _OEp = "OperationEvent";
366
+ const _OI = "OperationId";
367
+ const _OIp = "OperationIds";
368
+ const _OL = "OperationList";
369
+ const _OP = "OperationProperties";
370
+ const _OV = "OsVersion";
371
+ const _Op = "Operation";
372
+ const _Ope = "Operations";
373
+ const _P = "Policy";
374
+ const _PC = "ParentComponent";
375
+ const _PH = "PrimaryHost";
376
+ const _PRP = "PutResourcePermission";
377
+ const _PRPI = "PutResourcePermissionInput";
378
+ const _PRPO = "PutResourcePermissionOutput";
379
+ const _Pa = "Passed";
380
+ const _Pr = "Primary";
381
+ const _Pro = "Properties";
382
+ const _R = "Resilience";
383
+ const _RA = "ResourceArn";
384
+ const _RAI = "RegisterApplicationInput";
385
+ const _RAO = "RegisterApplicationOutput";
386
+ const _RAe = "RegisterApplication";
387
+ const _RI = "ResourceId";
388
+ const _RNFE = "ResourceNotFoundException";
389
+ const _RR = "RuleResults";
390
+ const _RRL = "RuleResultList";
391
+ const _RRu = "RuleResult";
392
+ const _RSC = "RuleStatusCounts";
393
+ const _RT = "ResourceType";
394
+ const _Re = "Resource";
395
+ const _Ref = "References";
396
+ const _S = "Status";
397
+ const _SA = "StartApplication";
398
+ const _SAI = "StartApplicationInput";
399
+ const _SAIt = "StopApplicationInput";
400
+ const _SAO = "StartApplicationOutput";
401
+ const _SAOt = "StopApplicationOutput";
402
+ const _SAR = "StartApplicationRefresh";
403
+ const _SARI = "StartApplicationRefreshInput";
404
+ const _SARO = "StartApplicationRefreshOutput";
405
+ const _SAt = "StopApplication";
406
+ const _SCC = "StartConfigurationChecks";
407
+ const _SCCI = "StartConfigurationChecksInput";
408
+ const _SCCO = "StartConfigurationChecksOutput";
409
+ const _SCE = "StopConnectedEntity";
410
+ const _SCR = "SubCheckResults";
411
+ const _SCRI = "SubCheckResultId";
412
+ const _SCRL = "SubCheckResultList";
413
+ const _SCRu = "SubCheckResult";
414
+ const _SF = "SapFeature";
415
+ const _SH = "SapHostname";
416
+ const _SI = "SecretId";
417
+ const _SIN = "SapInstanceNumber";
418
+ const _SKV = "SapKernelVersion";
419
+ const _SM = "StatusMessage";
420
+ const _SN = "SystemNumber";
421
+ const _SQLP = "SQLPort";
422
+ const _SRA = "SourceResourceArn";
423
+ const _ST = "StartTime";
424
+ const _Si = "Sid";
425
+ const _T = "Type";
426
+ const _TR = "TagResource";
427
+ const _TRR = "TagResourceRequest";
428
+ const _TRRa = "TagResourceResponse";
429
+ const _Ta = "Tags";
430
+ const _Ti = "Timestamp";
431
+ const _U = "Unknown";
432
+ const _UAS = "UpdateApplicationSettings";
433
+ const _UASI = "UpdateApplicationSettingsInput";
434
+ const _UASO = "UpdateApplicationSettingsOutput";
435
+ const _UE = "UnauthorizedException";
436
+ const _UR = "UntagResource";
437
+ const _URR = "UntagResourceRequest";
438
+ const _URRn = "UntagResourceResponse";
439
+ const _V = "Value";
440
+ const _VE = "ValidationException";
441
+ const _W = "Warning";
442
+ const _c = "client";
443
+ const _e = "error";
444
+ const _h = "http";
445
+ const _hE = "httpError";
446
+ const _hQ = "httpQuery";
447
+ const _rA = "resourceArn";
448
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.ssmsap";
449
+ const _se = "server";
450
+ const _sp = "sparse";
451
+ const _t = "tags";
452
+ const _tK = "tagKeys";
453
+ const n0 = "com.amazonaws.ssmsap";
454
+ const _s_registry = TypeRegistry.for(_s);
455
+ var SsmSapServiceException$ = [-3, _s, "SsmSapServiceException", 0, [], []];
456
+ _s_registry.registerError(SsmSapServiceException$, SsmSapServiceException);
457
+ const n0_registry = TypeRegistry.for(n0);
458
+ var ConflictException$ = [-3, n0, _CE,
459
+ { [_e]: _c, [_hE]: 409 },
460
+ [_M],
461
+ [0]
462
+ ];
463
+ n0_registry.registerError(ConflictException$, ConflictException);
464
+ var InternalServerException$ = [-3, n0, _ISE,
465
+ { [_e]: _se, [_hE]: 500 },
466
+ [_M],
467
+ [0]
468
+ ];
469
+ n0_registry.registerError(InternalServerException$, InternalServerException);
470
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
471
+ { [_e]: _c, [_hE]: 404 },
472
+ [_M],
473
+ [0]
474
+ ];
475
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
476
+ var UnauthorizedException$ = [-3, n0, _UE,
477
+ { [_e]: _c, [_hE]: 401 },
478
+ [_M],
479
+ [0]
480
+ ];
481
+ n0_registry.registerError(UnauthorizedException$, UnauthorizedException);
482
+ var ValidationException$ = [-3, n0, _VE,
483
+ { [_e]: _c, [_hE]: 400 },
484
+ [_M],
485
+ [0]
486
+ ];
487
+ n0_registry.registerError(ValidationException$, ValidationException);
488
+ const errorTypeRegistries = [
489
+ _s_registry,
490
+ n0_registry,
491
+ ];
492
+ var SecretId = [0, n0, _SI, 8, 0];
493
+ var Application$ = [3, n0, _A,
494
+ 0,
495
+ [_I, _T, _Ar, _ARA, _S, _DS, _C, _LU, _SM, _AAA],
496
+ [0, 0, 0, 0, 0, 0, 64 | 0, 4, 0, 64 | 0]
497
+ ];
498
+ var ApplicationCredential$ = [3, n0, _AC,
499
+ 0,
500
+ [_DN, _CT, _SI],
501
+ [0, 0, [() => SecretId, 0]], 3
502
+ ];
503
+ var ApplicationSummary$ = [3, n0, _AS,
504
+ 0,
505
+ [_I, _DS, _T, _Ar, _Ta],
506
+ [0, 0, 0, 0, 128 | 0]
507
+ ];
508
+ var AssociatedHost$ = [3, n0, _AH,
509
+ 0,
510
+ [_H, _EII, _IA, _OV],
511
+ [0, 0, () => IpAddressList, 0]
512
+ ];
513
+ var BackintConfig$ = [3, n0, _BC,
514
+ 0,
515
+ [_BM, _ENBIP],
516
+ [0, 2], 2
517
+ ];
518
+ var Component$ = [3, n0, _Co,
519
+ 0,
520
+ [_CI, _Si, _SN, _PC, _CC, _AI, _CTo, _S, _SH, _SF, _SKV, _HV, _R, _AH, _D, _Ho, _PH, _DC, _LU, _Ar],
521
+ [0, 0, 0, 0, 64 | 0, 0, 0, 0, 0, 0, 0, 0, () => Resilience$, () => AssociatedHost$, 64 | 0, () => HostList, 0, () => DatabaseConnection$, 4, 0]
522
+ ];
523
+ var ComponentInfo$ = [3, n0, _CIo,
524
+ 0,
525
+ [_CTo, _Si, _EII],
526
+ [0, 0, 0], 3
527
+ ];
528
+ var ComponentSummary$ = [3, n0, _CS,
529
+ 0,
530
+ [_AI, _CI, _CTo, _Ta, _Ar],
531
+ [0, 0, 0, 128 | 0, 0]
532
+ ];
533
+ var ConfigurationCheckDefinition$ = [3, n0, _CCD,
534
+ 0,
535
+ [_I, _N, _De, _AAT],
536
+ [0, 0, 0, 64 | 0]
537
+ ];
538
+ var ConfigurationCheckOperation$ = [3, n0, _CCO,
539
+ 0,
540
+ [_I, _AI, _S, _SM, _CCI, _CCN, _CCDo, _ST, _ET, _RSC],
541
+ [0, 0, 0, 0, 0, 0, 0, 4, 4, () => RuleStatusCounts$]
542
+ ];
543
+ var Database$ = [3, n0, _Da,
544
+ 0,
545
+ [_AI, _CI, _Cr, _DI, _DN, _DT, _Ar, _S, _PH, _SQLP, _LU, _CCA],
546
+ [0, 0, [() => ApplicationCredentialList, 0], 0, 0, 0, 0, 0, 0, 1, 4, 64 | 0]
547
+ ];
548
+ var DatabaseConnection$ = [3, n0, _DC,
549
+ 0,
550
+ [_DCM, _DA, _CIon],
551
+ [0, 0, 0]
552
+ ];
553
+ var DatabaseSummary$ = [3, n0, _DSa,
554
+ 0,
555
+ [_AI, _CI, _DI, _DT, _Ar, _Ta],
556
+ [0, 0, 0, 0, 0, 128 | 0]
557
+ ];
558
+ var DeleteResourcePermissionInput$ = [3, n0, _DRPI,
559
+ 0,
560
+ [_RA, _AT, _SRA],
561
+ [0, 0, 0], 1
562
+ ];
563
+ var DeleteResourcePermissionOutput$ = [3, n0, _DRPO,
564
+ 0,
565
+ [_P],
566
+ [0]
567
+ ];
568
+ var DeregisterApplicationInput$ = [3, n0, _DAI,
569
+ 0,
570
+ [_AI],
571
+ [0], 1
572
+ ];
573
+ var DeregisterApplicationOutput$ = [3, n0, _DAO,
574
+ 0,
575
+ [],
576
+ []
577
+ ];
578
+ var Filter$ = [3, n0, _F,
579
+ 0,
580
+ [_N, _V, _O],
581
+ [0, 0, 0], 3
582
+ ];
583
+ var GetApplicationInput$ = [3, n0, _GAI,
584
+ 0,
585
+ [_AI, _AA, _ARA],
586
+ [0, 0, 0]
587
+ ];
588
+ var GetApplicationOutput$ = [3, n0, _GAO,
589
+ 0,
590
+ [_A, _Ta],
591
+ [() => Application$, 128 | 0]
592
+ ];
593
+ var GetComponentInput$ = [3, n0, _GCI,
594
+ 0,
595
+ [_AI, _CI],
596
+ [0, 0], 2
597
+ ];
598
+ var GetComponentOutput$ = [3, n0, _GCO,
599
+ 0,
600
+ [_Co, _Ta],
601
+ [() => Component$, 128 | 0]
602
+ ];
603
+ var GetConfigurationCheckOperationInput$ = [3, n0, _GCCOI,
604
+ 0,
605
+ [_OI],
606
+ [0], 1
607
+ ];
608
+ var GetConfigurationCheckOperationOutput$ = [3, n0, _GCCOO,
609
+ 0,
610
+ [_CCO],
611
+ [() => ConfigurationCheckOperation$]
612
+ ];
613
+ var GetDatabaseInput$ = [3, n0, _GDI,
614
+ 0,
615
+ [_AI, _CI, _DI, _DA],
616
+ [0, 0, 0, 0]
617
+ ];
618
+ var GetDatabaseOutput$ = [3, n0, _GDO,
619
+ 0,
620
+ [_Da, _Ta],
621
+ [[() => Database$, 0], 128 | 0]
622
+ ];
623
+ var GetOperationInput$ = [3, n0, _GOI,
624
+ 0,
625
+ [_OI],
626
+ [0], 1
627
+ ];
628
+ var GetOperationOutput$ = [3, n0, _GOO,
629
+ 0,
630
+ [_Op],
631
+ [[() => Operation$, 0]]
632
+ ];
633
+ var GetResourcePermissionInput$ = [3, n0, _GRPI,
634
+ 0,
635
+ [_RA, _AT],
636
+ [0, 0], 1
637
+ ];
638
+ var GetResourcePermissionOutput$ = [3, n0, _GRPO,
639
+ 0,
640
+ [_P],
641
+ [0]
642
+ ];
643
+ var Host$ = [3, n0, _Hos,
644
+ 0,
645
+ [_HN, _HI, _ECII, _II, _HR, _OV],
646
+ [0, 0, 0, 0, 0, 0]
647
+ ];
648
+ var IpAddressMember$ = [3, n0, _IAM,
649
+ 0,
650
+ [_IAp, _Pr, _ATl],
651
+ [0, 2, 0]
652
+ ];
653
+ var ListApplicationsInput$ = [3, n0, _LAI,
654
+ 0,
655
+ [_NT, _MR, _Fi],
656
+ [0, 1, () => FilterList]
657
+ ];
658
+ var ListApplicationsOutput$ = [3, n0, _LAO,
659
+ 0,
660
+ [_Ap, _NT],
661
+ [() => ApplicationSummaryList, 0]
662
+ ];
663
+ var ListComponentsInput$ = [3, n0, _LCI,
664
+ 0,
665
+ [_AI, _NT, _MR],
666
+ [0, 0, 1]
667
+ ];
668
+ var ListComponentsOutput$ = [3, n0, _LCO,
669
+ 0,
670
+ [_C, _NT],
671
+ [() => ComponentSummaryList, 0]
672
+ ];
673
+ var ListConfigurationCheckDefinitionsInput$ = [3, n0, _LCCDI,
674
+ 0,
675
+ [_MR, _NT],
676
+ [1, 0]
677
+ ];
678
+ var ListConfigurationCheckDefinitionsOutput$ = [3, n0, _LCCDO,
679
+ 0,
680
+ [_CCo, _NT],
681
+ [() => ConfigurationCheckDefinitionList, 0]
682
+ ];
683
+ var ListConfigurationCheckOperationsInput$ = [3, n0, _LCCOI,
684
+ 0,
685
+ [_AI, _LM, _MR, _NT, _Fi],
686
+ [0, 0, 1, 0, () => FilterList], 1
687
+ ];
688
+ var ListConfigurationCheckOperationsOutput$ = [3, n0, _LCCOO,
689
+ 0,
690
+ [_CCOo, _NT],
691
+ [() => ConfigurationCheckOperationList, 0]
692
+ ];
693
+ var ListDatabasesInput$ = [3, n0, _LDI,
694
+ 0,
695
+ [_AI, _CI, _NT, _MR],
696
+ [0, 0, 0, 1]
697
+ ];
698
+ var ListDatabasesOutput$ = [3, n0, _LDO,
699
+ 0,
700
+ [_D, _NT],
701
+ [() => DatabaseSummaryList, 0]
702
+ ];
703
+ var ListOperationEventsInput$ = [3, n0, _LOEI,
704
+ 0,
705
+ [_OI, _MR, _NT, _Fi],
706
+ [0, 1, 0, () => FilterList], 1
707
+ ];
708
+ var ListOperationEventsOutput$ = [3, n0, _LOEO,
709
+ 0,
710
+ [_OE, _NT],
711
+ [() => OperationEventList, 0]
712
+ ];
713
+ var ListOperationsInput$ = [3, n0, _LOI,
714
+ 0,
715
+ [_AI, _MR, _NT, _Fi],
716
+ [0, 1, 0, () => FilterList], 1
717
+ ];
718
+ var ListOperationsOutput$ = [3, n0, _LOO,
719
+ 0,
720
+ [_Ope, _NT],
721
+ [[() => OperationList, 0], 0]
722
+ ];
723
+ var ListSubCheckResultsInput$ = [3, n0, _LSCRI,
724
+ 0,
725
+ [_OI, _MR, _NT],
726
+ [0, 1, 0], 1
727
+ ];
728
+ var ListSubCheckResultsOutput$ = [3, n0, _LSCRO,
729
+ 0,
730
+ [_SCR, _NT],
731
+ [() => SubCheckResultList, 0]
732
+ ];
733
+ var ListSubCheckRuleResultsInput$ = [3, n0, _LSCRRI,
734
+ 0,
735
+ [_SCRI, _MR, _NT],
736
+ [0, 1, 0], 1
737
+ ];
738
+ var ListSubCheckRuleResultsOutput$ = [3, n0, _LSCRRO,
739
+ 0,
740
+ [_RR, _NT],
741
+ [() => RuleResultList, 0]
742
+ ];
743
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
744
+ 0,
745
+ [_rA],
746
+ [[0, 1]], 1
747
+ ];
748
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
749
+ 0,
750
+ [_t],
751
+ [128 | 0]
752
+ ];
753
+ var Operation$ = [3, n0, _Op,
754
+ 0,
755
+ [_I, _T, _S, _SM, _Pro, _RT, _RI, _RA, _ST, _ET, _LUT],
756
+ [0, 0, 0, 0, [() => OperationProperties, 0], 0, 0, 0, 4, 4, 4]
757
+ ];
758
+ var OperationEvent$ = [3, n0, _OEp,
759
+ 0,
760
+ [_De, _Re, _S, _SM, _Ti],
761
+ [0, () => Resource$, 0, 0, 4]
762
+ ];
763
+ var PutResourcePermissionInput$ = [3, n0, _PRPI,
764
+ 0,
765
+ [_AT, _SRA, _RA],
766
+ [0, 0, 0], 3
767
+ ];
768
+ var PutResourcePermissionOutput$ = [3, n0, _PRPO,
769
+ 0,
770
+ [_P],
771
+ [0]
772
+ ];
773
+ var RegisterApplicationInput$ = [3, n0, _RAI,
774
+ 0,
775
+ [_AI, _ATp, _In, _SIN, _Si, _Ta, _Cr, _DA, _CIom],
776
+ [0, 0, 64 | 0, 0, 0, 128 | 0, [() => ApplicationCredentialList, 0], 0, () => ComponentInfoList], 3
777
+ ];
778
+ var RegisterApplicationOutput$ = [3, n0, _RAO,
779
+ 0,
780
+ [_A, _OI],
781
+ [() => Application$, 0]
782
+ ];
783
+ var Resilience$ = [3, n0, _R,
784
+ 0,
785
+ [_HT, _HRM, _HOM, _CSl, _ER],
786
+ [0, 0, 0, 0, 2]
787
+ ];
788
+ var Resource$ = [3, n0, _Re,
789
+ 0,
790
+ [_RA, _RT],
791
+ [0, 0]
792
+ ];
793
+ var RuleResult$ = [3, n0, _RRu,
794
+ 0,
795
+ [_I, _De, _S, _M, _Me],
796
+ [0, 0, 0, 0, 128 | 0]
797
+ ];
798
+ var RuleStatusCounts$ = [3, n0, _RSC,
799
+ 0,
800
+ [_Fa, _W, _Inf, _Pa, _U],
801
+ [1, 1, 1, 1, 1]
802
+ ];
803
+ var StartApplicationInput$ = [3, n0, _SAI,
804
+ 0,
805
+ [_AI],
806
+ [0], 1
807
+ ];
808
+ var StartApplicationOutput$ = [3, n0, _SAO,
809
+ 0,
810
+ [_OI],
811
+ [0]
812
+ ];
813
+ var StartApplicationRefreshInput$ = [3, n0, _SARI,
814
+ 0,
815
+ [_AI],
816
+ [0], 1
817
+ ];
818
+ var StartApplicationRefreshOutput$ = [3, n0, _SARO,
819
+ 0,
820
+ [_OI],
821
+ [0]
822
+ ];
823
+ var StartConfigurationChecksInput$ = [3, n0, _SCCI,
824
+ 0,
825
+ [_AI, _CCIo],
826
+ [0, 64 | 0], 1
827
+ ];
828
+ var StartConfigurationChecksOutput$ = [3, n0, _SCCO,
829
+ 0,
830
+ [_CCOo],
831
+ [() => ConfigurationCheckOperationList]
832
+ ];
833
+ var StopApplicationInput$ = [3, n0, _SAIt,
834
+ 0,
835
+ [_AI, _SCE, _IEIS],
836
+ [0, 0, 2], 1
837
+ ];
838
+ var StopApplicationOutput$ = [3, n0, _SAOt,
839
+ 0,
840
+ [_OI],
841
+ [0]
842
+ ];
843
+ var SubCheckResult$ = [3, n0, _SCRu,
844
+ 0,
845
+ [_I, _N, _De, _Ref],
846
+ [0, 0, 0, 64 | 0]
847
+ ];
848
+ var TagResourceRequest$ = [3, n0, _TRR,
849
+ 0,
850
+ [_rA, _t],
851
+ [[0, 1], 128 | 0], 2
852
+ ];
853
+ var TagResourceResponse$ = [3, n0, _TRRa,
854
+ 0,
855
+ [],
856
+ []
857
+ ];
858
+ var UntagResourceRequest$ = [3, n0, _URR,
859
+ 0,
860
+ [_rA, _tK],
861
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
862
+ ];
863
+ var UntagResourceResponse$ = [3, n0, _URRn,
864
+ 0,
865
+ [],
866
+ []
867
+ ];
868
+ var UpdateApplicationSettingsInput$ = [3, n0, _UASI,
869
+ 0,
870
+ [_AI, _CTAOU, _CTR, _B, _DA],
871
+ [0, [() => ApplicationCredentialList, 0], [() => ApplicationCredentialList, 0], () => BackintConfig$, 0], 1
872
+ ];
873
+ var UpdateApplicationSettingsOutput$ = [3, n0, _UASO,
874
+ 0,
875
+ [_M, _OIp],
876
+ [0, 64 | 0]
877
+ ];
878
+ var ApplicationCredentialList = [1, n0, _ACL,
879
+ 0, [() => ApplicationCredential$,
880
+ 0]
881
+ ];
882
+ var ApplicationSummaryList = [1, n0, _ASL,
883
+ 0, () => ApplicationSummary$
884
+ ];
885
+ var ComponentInfoList = [1, n0, _CIL,
886
+ 0, () => ComponentInfo$
887
+ ];
888
+ var ComponentSummaryList = [1, n0, _CSL,
889
+ 0, () => ComponentSummary$
890
+ ];
891
+ var ConfigurationCheckDefinitionList = [1, n0, _CCDL,
892
+ 0, () => ConfigurationCheckDefinition$
893
+ ];
894
+ var ConfigurationCheckOperationList = [1, n0, _CCOL,
895
+ 0, () => ConfigurationCheckOperation$
896
+ ];
897
+ var DatabaseSummaryList = [1, n0, _DSL,
898
+ 0, () => DatabaseSummary$
899
+ ];
900
+ var FilterList = [1, n0, _FL,
901
+ 0, () => Filter$
902
+ ];
903
+ var HostList = [1, n0, _HL,
904
+ 0, () => Host$
905
+ ];
906
+ var IpAddressList = [1, n0, _IAL,
907
+ 0, () => IpAddressMember$
908
+ ];
909
+ var OperationEventList = [1, n0, _OEL,
910
+ 0, () => OperationEvent$
911
+ ];
912
+ var OperationList = [1, n0, _OL,
913
+ 0, [() => Operation$,
914
+ 0]
915
+ ];
916
+ var RuleResultList = [1, n0, _RRL,
917
+ 0, () => RuleResult$
918
+ ];
919
+ var SubCheckResultList = [1, n0, _SCRL,
920
+ 0, () => SubCheckResult$
921
+ ];
922
+ var OperationProperties = [2, n0, _OP,
923
+ { [_sp]: 1 }, 0, 0
924
+ ];
925
+ var DeleteResourcePermission$ = [9, n0, _DRP,
926
+ { [_h]: ["POST", "/delete-resource-permission", 200] }, () => DeleteResourcePermissionInput$, () => DeleteResourcePermissionOutput$
927
+ ];
928
+ var DeregisterApplication$ = [9, n0, _DAe,
929
+ { [_h]: ["POST", "/deregister-application", 200] }, () => DeregisterApplicationInput$, () => DeregisterApplicationOutput$
930
+ ];
931
+ var GetApplication$ = [9, n0, _GA,
932
+ { [_h]: ["POST", "/get-application", 200] }, () => GetApplicationInput$, () => GetApplicationOutput$
933
+ ];
934
+ var GetComponent$ = [9, n0, _GC,
935
+ { [_h]: ["POST", "/get-component", 200] }, () => GetComponentInput$, () => GetComponentOutput$
936
+ ];
937
+ var GetConfigurationCheckOperation$ = [9, n0, _GCCO,
938
+ { [_h]: ["POST", "/get-configuration-check-operation", 200] }, () => GetConfigurationCheckOperationInput$, () => GetConfigurationCheckOperationOutput$
939
+ ];
940
+ var GetDatabase$ = [9, n0, _GD,
941
+ { [_h]: ["POST", "/get-database", 200] }, () => GetDatabaseInput$, () => GetDatabaseOutput$
942
+ ];
943
+ var GetOperation$ = [9, n0, _GO,
944
+ { [_h]: ["POST", "/get-operation", 200] }, () => GetOperationInput$, () => GetOperationOutput$
945
+ ];
946
+ var GetResourcePermission$ = [9, n0, _GRP,
947
+ { [_h]: ["POST", "/get-resource-permission", 200] }, () => GetResourcePermissionInput$, () => GetResourcePermissionOutput$
948
+ ];
949
+ var ListApplications$ = [9, n0, _LA,
950
+ { [_h]: ["POST", "/list-applications", 200] }, () => ListApplicationsInput$, () => ListApplicationsOutput$
951
+ ];
952
+ var ListComponents$ = [9, n0, _LC,
953
+ { [_h]: ["POST", "/list-components", 200] }, () => ListComponentsInput$, () => ListComponentsOutput$
954
+ ];
955
+ var ListConfigurationCheckDefinitions$ = [9, n0, _LCCD,
956
+ { [_h]: ["POST", "/list-configuration-check-definitions", 200] }, () => ListConfigurationCheckDefinitionsInput$, () => ListConfigurationCheckDefinitionsOutput$
957
+ ];
958
+ var ListConfigurationCheckOperations$ = [9, n0, _LCCO,
959
+ { [_h]: ["POST", "/list-configuration-check-operations", 200] }, () => ListConfigurationCheckOperationsInput$, () => ListConfigurationCheckOperationsOutput$
960
+ ];
961
+ var ListDatabases$ = [9, n0, _LD,
962
+ { [_h]: ["POST", "/list-databases", 200] }, () => ListDatabasesInput$, () => ListDatabasesOutput$
963
+ ];
964
+ var ListOperationEvents$ = [9, n0, _LOE,
965
+ { [_h]: ["POST", "/list-operation-events", 200] }, () => ListOperationEventsInput$, () => ListOperationEventsOutput$
966
+ ];
967
+ var ListOperations$ = [9, n0, _LO,
968
+ { [_h]: ["POST", "/list-operations", 200] }, () => ListOperationsInput$, () => ListOperationsOutput$
969
+ ];
970
+ var ListSubCheckResults$ = [9, n0, _LSCR,
971
+ { [_h]: ["POST", "/list-sub-check-results", 200] }, () => ListSubCheckResultsInput$, () => ListSubCheckResultsOutput$
972
+ ];
973
+ var ListSubCheckRuleResults$ = [9, n0, _LSCRR,
974
+ { [_h]: ["POST", "/list-sub-check-rule-results", 200] }, () => ListSubCheckRuleResultsInput$, () => ListSubCheckRuleResultsOutput$
975
+ ];
976
+ var ListTagsForResource$ = [9, n0, _LTFR,
977
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
978
+ ];
979
+ var PutResourcePermission$ = [9, n0, _PRP,
980
+ { [_h]: ["POST", "/put-resource-permission", 200] }, () => PutResourcePermissionInput$, () => PutResourcePermissionOutput$
981
+ ];
982
+ var RegisterApplication$ = [9, n0, _RAe,
983
+ { [_h]: ["POST", "/register-application", 200] }, () => RegisterApplicationInput$, () => RegisterApplicationOutput$
984
+ ];
985
+ var StartApplication$ = [9, n0, _SA,
986
+ { [_h]: ["POST", "/start-application", 200] }, () => StartApplicationInput$, () => StartApplicationOutput$
987
+ ];
988
+ var StartApplicationRefresh$ = [9, n0, _SAR,
989
+ { [_h]: ["POST", "/start-application-refresh", 200] }, () => StartApplicationRefreshInput$, () => StartApplicationRefreshOutput$
990
+ ];
991
+ var StartConfigurationChecks$ = [9, n0, _SCC,
992
+ { [_h]: ["POST", "/start-configuration-checks", 200] }, () => StartConfigurationChecksInput$, () => StartConfigurationChecksOutput$
993
+ ];
994
+ var StopApplication$ = [9, n0, _SAt,
995
+ { [_h]: ["POST", "/stop-application", 200] }, () => StopApplicationInput$, () => StopApplicationOutput$
996
+ ];
997
+ var TagResource$ = [9, n0, _TR,
998
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
999
+ ];
1000
+ var UntagResource$ = [9, n0, _UR,
1001
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
1002
+ ];
1003
+ var UpdateApplicationSettings$ = [9, n0, _UAS,
1004
+ { [_h]: ["POST", "/update-application-settings", 200] }, () => UpdateApplicationSettingsInput$, () => UpdateApplicationSettingsOutput$
1005
+ ];
1006
+
1007
+ const getRuntimeConfig$1 = (config) => {
1008
+ return {
1009
+ apiVersion: "2018-05-10",
1010
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1011
+ base64Encoder: config?.base64Encoder ?? toBase64,
1012
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1013
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1014
+ extensions: config?.extensions ?? [],
1015
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultSsmSapHttpAuthSchemeProvider,
1016
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1017
+ {
1018
+ schemeId: "aws.auth#sigv4",
1019
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1020
+ signer: new AwsSdkSigV4Signer(),
1021
+ },
1022
+ ],
1023
+ logger: config?.logger ?? new NoOpLogger(),
1024
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
1025
+ protocolSettings: config?.protocolSettings ?? {
1026
+ defaultNamespace: "com.amazonaws.ssmsap",
1027
+ errorTypeRegistries,
1028
+ version: "2018-05-10",
1029
+ serviceTarget: "SsmSap",
1030
+ },
1031
+ serviceId: config?.serviceId ?? "Ssm Sap",
1032
+ sha256: config?.sha256 ?? Sha256,
1033
+ urlParser: config?.urlParser ?? parseUrl,
1034
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1035
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1036
+ };
1037
+ };
1038
+
1039
+ const getRuntimeConfig = (config) => {
1040
+ emitWarningIfUnsupportedVersion(process.version);
1041
+ const defaultsMode = resolveDefaultsModeConfig(config);
1042
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1043
+ const clientSharedValues = getRuntimeConfig$1(config);
1044
+ emitWarningIfUnsupportedVersion$1(process.version);
1045
+ const loaderConfig = {
1046
+ profile: config?.profile,
1047
+ logger: clientSharedValues.logger,
1048
+ };
1049
+ return {
1050
+ ...clientSharedValues,
1051
+ ...config,
1052
+ runtime: "node",
1053
+ defaultsMode,
1054
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1055
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1056
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1057
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1058
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1059
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1060
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1061
+ retryMode: config?.retryMode ??
1062
+ loadConfig({
1063
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1064
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1065
+ }, config),
1066
+ streamCollector: config?.streamCollector ?? streamCollector,
1067
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1068
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1069
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1070
+ };
1071
+ };
1072
+
34
1073
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1074
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1075
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -632,57 +1671,174 @@ const RuleResultStatus = {
632
1671
  };
633
1672
 
634
1673
  exports.AllocationType = AllocationType;
1674
+ exports.Application$ = Application$;
1675
+ exports.ApplicationCredential$ = ApplicationCredential$;
635
1676
  exports.ApplicationDiscoveryStatus = ApplicationDiscoveryStatus;
636
1677
  exports.ApplicationStatus = ApplicationStatus;
1678
+ exports.ApplicationSummary$ = ApplicationSummary$;
637
1679
  exports.ApplicationType = ApplicationType;
1680
+ exports.AssociatedHost$ = AssociatedHost$;
1681
+ exports.BackintConfig$ = BackintConfig$;
638
1682
  exports.BackintMode = BackintMode;
639
1683
  exports.ClusterStatus = ClusterStatus;
1684
+ exports.Component$ = Component$;
1685
+ exports.ComponentInfo$ = ComponentInfo$;
640
1686
  exports.ComponentStatus = ComponentStatus;
1687
+ exports.ComponentSummary$ = ComponentSummary$;
641
1688
  exports.ComponentType = ComponentType;
1689
+ exports.ConfigurationCheckDefinition$ = ConfigurationCheckDefinition$;
1690
+ exports.ConfigurationCheckOperation$ = ConfigurationCheckOperation$;
642
1691
  exports.ConfigurationCheckOperationListingMode = ConfigurationCheckOperationListingMode;
643
1692
  exports.ConfigurationCheckType = ConfigurationCheckType;
1693
+ exports.ConflictException = ConflictException;
1694
+ exports.ConflictException$ = ConflictException$;
644
1695
  exports.ConnectedEntityType = ConnectedEntityType;
645
1696
  exports.CredentialType = CredentialType;
1697
+ exports.Database$ = Database$;
1698
+ exports.DatabaseConnection$ = DatabaseConnection$;
646
1699
  exports.DatabaseConnectionMethod = DatabaseConnectionMethod;
647
1700
  exports.DatabaseStatus = DatabaseStatus;
1701
+ exports.DatabaseSummary$ = DatabaseSummary$;
648
1702
  exports.DatabaseType = DatabaseType;
1703
+ exports.DeleteResourcePermission$ = DeleteResourcePermission$;
649
1704
  exports.DeleteResourcePermissionCommand = DeleteResourcePermissionCommand;
1705
+ exports.DeleteResourcePermissionInput$ = DeleteResourcePermissionInput$;
1706
+ exports.DeleteResourcePermissionOutput$ = DeleteResourcePermissionOutput$;
1707
+ exports.DeregisterApplication$ = DeregisterApplication$;
650
1708
  exports.DeregisterApplicationCommand = DeregisterApplicationCommand;
1709
+ exports.DeregisterApplicationInput$ = DeregisterApplicationInput$;
1710
+ exports.DeregisterApplicationOutput$ = DeregisterApplicationOutput$;
1711
+ exports.Filter$ = Filter$;
651
1712
  exports.FilterOperator = FilterOperator;
1713
+ exports.GetApplication$ = GetApplication$;
652
1714
  exports.GetApplicationCommand = GetApplicationCommand;
1715
+ exports.GetApplicationInput$ = GetApplicationInput$;
1716
+ exports.GetApplicationOutput$ = GetApplicationOutput$;
1717
+ exports.GetComponent$ = GetComponent$;
653
1718
  exports.GetComponentCommand = GetComponentCommand;
1719
+ exports.GetComponentInput$ = GetComponentInput$;
1720
+ exports.GetComponentOutput$ = GetComponentOutput$;
1721
+ exports.GetConfigurationCheckOperation$ = GetConfigurationCheckOperation$;
654
1722
  exports.GetConfigurationCheckOperationCommand = GetConfigurationCheckOperationCommand;
1723
+ exports.GetConfigurationCheckOperationInput$ = GetConfigurationCheckOperationInput$;
1724
+ exports.GetConfigurationCheckOperationOutput$ = GetConfigurationCheckOperationOutput$;
1725
+ exports.GetDatabase$ = GetDatabase$;
655
1726
  exports.GetDatabaseCommand = GetDatabaseCommand;
1727
+ exports.GetDatabaseInput$ = GetDatabaseInput$;
1728
+ exports.GetDatabaseOutput$ = GetDatabaseOutput$;
1729
+ exports.GetOperation$ = GetOperation$;
656
1730
  exports.GetOperationCommand = GetOperationCommand;
1731
+ exports.GetOperationInput$ = GetOperationInput$;
1732
+ exports.GetOperationOutput$ = GetOperationOutput$;
1733
+ exports.GetResourcePermission$ = GetResourcePermission$;
657
1734
  exports.GetResourcePermissionCommand = GetResourcePermissionCommand;
1735
+ exports.GetResourcePermissionInput$ = GetResourcePermissionInput$;
1736
+ exports.GetResourcePermissionOutput$ = GetResourcePermissionOutput$;
1737
+ exports.Host$ = Host$;
658
1738
  exports.HostRole = HostRole;
1739
+ exports.InternalServerException = InternalServerException;
1740
+ exports.InternalServerException$ = InternalServerException$;
1741
+ exports.IpAddressMember$ = IpAddressMember$;
1742
+ exports.ListApplications$ = ListApplications$;
659
1743
  exports.ListApplicationsCommand = ListApplicationsCommand;
1744
+ exports.ListApplicationsInput$ = ListApplicationsInput$;
1745
+ exports.ListApplicationsOutput$ = ListApplicationsOutput$;
1746
+ exports.ListComponents$ = ListComponents$;
660
1747
  exports.ListComponentsCommand = ListComponentsCommand;
1748
+ exports.ListComponentsInput$ = ListComponentsInput$;
1749
+ exports.ListComponentsOutput$ = ListComponentsOutput$;
1750
+ exports.ListConfigurationCheckDefinitions$ = ListConfigurationCheckDefinitions$;
661
1751
  exports.ListConfigurationCheckDefinitionsCommand = ListConfigurationCheckDefinitionsCommand;
1752
+ exports.ListConfigurationCheckDefinitionsInput$ = ListConfigurationCheckDefinitionsInput$;
1753
+ exports.ListConfigurationCheckDefinitionsOutput$ = ListConfigurationCheckDefinitionsOutput$;
1754
+ exports.ListConfigurationCheckOperations$ = ListConfigurationCheckOperations$;
662
1755
  exports.ListConfigurationCheckOperationsCommand = ListConfigurationCheckOperationsCommand;
1756
+ exports.ListConfigurationCheckOperationsInput$ = ListConfigurationCheckOperationsInput$;
1757
+ exports.ListConfigurationCheckOperationsOutput$ = ListConfigurationCheckOperationsOutput$;
1758
+ exports.ListDatabases$ = ListDatabases$;
663
1759
  exports.ListDatabasesCommand = ListDatabasesCommand;
1760
+ exports.ListDatabasesInput$ = ListDatabasesInput$;
1761
+ exports.ListDatabasesOutput$ = ListDatabasesOutput$;
1762
+ exports.ListOperationEvents$ = ListOperationEvents$;
664
1763
  exports.ListOperationEventsCommand = ListOperationEventsCommand;
1764
+ exports.ListOperationEventsInput$ = ListOperationEventsInput$;
1765
+ exports.ListOperationEventsOutput$ = ListOperationEventsOutput$;
1766
+ exports.ListOperations$ = ListOperations$;
665
1767
  exports.ListOperationsCommand = ListOperationsCommand;
1768
+ exports.ListOperationsInput$ = ListOperationsInput$;
1769
+ exports.ListOperationsOutput$ = ListOperationsOutput$;
1770
+ exports.ListSubCheckResults$ = ListSubCheckResults$;
666
1771
  exports.ListSubCheckResultsCommand = ListSubCheckResultsCommand;
1772
+ exports.ListSubCheckResultsInput$ = ListSubCheckResultsInput$;
1773
+ exports.ListSubCheckResultsOutput$ = ListSubCheckResultsOutput$;
1774
+ exports.ListSubCheckRuleResults$ = ListSubCheckRuleResults$;
667
1775
  exports.ListSubCheckRuleResultsCommand = ListSubCheckRuleResultsCommand;
1776
+ exports.ListSubCheckRuleResultsInput$ = ListSubCheckRuleResultsInput$;
1777
+ exports.ListSubCheckRuleResultsOutput$ = ListSubCheckRuleResultsOutput$;
1778
+ exports.ListTagsForResource$ = ListTagsForResource$;
668
1779
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1780
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1781
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1782
+ exports.Operation$ = Operation$;
1783
+ exports.OperationEvent$ = OperationEvent$;
669
1784
  exports.OperationEventStatus = OperationEventStatus;
670
1785
  exports.OperationMode = OperationMode;
671
1786
  exports.OperationStatus = OperationStatus;
672
1787
  exports.PermissionActionType = PermissionActionType;
1788
+ exports.PutResourcePermission$ = PutResourcePermission$;
673
1789
  exports.PutResourcePermissionCommand = PutResourcePermissionCommand;
1790
+ exports.PutResourcePermissionInput$ = PutResourcePermissionInput$;
1791
+ exports.PutResourcePermissionOutput$ = PutResourcePermissionOutput$;
1792
+ exports.RegisterApplication$ = RegisterApplication$;
674
1793
  exports.RegisterApplicationCommand = RegisterApplicationCommand;
1794
+ exports.RegisterApplicationInput$ = RegisterApplicationInput$;
1795
+ exports.RegisterApplicationOutput$ = RegisterApplicationOutput$;
675
1796
  exports.ReplicationMode = ReplicationMode;
1797
+ exports.Resilience$ = Resilience$;
1798
+ exports.Resource$ = Resource$;
1799
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1800
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1801
+ exports.RuleResult$ = RuleResult$;
676
1802
  exports.RuleResultStatus = RuleResultStatus;
1803
+ exports.RuleStatusCounts$ = RuleStatusCounts$;
677
1804
  exports.SsmSap = SsmSap;
678
1805
  exports.SsmSapClient = SsmSapClient;
1806
+ exports.SsmSapServiceException = SsmSapServiceException;
1807
+ exports.SsmSapServiceException$ = SsmSapServiceException$;
1808
+ exports.StartApplication$ = StartApplication$;
679
1809
  exports.StartApplicationCommand = StartApplicationCommand;
1810
+ exports.StartApplicationInput$ = StartApplicationInput$;
1811
+ exports.StartApplicationOutput$ = StartApplicationOutput$;
1812
+ exports.StartApplicationRefresh$ = StartApplicationRefresh$;
680
1813
  exports.StartApplicationRefreshCommand = StartApplicationRefreshCommand;
1814
+ exports.StartApplicationRefreshInput$ = StartApplicationRefreshInput$;
1815
+ exports.StartApplicationRefreshOutput$ = StartApplicationRefreshOutput$;
1816
+ exports.StartConfigurationChecks$ = StartConfigurationChecks$;
681
1817
  exports.StartConfigurationChecksCommand = StartConfigurationChecksCommand;
1818
+ exports.StartConfigurationChecksInput$ = StartConfigurationChecksInput$;
1819
+ exports.StartConfigurationChecksOutput$ = StartConfigurationChecksOutput$;
1820
+ exports.StopApplication$ = StopApplication$;
682
1821
  exports.StopApplicationCommand = StopApplicationCommand;
1822
+ exports.StopApplicationInput$ = StopApplicationInput$;
1823
+ exports.StopApplicationOutput$ = StopApplicationOutput$;
1824
+ exports.SubCheckResult$ = SubCheckResult$;
1825
+ exports.TagResource$ = TagResource$;
683
1826
  exports.TagResourceCommand = TagResourceCommand;
1827
+ exports.TagResourceRequest$ = TagResourceRequest$;
1828
+ exports.TagResourceResponse$ = TagResourceResponse$;
1829
+ exports.UnauthorizedException = UnauthorizedException;
1830
+ exports.UnauthorizedException$ = UnauthorizedException$;
1831
+ exports.UntagResource$ = UntagResource$;
684
1832
  exports.UntagResourceCommand = UntagResourceCommand;
1833
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1834
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
1835
+ exports.UpdateApplicationSettings$ = UpdateApplicationSettings$;
685
1836
  exports.UpdateApplicationSettingsCommand = UpdateApplicationSettingsCommand;
1837
+ exports.UpdateApplicationSettingsInput$ = UpdateApplicationSettingsInput$;
1838
+ exports.UpdateApplicationSettingsOutput$ = UpdateApplicationSettingsOutput$;
1839
+ exports.ValidationException = ValidationException;
1840
+ exports.ValidationException$ = ValidationException$;
1841
+ exports.errorTypeRegistries = errorTypeRegistries;
686
1842
  exports.paginateListApplications = paginateListApplications;
687
1843
  exports.paginateListComponents = paginateListComponents;
688
1844
  exports.paginateListConfigurationCheckDefinitions = paginateListConfigurationCheckDefinitions;