@aws-sdk/client-migration-hub-refactor-spaces 3.1074.0 → 3.1076.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1,21 +1,57 @@
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, defaultMigrationHubRefactorSpacesHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CreateApplication$, CreateEnvironment$, CreateRoute$, CreateService$, DeleteApplication$, DeleteEnvironment$, DeleteResourcePolicy$, DeleteRoute$, DeleteService$, GetApplication$, GetEnvironment$, GetResourcePolicy$, GetRoute$, GetService$, ListApplications$, ListEnvironments$, ListEnvironmentVpcs$, ListRoutes$, ListServices$, ListTagsForResource$, PutResourcePolicy$, TagResource$, UntagResource$, UpdateRoute$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { MigrationHubRefactorSpacesServiceException } = require("./models/MigrationHubRefactorSpacesServiceException");
18
- exports.MigrationHubRefactorSpacesServiceException = MigrationHubRefactorSpacesServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsRestJsonProtocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultMigrationHubRefactorSpacesHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "refactor-spaces",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultMigrationHubRefactorSpacesHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,938 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
85
+ ],
86
+ results: [
87
+ [a],
88
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
89
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
90
+ [g, i],
91
+ ["https://refactor-spaces-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://refactor-spaces-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://refactor-spaces.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://refactor-spaces.{Region}.{PartitionResult#dnsSuffix}", i],
98
+ [a, "Invalid Configuration: Missing Region"]
99
+ ]
100
+ };
101
+ const root = 2;
102
+ const r = 100_000_000;
103
+ const nodes = new Int32Array([
104
+ -1, 1, -1,
105
+ 0, 12, 3,
106
+ 1, 4, r + 11,
107
+ 2, 5, r + 11,
108
+ 3, 8, 6,
109
+ 4, 7, r + 10,
110
+ 5, r + 8, r + 9,
111
+ 4, 10, 9,
112
+ 6, r + 6, r + 7,
113
+ 5, 11, r + 5,
114
+ 6, r + 4, r + 5,
115
+ 3, r + 1, 13,
116
+ 4, r + 2, r + 3,
117
+ ]);
118
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
119
+
120
+ const cache = new EndpointCache({
121
+ size: 50,
122
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
123
+ });
124
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
125
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
126
+ endpointParams: endpointParams,
127
+ logger: context.logger,
128
+ }));
129
+ };
130
+ customEndpointFunctions.aws = awsEndpointFunctions;
131
+
132
+ class MigrationHubRefactorSpacesServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, MigrationHubRefactorSpacesServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class AccessDeniedException extends MigrationHubRefactorSpacesServiceException {
140
+ name = "AccessDeniedException";
141
+ $fault = "client";
142
+ Message;
143
+ constructor(opts) {
144
+ super({
145
+ name: "AccessDeniedException",
146
+ $fault: "client",
147
+ ...opts,
148
+ });
149
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
150
+ this.Message = opts.Message;
151
+ }
152
+ }
153
+ class ConflictException extends MigrationHubRefactorSpacesServiceException {
154
+ name = "ConflictException";
155
+ $fault = "client";
156
+ Message;
157
+ ResourceId;
158
+ ResourceType;
159
+ constructor(opts) {
160
+ super({
161
+ name: "ConflictException",
162
+ $fault: "client",
163
+ ...opts,
164
+ });
165
+ Object.setPrototypeOf(this, ConflictException.prototype);
166
+ this.Message = opts.Message;
167
+ this.ResourceId = opts.ResourceId;
168
+ this.ResourceType = opts.ResourceType;
169
+ }
170
+ }
171
+ class InternalServerException extends MigrationHubRefactorSpacesServiceException {
172
+ name = "InternalServerException";
173
+ $fault = "server";
174
+ Message;
175
+ constructor(opts) {
176
+ super({
177
+ name: "InternalServerException",
178
+ $fault: "server",
179
+ ...opts,
180
+ });
181
+ Object.setPrototypeOf(this, InternalServerException.prototype);
182
+ this.Message = opts.Message;
183
+ }
184
+ }
185
+ class ResourceNotFoundException extends MigrationHubRefactorSpacesServiceException {
186
+ name = "ResourceNotFoundException";
187
+ $fault = "client";
188
+ Message;
189
+ ResourceId;
190
+ ResourceType;
191
+ constructor(opts) {
192
+ super({
193
+ name: "ResourceNotFoundException",
194
+ $fault: "client",
195
+ ...opts,
196
+ });
197
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
198
+ this.Message = opts.Message;
199
+ this.ResourceId = opts.ResourceId;
200
+ this.ResourceType = opts.ResourceType;
201
+ }
202
+ }
203
+ class ServiceQuotaExceededException extends MigrationHubRefactorSpacesServiceException {
204
+ name = "ServiceQuotaExceededException";
205
+ $fault = "client";
206
+ Message;
207
+ ResourceId;
208
+ ResourceType;
209
+ QuotaCode;
210
+ ServiceCode;
211
+ constructor(opts) {
212
+ super({
213
+ name: "ServiceQuotaExceededException",
214
+ $fault: "client",
215
+ ...opts,
216
+ });
217
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
218
+ this.Message = opts.Message;
219
+ this.ResourceId = opts.ResourceId;
220
+ this.ResourceType = opts.ResourceType;
221
+ this.QuotaCode = opts.QuotaCode;
222
+ this.ServiceCode = opts.ServiceCode;
223
+ }
224
+ }
225
+ class ThrottlingException extends MigrationHubRefactorSpacesServiceException {
226
+ name = "ThrottlingException";
227
+ $fault = "client";
228
+ Message;
229
+ QuotaCode;
230
+ ServiceCode;
231
+ RetryAfterSeconds;
232
+ constructor(opts) {
233
+ super({
234
+ name: "ThrottlingException",
235
+ $fault: "client",
236
+ ...opts,
237
+ });
238
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
239
+ this.Message = opts.Message;
240
+ this.QuotaCode = opts.QuotaCode;
241
+ this.ServiceCode = opts.ServiceCode;
242
+ this.RetryAfterSeconds = opts.RetryAfterSeconds;
243
+ }
244
+ }
245
+ class ValidationException extends MigrationHubRefactorSpacesServiceException {
246
+ name = "ValidationException";
247
+ $fault = "client";
248
+ Message;
249
+ constructor(opts) {
250
+ super({
251
+ name: "ValidationException",
252
+ $fault: "client",
253
+ ...opts,
254
+ });
255
+ Object.setPrototypeOf(this, ValidationException.prototype);
256
+ this.Message = opts.Message;
257
+ }
258
+ }
259
+ class InvalidResourcePolicyException extends MigrationHubRefactorSpacesServiceException {
260
+ name = "InvalidResourcePolicyException";
261
+ $fault = "client";
262
+ Message;
263
+ constructor(opts) {
264
+ super({
265
+ name: "InvalidResourcePolicyException",
266
+ $fault: "client",
267
+ ...opts,
268
+ });
269
+ Object.setPrototypeOf(this, InvalidResourcePolicyException.prototype);
270
+ this.Message = opts.Message;
271
+ }
272
+ }
273
+
274
+ const _A = "Arn";
275
+ const _AD = "AdditionalDetails";
276
+ const _ADE = "AccessDeniedException";
277
+ const _AGI = "ApiGatewayId";
278
+ const _AGP = "ApiGatewayProxy";
279
+ const _AGPC = "ApiGatewayProxyConfig";
280
+ const _AGPI = "ApiGatewayProxyInput";
281
+ const _AGPS = "ApiGatewayProxySummary";
282
+ const _AI = "ApplicationId";
283
+ const _AIc = "AccountId";
284
+ const _AIp = "ApplicationIdentifier";
285
+ const _AS = "ApplicationSummary";
286
+ const _ASL = "ApplicationSummaryList";
287
+ const _ASP = "AppendSourcePath";
288
+ const _ASc = "ActivationState";
289
+ const _ASp = "ApplicationSummaries";
290
+ const _C = "Code";
291
+ const _CA = "CreateApplication";
292
+ const _CAR = "CreateApplicationRequest";
293
+ const _CARr = "CreateApplicationResponse";
294
+ const _CB = "CidrBlocks";
295
+ const _CBAI = "CreatedByAccountId";
296
+ const _CE = "ConflictException";
297
+ const _CER = "CreateEnvironmentRequest";
298
+ const _CERr = "CreateEnvironmentResponse";
299
+ const _CEr = "CreateEnvironment";
300
+ const _CR = "CreateRoute";
301
+ const _CRR = "CreateRouteRequest";
302
+ const _CRRr = "CreateRouteResponse";
303
+ const _CS = "CreateService";
304
+ const _CSR = "CreateServiceRequest";
305
+ const _CSRr = "CreateServiceResponse";
306
+ const _CT = "CreatedTime";
307
+ const _CTl = "ClientToken";
308
+ const _D = "Description";
309
+ const _DA = "DeleteApplication";
310
+ const _DAR = "DeleteApplicationRequest";
311
+ const _DARe = "DeleteApplicationResponse";
312
+ const _DE = "DeleteEnvironment";
313
+ const _DER = "DeleteEnvironmentRequest";
314
+ const _DERe = "DeleteEnvironmentResponse";
315
+ const _DR = "DefaultRoute";
316
+ const _DRI = "DefaultRouteInput";
317
+ const _DRP = "DeleteResourcePolicy";
318
+ const _DRPR = "DeleteResourcePolicyRequest";
319
+ const _DRPRe = "DeleteResourcePolicyResponse";
320
+ const _DRR = "DeleteRouteRequest";
321
+ const _DRRe = "DeleteRouteResponse";
322
+ const _DRe = "DeleteRoute";
323
+ const _DS = "DeleteService";
324
+ const _DSR = "DeleteServiceRequest";
325
+ const _DSRe = "DeleteServiceResponse";
326
+ const _E = "Error";
327
+ const _EI = "EnvironmentId";
328
+ const _EIn = "EnvironmentIdentifier";
329
+ const _ER = "ErrorResponse";
330
+ const _ES = "EnvironmentSummary";
331
+ const _ESL = "EnvironmentSummaryList";
332
+ const _ESn = "EnvironmentSummaries";
333
+ const _ET = "EndpointType";
334
+ const _EV = "EnvironmentVpc";
335
+ const _EVL = "EnvironmentVpcList";
336
+ const _EVn = "EnvironmentVpcs";
337
+ const _GA = "GetApplication";
338
+ const _GAR = "GetApplicationRequest";
339
+ const _GARe = "GetApplicationResponse";
340
+ const _GE = "GetEnvironment";
341
+ const _GER = "GetEnvironmentRequest";
342
+ const _GERe = "GetEnvironmentResponse";
343
+ const _GR = "GetRoute";
344
+ const _GRP = "GetResourcePolicy";
345
+ const _GRPR = "GetResourcePolicyRequest";
346
+ const _GRPRe = "GetResourcePolicyResponse";
347
+ const _GRR = "GetRouteRequest";
348
+ const _GRRe = "GetRouteResponse";
349
+ const _GS = "GetService";
350
+ const _GSR = "GetServiceRequest";
351
+ const _GSRe = "GetServiceResponse";
352
+ const _HU = "HealthUrl";
353
+ const _I = "Identifier";
354
+ const _ICP = "IncludeChildPaths";
355
+ const _IRPE = "InvalidResourcePolicyException";
356
+ const _ISE = "InternalServerException";
357
+ const _LA = "ListApplications";
358
+ const _LAR = "ListApplicationsRequest";
359
+ const _LARi = "ListApplicationsResponse";
360
+ const _LE = "LambdaEndpoint";
361
+ const _LEC = "LambdaEndpointConfig";
362
+ const _LEI = "LambdaEndpointInput";
363
+ const _LER = "ListEnvironmentsRequest";
364
+ const _LERi = "ListEnvironmentsResponse";
365
+ const _LES = "LambdaEndpointSummary";
366
+ const _LEV = "ListEnvironmentVpcs";
367
+ const _LEVR = "ListEnvironmentVpcsRequest";
368
+ const _LEVRi = "ListEnvironmentVpcsResponse";
369
+ const _LEi = "ListEnvironments";
370
+ const _LR = "ListRoutes";
371
+ const _LRR = "ListRoutesRequest";
372
+ const _LRRi = "ListRoutesResponse";
373
+ const _LS = "ListServices";
374
+ const _LSR = "ListServicesRequest";
375
+ const _LSRi = "ListServicesResponse";
376
+ const _LTFR = "ListTagsForResource";
377
+ const _LTFRR = "ListTagsForResourceRequest";
378
+ const _LTFRRi = "ListTagsForResourceResponse";
379
+ const _LUT = "LastUpdatedTime";
380
+ const _M = "Message";
381
+ const _MR = "MaxResults";
382
+ const _Me = "Methods";
383
+ const _N = "Name";
384
+ const _NA = "NlbArn";
385
+ const _NFT = "NetworkFabricType";
386
+ const _NN = "NlbName";
387
+ const _NT = "NextToken";
388
+ const _OAI = "OwnerAccountId";
389
+ const _P = "Policy";
390
+ const _PRP = "PutResourcePolicy";
391
+ const _PRPR = "PutResourcePolicyRequest";
392
+ const _PRPRu = "PutResourcePolicyResponse";
393
+ const _PRTI = "PathResourceToId";
394
+ const _PT = "ProxyType";
395
+ const _PU = "ProxyUrl";
396
+ const _QC = "QuotaCode";
397
+ const _RA = "Retry-After";
398
+ const _RAS = "RetryAfterSeconds";
399
+ const _RAe = "ResourceArn";
400
+ const _RI = "ResourceId";
401
+ const _RIe = "ResourceIdentifier";
402
+ const _RIo = "RouteId";
403
+ const _RIou = "RouteIdentifier";
404
+ const _RNFE = "ResourceNotFoundException";
405
+ const _RS = "RouteSummary";
406
+ const _RSL = "RouteSummaryList";
407
+ const _RSo = "RouteSummaries";
408
+ const _RT = "ResourceType";
409
+ const _RTo = "RouteType";
410
+ const _S = "State";
411
+ const _SC = "ServiceCode";
412
+ const _SI = "ServiceIdentifier";
413
+ const _SIe = "ServiceId";
414
+ const _SN = "StageName";
415
+ const _SP = "SourcePath";
416
+ const _SQEE = "ServiceQuotaExceededException";
417
+ const _SS = "ServiceSummary";
418
+ const _SSL = "ServiceSummaryList";
419
+ const _SSe = "ServiceSummaries";
420
+ const _T = "Tags";
421
+ const _TE = "ThrottlingException";
422
+ const _TGI = "TransitGatewayId";
423
+ const _TK = "TagKeys";
424
+ const _TM = "TagMap";
425
+ const _TR = "TagResource";
426
+ const _TRR = "TagResourceRequest";
427
+ const _TRRa = "TagResourceResponse";
428
+ const _U = "Url";
429
+ const _UE = "UrlEndpoint";
430
+ const _UEC = "UrlEndpointConfig";
431
+ const _UEI = "UrlEndpointInput";
432
+ const _UES = "UrlEndpointSummary";
433
+ const _UPR = "UriPathRoute";
434
+ const _UPRI = "UriPathRouteInput";
435
+ const _UR = "UntagResource";
436
+ const _URR = "UntagResourceRequest";
437
+ const _URRn = "UntagResourceResponse";
438
+ const _URRp = "UpdateRouteRequest";
439
+ const _URRpd = "UpdateRouteResponse";
440
+ const _URp = "UpdateRoute";
441
+ const _VE = "ValidationException";
442
+ const _VI = "VpcId";
443
+ const _VLI = "VpcLinkId";
444
+ const _VN = "VpcName";
445
+ const _c = "client";
446
+ const _e = "error";
447
+ const _h = "http";
448
+ const _hE = "httpError";
449
+ const _hH = "httpHeader";
450
+ const _hQ = "httpQuery";
451
+ const _mR = "maxResults";
452
+ const _nT = "nextToken";
453
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.migrationhubrefactorspaces";
454
+ const _se = "server";
455
+ const _tK = "tagKeys";
456
+ const n0 = "com.amazonaws.migrationhubrefactorspaces";
457
+ const _s_registry = TypeRegistry.for(_s);
458
+ var MigrationHubRefactorSpacesServiceException$ = [-3, _s, "MigrationHubRefactorSpacesServiceException", 0, [], []];
459
+ _s_registry.registerError(MigrationHubRefactorSpacesServiceException$, MigrationHubRefactorSpacesServiceException);
460
+ const n0_registry = TypeRegistry.for(n0);
461
+ var AccessDeniedException$ = [-3, n0, _ADE,
462
+ { [_e]: _c, [_hE]: 403 },
463
+ [_M],
464
+ [0], 1
465
+ ];
466
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
467
+ var ConflictException$ = [-3, n0, _CE,
468
+ { [_e]: _c, [_hE]: 409 },
469
+ [_M, _RI, _RT],
470
+ [0, 0, 0], 3
471
+ ];
472
+ n0_registry.registerError(ConflictException$, ConflictException);
473
+ var InternalServerException$ = [-3, n0, _ISE,
474
+ { [_e]: _se, [_hE]: 500 },
475
+ [_M],
476
+ [0], 1
477
+ ];
478
+ n0_registry.registerError(InternalServerException$, InternalServerException);
479
+ var InvalidResourcePolicyException$ = [-3, n0, _IRPE,
480
+ { [_e]: _c, [_hE]: 400 },
481
+ [_M],
482
+ [0], 1
483
+ ];
484
+ n0_registry.registerError(InvalidResourcePolicyException$, InvalidResourcePolicyException);
485
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
486
+ { [_e]: _c, [_hE]: 404 },
487
+ [_M, _RI, _RT],
488
+ [0, 0, 0], 3
489
+ ];
490
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
491
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
492
+ { [_e]: _c, [_hE]: 402 },
493
+ [_M, _RI, _RT, _SC, _QC],
494
+ [0, 0, 0, 0, 0], 4
495
+ ];
496
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
497
+ var ThrottlingException$ = [-3, n0, _TE,
498
+ { [_e]: _c, [_hE]: 429 },
499
+ [_M, _QC, _SC, _RAS],
500
+ [0, 0, 0, [1, { [_hH]: _RA }]], 1
501
+ ];
502
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
503
+ var ValidationException$ = [-3, n0, _VE,
504
+ { [_e]: _c, [_hE]: 400 },
505
+ [_M],
506
+ [0], 1
507
+ ];
508
+ n0_registry.registerError(ValidationException$, ValidationException);
509
+ const errorTypeRegistries = [
510
+ _s_registry,
511
+ n0_registry,
512
+ ];
513
+ var ApiGatewayProxyConfig$ = [3, n0, _AGPC,
514
+ 0,
515
+ [_PU, _AGI, _VLI, _NA, _NN, _ET, _SN],
516
+ [0, 0, 0, 0, 0, 0, 0]
517
+ ];
518
+ var ApiGatewayProxyInput$ = [3, n0, _AGPI,
519
+ 0,
520
+ [_ET, _SN],
521
+ [0, 0]
522
+ ];
523
+ var ApiGatewayProxySummary$ = [3, n0, _AGPS,
524
+ 0,
525
+ [_PU, _AGI, _VLI, _NA, _NN, _ET, _SN],
526
+ [0, 0, 0, 0, 0, 0, 0]
527
+ ];
528
+ var ApplicationSummary$ = [3, n0, _AS,
529
+ 0,
530
+ [_N, _A, _OAI, _CBAI, _AI, _EI, _VI, _PT, _AGP, _S, _T, _E, _LUT, _CT],
531
+ [0, 0, 0, 0, 0, 0, 0, 0, () => ApiGatewayProxySummary$, 0, [() => TagMap, 0], () => ErrorResponse$, 4, 4]
532
+ ];
533
+ var CreateApplicationRequest$ = [3, n0, _CAR,
534
+ 0,
535
+ [_N, _EIn, _VI, _PT, _AGP, _T, _CTl],
536
+ [0, [0, 1], 0, 0, () => ApiGatewayProxyInput$, [() => TagMap, 0], [0, 4]], 4
537
+ ];
538
+ var CreateApplicationResponse$ = [3, n0, _CARr,
539
+ 0,
540
+ [_N, _A, _OAI, _CBAI, _AI, _EI, _VI, _PT, _AGP, _S, _T, _LUT, _CT],
541
+ [0, 0, 0, 0, 0, 0, 0, 0, () => ApiGatewayProxyInput$, 0, [() => TagMap, 0], 4, 4]
542
+ ];
543
+ var CreateEnvironmentRequest$ = [3, n0, _CER,
544
+ 0,
545
+ [_N, _NFT, _D, _T, _CTl],
546
+ [0, 0, 0, [() => TagMap, 0], [0, 4]], 2
547
+ ];
548
+ var CreateEnvironmentResponse$ = [3, n0, _CERr,
549
+ 0,
550
+ [_N, _A, _D, _EI, _NFT, _OAI, _S, _T, _LUT, _CT],
551
+ [0, 0, 0, 0, 0, 0, 0, [() => TagMap, 0], 4, 4]
552
+ ];
553
+ var CreateRouteRequest$ = [3, n0, _CRR,
554
+ 0,
555
+ [_EIn, _AIp, _SI, _RTo, _DR, _UPR, _T, _CTl],
556
+ [[0, 1], [0, 1], 0, 0, () => DefaultRouteInput$, () => UriPathRouteInput$, [() => TagMap, 0], [0, 4]], 4
557
+ ];
558
+ var CreateRouteResponse$ = [3, n0, _CRRr,
559
+ 0,
560
+ [_RIo, _A, _OAI, _CBAI, _RTo, _SIe, _AI, _UPR, _S, _T, _LUT, _CT],
561
+ [0, 0, 0, 0, 0, 0, 0, () => UriPathRouteInput$, 0, [() => TagMap, 0], 4, 4]
562
+ ];
563
+ var CreateServiceRequest$ = [3, n0, _CSR,
564
+ 0,
565
+ [_N, _EIn, _AIp, _ET, _D, _VI, _UE, _LE, _T, _CTl],
566
+ [0, [0, 1], [0, 1], 0, 0, 0, () => UrlEndpointInput$, () => LambdaEndpointInput$, [() => TagMap, 0], [0, 4]], 4
567
+ ];
568
+ var CreateServiceResponse$ = [3, n0, _CSRr,
569
+ 0,
570
+ [_SIe, _N, _A, _OAI, _CBAI, _D, _EI, _AI, _VI, _ET, _UE, _LE, _S, _T, _LUT, _CT],
571
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => UrlEndpointInput$, () => LambdaEndpointInput$, 0, [() => TagMap, 0], 4, 4]
572
+ ];
573
+ var DefaultRouteInput$ = [3, n0, _DRI,
574
+ 0,
575
+ [_ASc],
576
+ [0]
577
+ ];
578
+ var DeleteApplicationRequest$ = [3, n0, _DAR,
579
+ 0,
580
+ [_EIn, _AIp],
581
+ [[0, 1], [0, 1]], 2
582
+ ];
583
+ var DeleteApplicationResponse$ = [3, n0, _DARe,
584
+ 0,
585
+ [_N, _A, _AI, _EI, _S, _LUT],
586
+ [0, 0, 0, 0, 0, 4]
587
+ ];
588
+ var DeleteEnvironmentRequest$ = [3, n0, _DER,
589
+ 0,
590
+ [_EIn],
591
+ [[0, 1]], 1
592
+ ];
593
+ var DeleteEnvironmentResponse$ = [3, n0, _DERe,
594
+ 0,
595
+ [_N, _A, _EI, _S, _LUT],
596
+ [0, 0, 0, 0, 4]
597
+ ];
598
+ var DeleteResourcePolicyRequest$ = [3, n0, _DRPR,
599
+ 0,
600
+ [_I],
601
+ [[0, 1]], 1
602
+ ];
603
+ var DeleteResourcePolicyResponse$ = [3, n0, _DRPRe,
604
+ 0,
605
+ [],
606
+ []
607
+ ];
608
+ var DeleteRouteRequest$ = [3, n0, _DRR,
609
+ 0,
610
+ [_EIn, _AIp, _RIou],
611
+ [[0, 1], [0, 1], [0, 1]], 3
612
+ ];
613
+ var DeleteRouteResponse$ = [3, n0, _DRRe,
614
+ 0,
615
+ [_RIo, _A, _SIe, _AI, _S, _LUT],
616
+ [0, 0, 0, 0, 0, 4]
617
+ ];
618
+ var DeleteServiceRequest$ = [3, n0, _DSR,
619
+ 0,
620
+ [_EIn, _AIp, _SI],
621
+ [[0, 1], [0, 1], [0, 1]], 3
622
+ ];
623
+ var DeleteServiceResponse$ = [3, n0, _DSRe,
624
+ 0,
625
+ [_SIe, _N, _A, _EI, _AI, _S, _LUT],
626
+ [0, 0, 0, 0, 0, 0, 4]
627
+ ];
628
+ var EnvironmentSummary$ = [3, n0, _ES,
629
+ 0,
630
+ [_N, _A, _D, _EI, _NFT, _OAI, _TGI, _S, _T, _E, _LUT, _CT],
631
+ [0, 0, 0, 0, 0, 0, 0, 0, [() => TagMap, 0], () => ErrorResponse$, 4, 4]
632
+ ];
633
+ var EnvironmentVpc$ = [3, n0, _EV,
634
+ 0,
635
+ [_EI, _VI, _AIc, _CB, _VN, _LUT, _CT],
636
+ [0, 0, 0, 64 | 0, 0, 4, 4]
637
+ ];
638
+ var ErrorResponse$ = [3, n0, _ER,
639
+ 0,
640
+ [_C, _M, _AIc, _RIe, _RT, _AD],
641
+ [0, 0, 0, 0, 0, 128 | 0]
642
+ ];
643
+ var GetApplicationRequest$ = [3, n0, _GAR,
644
+ 0,
645
+ [_EIn, _AIp],
646
+ [[0, 1], [0, 1]], 2
647
+ ];
648
+ var GetApplicationResponse$ = [3, n0, _GARe,
649
+ 0,
650
+ [_N, _A, _OAI, _CBAI, _AI, _EI, _VI, _PT, _AGP, _S, _T, _E, _LUT, _CT],
651
+ [0, 0, 0, 0, 0, 0, 0, 0, () => ApiGatewayProxyConfig$, 0, [() => TagMap, 0], () => ErrorResponse$, 4, 4]
652
+ ];
653
+ var GetEnvironmentRequest$ = [3, n0, _GER,
654
+ 0,
655
+ [_EIn],
656
+ [[0, 1]], 1
657
+ ];
658
+ var GetEnvironmentResponse$ = [3, n0, _GERe,
659
+ 0,
660
+ [_N, _A, _D, _EI, _NFT, _OAI, _TGI, _S, _T, _E, _LUT, _CT],
661
+ [0, 0, 0, 0, 0, 0, 0, 0, [() => TagMap, 0], () => ErrorResponse$, 4, 4]
662
+ ];
663
+ var GetResourcePolicyRequest$ = [3, n0, _GRPR,
664
+ 0,
665
+ [_I],
666
+ [[0, 1]], 1
667
+ ];
668
+ var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
669
+ 0,
670
+ [_P],
671
+ [0]
672
+ ];
673
+ var GetRouteRequest$ = [3, n0, _GRR,
674
+ 0,
675
+ [_EIn, _AIp, _RIou],
676
+ [[0, 1], [0, 1], [0, 1]], 3
677
+ ];
678
+ var GetRouteResponse$ = [3, n0, _GRRe,
679
+ 0,
680
+ [_RIo, _A, _OAI, _CBAI, _RTo, _SIe, _AI, _EI, _SP, _Me, _ICP, _PRTI, _S, _T, _E, _LUT, _CT, _ASP],
681
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 2, 128 | 0, 0, [() => TagMap, 0], () => ErrorResponse$, 4, 4, 2]
682
+ ];
683
+ var GetServiceRequest$ = [3, n0, _GSR,
684
+ 0,
685
+ [_EIn, _AIp, _SI],
686
+ [[0, 1], [0, 1], [0, 1]], 3
687
+ ];
688
+ var GetServiceResponse$ = [3, n0, _GSRe,
689
+ 0,
690
+ [_SIe, _N, _A, _OAI, _CBAI, _D, _EI, _AI, _VI, _ET, _UE, _LE, _S, _T, _E, _LUT, _CT],
691
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => UrlEndpointConfig$, () => LambdaEndpointConfig$, 0, [() => TagMap, 0], () => ErrorResponse$, 4, 4]
692
+ ];
693
+ var LambdaEndpointConfig$ = [3, n0, _LEC,
694
+ 0,
695
+ [_A],
696
+ [0]
697
+ ];
698
+ var LambdaEndpointInput$ = [3, n0, _LEI,
699
+ 0,
700
+ [_A],
701
+ [0], 1
702
+ ];
703
+ var LambdaEndpointSummary$ = [3, n0, _LES,
704
+ 0,
705
+ [_A],
706
+ [0]
707
+ ];
708
+ var ListApplicationsRequest$ = [3, n0, _LAR,
709
+ 0,
710
+ [_EIn, _NT, _MR],
711
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
712
+ ];
713
+ var ListApplicationsResponse$ = [3, n0, _LARi,
714
+ 0,
715
+ [_ASL, _NT],
716
+ [[() => ApplicationSummaries, 0], 0]
717
+ ];
718
+ var ListEnvironmentsRequest$ = [3, n0, _LER,
719
+ 0,
720
+ [_NT, _MR],
721
+ [[0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]]
722
+ ];
723
+ var ListEnvironmentsResponse$ = [3, n0, _LERi,
724
+ 0,
725
+ [_ESL, _NT],
726
+ [[() => EnvironmentSummaries, 0], 0]
727
+ ];
728
+ var ListEnvironmentVpcsRequest$ = [3, n0, _LEVR,
729
+ 0,
730
+ [_EIn, _NT, _MR],
731
+ [[0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 1
732
+ ];
733
+ var ListEnvironmentVpcsResponse$ = [3, n0, _LEVRi,
734
+ 0,
735
+ [_EVL, _NT],
736
+ [() => EnvironmentVpcs, 0]
737
+ ];
738
+ var ListRoutesRequest$ = [3, n0, _LRR,
739
+ 0,
740
+ [_EIn, _AIp, _NT, _MR],
741
+ [[0, 1], [0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 2
742
+ ];
743
+ var ListRoutesResponse$ = [3, n0, _LRRi,
744
+ 0,
745
+ [_RSL, _NT],
746
+ [[() => RouteSummaries, 0], 0]
747
+ ];
748
+ var ListServicesRequest$ = [3, n0, _LSR,
749
+ 0,
750
+ [_EIn, _AIp, _NT, _MR],
751
+ [[0, 1], [0, 1], [0, { [_hQ]: _nT }], [1, { [_hQ]: _mR }]], 2
752
+ ];
753
+ var ListServicesResponse$ = [3, n0, _LSRi,
754
+ 0,
755
+ [_SSL, _NT],
756
+ [[() => ServiceSummaries, 0], 0]
757
+ ];
758
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
759
+ 0,
760
+ [_RAe],
761
+ [[0, 1]], 1
762
+ ];
763
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
764
+ 0,
765
+ [_T],
766
+ [[() => TagMap, 0]]
767
+ ];
768
+ var PutResourcePolicyRequest$ = [3, n0, _PRPR,
769
+ 0,
770
+ [_RAe, _P],
771
+ [0, 0], 2
772
+ ];
773
+ var PutResourcePolicyResponse$ = [3, n0, _PRPRu,
774
+ 0,
775
+ [],
776
+ []
777
+ ];
778
+ var RouteSummary$ = [3, n0, _RS,
779
+ 0,
780
+ [_RIo, _A, _OAI, _CBAI, _RTo, _SIe, _AI, _EI, _SP, _Me, _ICP, _PRTI, _S, _T, _E, _LUT, _CT, _ASP],
781
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 64 | 0, 2, 128 | 0, 0, [() => TagMap, 0], () => ErrorResponse$, 4, 4, 2]
782
+ ];
783
+ var ServiceSummary$ = [3, n0, _SS,
784
+ 0,
785
+ [_SIe, _N, _A, _OAI, _CBAI, _D, _EI, _AI, _VI, _ET, _UE, _LE, _S, _T, _E, _LUT, _CT],
786
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, () => UrlEndpointSummary$, () => LambdaEndpointSummary$, 0, [() => TagMap, 0], () => ErrorResponse$, 4, 4]
787
+ ];
788
+ var TagResourceRequest$ = [3, n0, _TRR,
789
+ 0,
790
+ [_RAe, _T],
791
+ [[0, 1], [() => TagMap, 0]], 2
792
+ ];
793
+ var TagResourceResponse$ = [3, n0, _TRRa,
794
+ 0,
795
+ [],
796
+ []
797
+ ];
798
+ var UntagResourceRequest$ = [3, n0, _URR,
799
+ 0,
800
+ [_RAe, _TK],
801
+ [[0, 1], [() => TagKeys, { [_hQ]: _tK }]], 2
802
+ ];
803
+ var UntagResourceResponse$ = [3, n0, _URRn,
804
+ 0,
805
+ [],
806
+ []
807
+ ];
808
+ var UpdateRouteRequest$ = [3, n0, _URRp,
809
+ 0,
810
+ [_EIn, _AIp, _RIou, _ASc],
811
+ [[0, 1], [0, 1], [0, 1], 0], 4
812
+ ];
813
+ var UpdateRouteResponse$ = [3, n0, _URRpd,
814
+ 0,
815
+ [_RIo, _A, _SIe, _AI, _S, _LUT],
816
+ [0, 0, 0, 0, 0, 4]
817
+ ];
818
+ var UriPathRouteInput$ = [3, n0, _UPRI,
819
+ 0,
820
+ [_SP, _ASc, _Me, _ICP, _ASP],
821
+ [0, 0, 64 | 0, 2, 2], 2
822
+ ];
823
+ var UrlEndpointConfig$ = [3, n0, _UEC,
824
+ 0,
825
+ [_U, _HU],
826
+ [0, 0]
827
+ ];
828
+ var UrlEndpointInput$ = [3, n0, _UEI,
829
+ 0,
830
+ [_U, _HU],
831
+ [0, 0], 1
832
+ ];
833
+ var UrlEndpointSummary$ = [3, n0, _UES,
834
+ 0,
835
+ [_U, _HU],
836
+ [0, 0]
837
+ ];
838
+ var ApplicationSummaries = [1, n0, _ASp,
839
+ 0, [() => ApplicationSummary$,
840
+ 0]
841
+ ];
842
+ var EnvironmentSummaries = [1, n0, _ESn,
843
+ 0, [() => EnvironmentSummary$,
844
+ 0]
845
+ ];
846
+ var EnvironmentVpcs = [1, n0, _EVn,
847
+ 0, () => EnvironmentVpc$
848
+ ];
849
+ var RouteSummaries = [1, n0, _RSo,
850
+ 0, [() => RouteSummary$,
851
+ 0]
852
+ ];
853
+ var ServiceSummaries = [1, n0, _SSe,
854
+ 0, [() => ServiceSummary$,
855
+ 0]
856
+ ];
857
+ var TagKeys = [1, n0, _TK,
858
+ 8, 0
859
+ ];
860
+ var TagMap = [2, n0, _TM,
861
+ 8, 0, 0
862
+ ];
863
+ var CreateApplication$ = [9, n0, _CA,
864
+ { [_h]: ["POST", "/environments/{EnvironmentIdentifier}/applications", 200] }, () => CreateApplicationRequest$, () => CreateApplicationResponse$
865
+ ];
866
+ var CreateEnvironment$ = [9, n0, _CEr,
867
+ { [_h]: ["POST", "/environments", 200] }, () => CreateEnvironmentRequest$, () => CreateEnvironmentResponse$
868
+ ];
869
+ var CreateRoute$ = [9, n0, _CR,
870
+ { [_h]: ["POST", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes", 200] }, () => CreateRouteRequest$, () => CreateRouteResponse$
871
+ ];
872
+ var CreateService$ = [9, n0, _CS,
873
+ { [_h]: ["POST", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services", 200] }, () => CreateServiceRequest$, () => CreateServiceResponse$
874
+ ];
875
+ var DeleteApplication$ = [9, n0, _DA,
876
+ { [_h]: ["DELETE", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}", 200] }, () => DeleteApplicationRequest$, () => DeleteApplicationResponse$
877
+ ];
878
+ var DeleteEnvironment$ = [9, n0, _DE,
879
+ { [_h]: ["DELETE", "/environments/{EnvironmentIdentifier}", 200] }, () => DeleteEnvironmentRequest$, () => DeleteEnvironmentResponse$
880
+ ];
881
+ var DeleteResourcePolicy$ = [9, n0, _DRP,
882
+ { [_h]: ["DELETE", "/resourcepolicy/{Identifier}", 200] }, () => DeleteResourcePolicyRequest$, () => DeleteResourcePolicyResponse$
883
+ ];
884
+ var DeleteRoute$ = [9, n0, _DRe,
885
+ { [_h]: ["DELETE", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}", 200] }, () => DeleteRouteRequest$, () => DeleteRouteResponse$
886
+ ];
887
+ var DeleteService$ = [9, n0, _DS,
888
+ { [_h]: ["DELETE", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services/{ServiceIdentifier}", 200] }, () => DeleteServiceRequest$, () => DeleteServiceResponse$
889
+ ];
890
+ var GetApplication$ = [9, n0, _GA,
891
+ { [_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}", 200] }, () => GetApplicationRequest$, () => GetApplicationResponse$
892
+ ];
893
+ var GetEnvironment$ = [9, n0, _GE,
894
+ { [_h]: ["GET", "/environments/{EnvironmentIdentifier}", 200] }, () => GetEnvironmentRequest$, () => GetEnvironmentResponse$
895
+ ];
896
+ var GetResourcePolicy$ = [9, n0, _GRP,
897
+ { [_h]: ["GET", "/resourcepolicy/{Identifier}", 200] }, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$
898
+ ];
899
+ var GetRoute$ = [9, n0, _GR,
900
+ { [_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}", 200] }, () => GetRouteRequest$, () => GetRouteResponse$
901
+ ];
902
+ var GetService$ = [9, n0, _GS,
903
+ { [_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services/{ServiceIdentifier}", 200] }, () => GetServiceRequest$, () => GetServiceResponse$
904
+ ];
905
+ var ListApplications$ = [9, n0, _LA,
906
+ { [_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications", 200] }, () => ListApplicationsRequest$, () => ListApplicationsResponse$
907
+ ];
908
+ var ListEnvironments$ = [9, n0, _LEi,
909
+ { [_h]: ["GET", "/environments", 200] }, () => ListEnvironmentsRequest$, () => ListEnvironmentsResponse$
910
+ ];
911
+ var ListEnvironmentVpcs$ = [9, n0, _LEV,
912
+ { [_h]: ["GET", "/environments/{EnvironmentIdentifier}/vpcs", 200] }, () => ListEnvironmentVpcsRequest$, () => ListEnvironmentVpcsResponse$
913
+ ];
914
+ var ListRoutes$ = [9, n0, _LR,
915
+ { [_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes", 200] }, () => ListRoutesRequest$, () => ListRoutesResponse$
916
+ ];
917
+ var ListServices$ = [9, n0, _LS,
918
+ { [_h]: ["GET", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/services", 200] }, () => ListServicesRequest$, () => ListServicesResponse$
919
+ ];
920
+ var ListTagsForResource$ = [9, n0, _LTFR,
921
+ { [_h]: ["GET", "/tags/{ResourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
922
+ ];
923
+ var PutResourcePolicy$ = [9, n0, _PRP,
924
+ { [_h]: ["PUT", "/resourcepolicy", 200] }, () => PutResourcePolicyRequest$, () => PutResourcePolicyResponse$
925
+ ];
926
+ var TagResource$ = [9, n0, _TR,
927
+ { [_h]: ["POST", "/tags/{ResourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
928
+ ];
929
+ var UntagResource$ = [9, n0, _UR,
930
+ { [_h]: ["DELETE", "/tags/{ResourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
931
+ ];
932
+ var UpdateRoute$ = [9, n0, _URp,
933
+ { [_h]: ["PATCH", "/environments/{EnvironmentIdentifier}/applications/{ApplicationIdentifier}/routes/{RouteIdentifier}", 200] }, () => UpdateRouteRequest$, () => UpdateRouteResponse$
934
+ ];
935
+
936
+ const getRuntimeConfig$1 = (config) => {
937
+ return {
938
+ apiVersion: "2021-10-26",
939
+ base64Decoder: config?.base64Decoder ?? fromBase64,
940
+ base64Encoder: config?.base64Encoder ?? toBase64,
941
+ disableHostPrefix: config?.disableHostPrefix ?? false,
942
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
943
+ extensions: config?.extensions ?? [],
944
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultMigrationHubRefactorSpacesHttpAuthSchemeProvider,
945
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
946
+ {
947
+ schemeId: "aws.auth#sigv4",
948
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
949
+ signer: new AwsSdkSigV4Signer(),
950
+ },
951
+ ],
952
+ logger: config?.logger ?? new NoOpLogger(),
953
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
954
+ protocolSettings: config?.protocolSettings ?? {
955
+ defaultNamespace: "com.amazonaws.migrationhubrefactorspaces",
956
+ errorTypeRegistries,
957
+ version: "2021-10-26",
958
+ serviceTarget: "RefactorSpaces",
959
+ },
960
+ serviceId: config?.serviceId ?? "Migration Hub Refactor Spaces",
961
+ urlParser: config?.urlParser ?? parseUrl,
962
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
963
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
964
+ };
965
+ };
966
+
967
+ const getRuntimeConfig = (config) => {
968
+ emitWarningIfUnsupportedVersion(process.version);
969
+ const defaultsMode = resolveDefaultsModeConfig(config);
970
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
971
+ const clientSharedValues = getRuntimeConfig$1(config);
972
+ emitWarningIfUnsupportedVersion$1(process.version);
973
+ const loaderConfig = {
974
+ profile: config?.profile,
975
+ logger: clientSharedValues.logger,
976
+ };
977
+ return {
978
+ ...clientSharedValues,
979
+ ...config,
980
+ runtime: "node",
981
+ defaultsMode,
982
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
983
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
984
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
985
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
986
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
987
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
988
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
989
+ retryMode: config?.retryMode ??
990
+ loadConfig({
991
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
992
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
993
+ }, config),
994
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
995
+ streamCollector: config?.streamCollector ?? streamCollector,
996
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
997
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
998
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
999
+ };
1000
+ };
1001
+
34
1002
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1003
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1004
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -541,45 +1509,153 @@ const ServiceState = {
541
1509
  FAILED: "FAILED",
542
1510
  };
543
1511
 
1512
+ exports.AccessDeniedException = AccessDeniedException;
1513
+ exports.AccessDeniedException$ = AccessDeniedException$;
544
1514
  exports.ApiGatewayEndpointType = ApiGatewayEndpointType;
1515
+ exports.ApiGatewayProxyConfig$ = ApiGatewayProxyConfig$;
1516
+ exports.ApiGatewayProxyInput$ = ApiGatewayProxyInput$;
1517
+ exports.ApiGatewayProxySummary$ = ApiGatewayProxySummary$;
545
1518
  exports.ApplicationState = ApplicationState;
1519
+ exports.ApplicationSummary$ = ApplicationSummary$;
1520
+ exports.ConflictException = ConflictException;
1521
+ exports.ConflictException$ = ConflictException$;
1522
+ exports.CreateApplication$ = CreateApplication$;
546
1523
  exports.CreateApplicationCommand = CreateApplicationCommand;
1524
+ exports.CreateApplicationRequest$ = CreateApplicationRequest$;
1525
+ exports.CreateApplicationResponse$ = CreateApplicationResponse$;
1526
+ exports.CreateEnvironment$ = CreateEnvironment$;
547
1527
  exports.CreateEnvironmentCommand = CreateEnvironmentCommand;
1528
+ exports.CreateEnvironmentRequest$ = CreateEnvironmentRequest$;
1529
+ exports.CreateEnvironmentResponse$ = CreateEnvironmentResponse$;
1530
+ exports.CreateRoute$ = CreateRoute$;
548
1531
  exports.CreateRouteCommand = CreateRouteCommand;
1532
+ exports.CreateRouteRequest$ = CreateRouteRequest$;
1533
+ exports.CreateRouteResponse$ = CreateRouteResponse$;
1534
+ exports.CreateService$ = CreateService$;
549
1535
  exports.CreateServiceCommand = CreateServiceCommand;
1536
+ exports.CreateServiceRequest$ = CreateServiceRequest$;
1537
+ exports.CreateServiceResponse$ = CreateServiceResponse$;
1538
+ exports.DefaultRouteInput$ = DefaultRouteInput$;
1539
+ exports.DeleteApplication$ = DeleteApplication$;
550
1540
  exports.DeleteApplicationCommand = DeleteApplicationCommand;
1541
+ exports.DeleteApplicationRequest$ = DeleteApplicationRequest$;
1542
+ exports.DeleteApplicationResponse$ = DeleteApplicationResponse$;
1543
+ exports.DeleteEnvironment$ = DeleteEnvironment$;
551
1544
  exports.DeleteEnvironmentCommand = DeleteEnvironmentCommand;
1545
+ exports.DeleteEnvironmentRequest$ = DeleteEnvironmentRequest$;
1546
+ exports.DeleteEnvironmentResponse$ = DeleteEnvironmentResponse$;
1547
+ exports.DeleteResourcePolicy$ = DeleteResourcePolicy$;
552
1548
  exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
1549
+ exports.DeleteResourcePolicyRequest$ = DeleteResourcePolicyRequest$;
1550
+ exports.DeleteResourcePolicyResponse$ = DeleteResourcePolicyResponse$;
1551
+ exports.DeleteRoute$ = DeleteRoute$;
553
1552
  exports.DeleteRouteCommand = DeleteRouteCommand;
1553
+ exports.DeleteRouteRequest$ = DeleteRouteRequest$;
1554
+ exports.DeleteRouteResponse$ = DeleteRouteResponse$;
1555
+ exports.DeleteService$ = DeleteService$;
554
1556
  exports.DeleteServiceCommand = DeleteServiceCommand;
1557
+ exports.DeleteServiceRequest$ = DeleteServiceRequest$;
1558
+ exports.DeleteServiceResponse$ = DeleteServiceResponse$;
555
1559
  exports.EnvironmentState = EnvironmentState;
1560
+ exports.EnvironmentSummary$ = EnvironmentSummary$;
1561
+ exports.EnvironmentVpc$ = EnvironmentVpc$;
556
1562
  exports.ErrorCode = ErrorCode;
557
1563
  exports.ErrorResourceType = ErrorResourceType;
1564
+ exports.ErrorResponse$ = ErrorResponse$;
1565
+ exports.GetApplication$ = GetApplication$;
558
1566
  exports.GetApplicationCommand = GetApplicationCommand;
1567
+ exports.GetApplicationRequest$ = GetApplicationRequest$;
1568
+ exports.GetApplicationResponse$ = GetApplicationResponse$;
1569
+ exports.GetEnvironment$ = GetEnvironment$;
559
1570
  exports.GetEnvironmentCommand = GetEnvironmentCommand;
1571
+ exports.GetEnvironmentRequest$ = GetEnvironmentRequest$;
1572
+ exports.GetEnvironmentResponse$ = GetEnvironmentResponse$;
1573
+ exports.GetResourcePolicy$ = GetResourcePolicy$;
560
1574
  exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
1575
+ exports.GetResourcePolicyRequest$ = GetResourcePolicyRequest$;
1576
+ exports.GetResourcePolicyResponse$ = GetResourcePolicyResponse$;
1577
+ exports.GetRoute$ = GetRoute$;
561
1578
  exports.GetRouteCommand = GetRouteCommand;
1579
+ exports.GetRouteRequest$ = GetRouteRequest$;
1580
+ exports.GetRouteResponse$ = GetRouteResponse$;
1581
+ exports.GetService$ = GetService$;
562
1582
  exports.GetServiceCommand = GetServiceCommand;
1583
+ exports.GetServiceRequest$ = GetServiceRequest$;
1584
+ exports.GetServiceResponse$ = GetServiceResponse$;
563
1585
  exports.HttpMethod = HttpMethod;
1586
+ exports.InternalServerException = InternalServerException;
1587
+ exports.InternalServerException$ = InternalServerException$;
1588
+ exports.InvalidResourcePolicyException = InvalidResourcePolicyException;
1589
+ exports.InvalidResourcePolicyException$ = InvalidResourcePolicyException$;
1590
+ exports.LambdaEndpointConfig$ = LambdaEndpointConfig$;
1591
+ exports.LambdaEndpointInput$ = LambdaEndpointInput$;
1592
+ exports.LambdaEndpointSummary$ = LambdaEndpointSummary$;
1593
+ exports.ListApplications$ = ListApplications$;
564
1594
  exports.ListApplicationsCommand = ListApplicationsCommand;
1595
+ exports.ListApplicationsRequest$ = ListApplicationsRequest$;
1596
+ exports.ListApplicationsResponse$ = ListApplicationsResponse$;
1597
+ exports.ListEnvironmentVpcs$ = ListEnvironmentVpcs$;
565
1598
  exports.ListEnvironmentVpcsCommand = ListEnvironmentVpcsCommand;
1599
+ exports.ListEnvironmentVpcsRequest$ = ListEnvironmentVpcsRequest$;
1600
+ exports.ListEnvironmentVpcsResponse$ = ListEnvironmentVpcsResponse$;
1601
+ exports.ListEnvironments$ = ListEnvironments$;
566
1602
  exports.ListEnvironmentsCommand = ListEnvironmentsCommand;
1603
+ exports.ListEnvironmentsRequest$ = ListEnvironmentsRequest$;
1604
+ exports.ListEnvironmentsResponse$ = ListEnvironmentsResponse$;
1605
+ exports.ListRoutes$ = ListRoutes$;
567
1606
  exports.ListRoutesCommand = ListRoutesCommand;
1607
+ exports.ListRoutesRequest$ = ListRoutesRequest$;
1608
+ exports.ListRoutesResponse$ = ListRoutesResponse$;
1609
+ exports.ListServices$ = ListServices$;
568
1610
  exports.ListServicesCommand = ListServicesCommand;
1611
+ exports.ListServicesRequest$ = ListServicesRequest$;
1612
+ exports.ListServicesResponse$ = ListServicesResponse$;
1613
+ exports.ListTagsForResource$ = ListTagsForResource$;
569
1614
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1615
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1616
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
570
1617
  exports.MigrationHubRefactorSpaces = MigrationHubRefactorSpaces;
571
1618
  exports.MigrationHubRefactorSpacesClient = MigrationHubRefactorSpacesClient;
1619
+ exports.MigrationHubRefactorSpacesServiceException = MigrationHubRefactorSpacesServiceException;
1620
+ exports.MigrationHubRefactorSpacesServiceException$ = MigrationHubRefactorSpacesServiceException$;
572
1621
  exports.NetworkFabricType = NetworkFabricType;
573
1622
  exports.ProxyType = ProxyType;
1623
+ exports.PutResourcePolicy$ = PutResourcePolicy$;
574
1624
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
1625
+ exports.PutResourcePolicyRequest$ = PutResourcePolicyRequest$;
1626
+ exports.PutResourcePolicyResponse$ = PutResourcePolicyResponse$;
1627
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1628
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
575
1629
  exports.RouteActivationState = RouteActivationState;
576
1630
  exports.RouteState = RouteState;
1631
+ exports.RouteSummary$ = RouteSummary$;
577
1632
  exports.RouteType = RouteType;
578
1633
  exports.ServiceEndpointType = ServiceEndpointType;
1634
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1635
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
579
1636
  exports.ServiceState = ServiceState;
1637
+ exports.ServiceSummary$ = ServiceSummary$;
1638
+ exports.TagResource$ = TagResource$;
580
1639
  exports.TagResourceCommand = TagResourceCommand;
1640
+ exports.TagResourceRequest$ = TagResourceRequest$;
1641
+ exports.TagResourceResponse$ = TagResourceResponse$;
1642
+ exports.ThrottlingException = ThrottlingException;
1643
+ exports.ThrottlingException$ = ThrottlingException$;
1644
+ exports.UntagResource$ = UntagResource$;
581
1645
  exports.UntagResourceCommand = UntagResourceCommand;
1646
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1647
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
1648
+ exports.UpdateRoute$ = UpdateRoute$;
582
1649
  exports.UpdateRouteCommand = UpdateRouteCommand;
1650
+ exports.UpdateRouteRequest$ = UpdateRouteRequest$;
1651
+ exports.UpdateRouteResponse$ = UpdateRouteResponse$;
1652
+ exports.UriPathRouteInput$ = UriPathRouteInput$;
1653
+ exports.UrlEndpointConfig$ = UrlEndpointConfig$;
1654
+ exports.UrlEndpointInput$ = UrlEndpointInput$;
1655
+ exports.UrlEndpointSummary$ = UrlEndpointSummary$;
1656
+ exports.ValidationException = ValidationException;
1657
+ exports.ValidationException$ = ValidationException$;
1658
+ exports.errorTypeRegistries = errorTypeRegistries;
583
1659
  exports.paginateListApplications = paginateListApplications;
584
1660
  exports.paginateListEnvironmentVpcs = paginateListEnvironmentVpcs;
585
1661
  exports.paginateListEnvironments = paginateListEnvironments;