@aws-sdk/client-resource-explorer-2 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.
Files changed (30) hide show
  1. package/dist-cjs/index.js +1236 -15
  2. package/dist-es/models/enums.js +4 -0
  3. package/dist-es/schemas/schemas_0.js +18 -6
  4. package/dist-types/commands/GetServiceViewCommand.d.ts +5 -0
  5. package/dist-types/commands/ListResourcesCommand.d.ts +1 -0
  6. package/dist-types/commands/ListSupportedResourceTypesCommand.d.ts +3 -0
  7. package/dist-types/commands/SearchCommand.d.ts +1 -0
  8. package/dist-types/models/enums.d.ts +12 -0
  9. package/dist-types/models/models_0.d.ts +37 -1
  10. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  11. package/dist-types/runtimeConfig.d.ts +1 -1
  12. package/dist-types/runtimeConfig.native.d.ts +1 -1
  13. package/dist-types/schemas/schemas_0.d.ts +1 -0
  14. package/dist-types/ts3.4/models/enums.d.ts +5 -0
  15. package/dist-types/ts3.4/models/models_0.d.ts +9 -0
  16. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +7 -1
  17. package/dist-types/ts3.4/runtimeConfig.d.ts +7 -1
  18. package/dist-types/ts3.4/runtimeConfig.native.d.ts +7 -1
  19. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -0
  20. package/package.json +8 -8
  21. package/dist-cjs/auth/httpAuthSchemeProvider.js +0 -40
  22. package/dist-cjs/endpoint/bdd.js +0 -46
  23. package/dist-cjs/endpoint/endpointResolver.js +0 -14
  24. package/dist-cjs/models/ResourceExplorer2ServiceException.js +0 -8
  25. package/dist-cjs/models/errors.js +0 -119
  26. package/dist-cjs/runtimeConfig.browser.js +0 -32
  27. package/dist-cjs/runtimeConfig.js +0 -45
  28. package/dist-cjs/runtimeConfig.native.js +0 -12
  29. package/dist-cjs/runtimeConfig.shared.js +0 -38
  30. package/dist-cjs/schemas/schemas_0.js +0 -879
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, defaultResourceExplorer2HttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { AssociateDefaultView$, BatchGetView$, CreateIndex$, CreateResourceExplorerSetup$, CreateView$, DeleteIndex$, DeleteResourceExplorerSetup$, DeleteView$, DisassociateDefaultView$, GetAccountLevelServiceConfiguration$, GetDefaultView$, GetIndex$, GetManagedView$, GetResourceExplorerSetup$, GetServiceIndex$, GetServiceView$, GetView$, ListIndexes$, ListIndexesForMembers$, ListManagedViews$, ListResources$, ListServiceIndexes$, ListServiceViews$, ListStreamingAccessForServices$, ListSupportedResourceTypes$, ListTagsForResource$, ListViews$, Search$, TagResource$, UntagResource$, UpdateIndexType$, UpdateView$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { ResourceExplorer2ServiceException } = require("./models/ResourceExplorer2ServiceException");
18
- exports.ResourceExplorer2ServiceException = ResourceExplorer2ServiceException;
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 defaultResourceExplorer2HttpAuthSchemeParametersProvider = 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: "resource-explorer-2",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultResourceExplorer2HttpAuthSchemeProvider = (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,1057 @@ 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://resource-explorer-2-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://resource-explorer-2-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://resource-explorer-2.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://resource-explorer-2.{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 ResourceExplorer2ServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, ResourceExplorer2ServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class AccessDeniedException extends ResourceExplorer2ServiceException {
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 InternalServerException extends ResourceExplorer2ServiceException {
154
+ name = "InternalServerException";
155
+ $fault = "server";
156
+ Message;
157
+ constructor(opts) {
158
+ super({
159
+ name: "InternalServerException",
160
+ $fault: "server",
161
+ ...opts,
162
+ });
163
+ Object.setPrototypeOf(this, InternalServerException.prototype);
164
+ this.Message = opts.Message;
165
+ }
166
+ }
167
+ class ResourceNotFoundException extends ResourceExplorer2ServiceException {
168
+ name = "ResourceNotFoundException";
169
+ $fault = "client";
170
+ Message;
171
+ constructor(opts) {
172
+ super({
173
+ name: "ResourceNotFoundException",
174
+ $fault: "client",
175
+ ...opts,
176
+ });
177
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
178
+ this.Message = opts.Message;
179
+ }
180
+ }
181
+ class ThrottlingException extends ResourceExplorer2ServiceException {
182
+ name = "ThrottlingException";
183
+ $fault = "client";
184
+ Message;
185
+ constructor(opts) {
186
+ super({
187
+ name: "ThrottlingException",
188
+ $fault: "client",
189
+ ...opts,
190
+ });
191
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
192
+ this.Message = opts.Message;
193
+ }
194
+ }
195
+ class ValidationException extends ResourceExplorer2ServiceException {
196
+ name = "ValidationException";
197
+ $fault = "client";
198
+ Message;
199
+ FieldList;
200
+ constructor(opts) {
201
+ super({
202
+ name: "ValidationException",
203
+ $fault: "client",
204
+ ...opts,
205
+ });
206
+ Object.setPrototypeOf(this, ValidationException.prototype);
207
+ this.Message = opts.Message;
208
+ this.FieldList = opts.FieldList;
209
+ }
210
+ }
211
+ class UnauthorizedException extends ResourceExplorer2ServiceException {
212
+ name = "UnauthorizedException";
213
+ $fault = "client";
214
+ Message;
215
+ constructor(opts) {
216
+ super({
217
+ name: "UnauthorizedException",
218
+ $fault: "client",
219
+ ...opts,
220
+ });
221
+ Object.setPrototypeOf(this, UnauthorizedException.prototype);
222
+ this.Message = opts.Message;
223
+ }
224
+ }
225
+ class ConflictException extends ResourceExplorer2ServiceException {
226
+ name = "ConflictException";
227
+ $fault = "client";
228
+ Message;
229
+ constructor(opts) {
230
+ super({
231
+ name: "ConflictException",
232
+ $fault: "client",
233
+ ...opts,
234
+ });
235
+ Object.setPrototypeOf(this, ConflictException.prototype);
236
+ this.Message = opts.Message;
237
+ }
238
+ }
239
+ class ServiceQuotaExceededException extends ResourceExplorer2ServiceException {
240
+ name = "ServiceQuotaExceededException";
241
+ $fault = "client";
242
+ Message;
243
+ Name;
244
+ Value;
245
+ constructor(opts) {
246
+ super({
247
+ name: "ServiceQuotaExceededException",
248
+ $fault: "client",
249
+ ...opts,
250
+ });
251
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
252
+ this.Message = opts.Message;
253
+ this.Name = opts.Name;
254
+ this.Value = opts.Value;
255
+ }
256
+ }
257
+
258
+ const _A = "Arn";
259
+ const _ADE = "AccessDeniedException";
260
+ const _ADV = "AssociateDefaultView";
261
+ const _ADVI = "AssociateDefaultViewInput";
262
+ const _ADVO = "AssociateDefaultViewOutput";
263
+ const _AI = "AccountId";
264
+ const _AIL = "AccountIdList";
265
+ const _AR = "AggregatorRegions";
266
+ const _AWSSAS = "AWSServiceAccessStatus";
267
+ const _BGV = "BatchGetView";
268
+ const _BGVE = "BatchGetViewError";
269
+ const _BGVEa = "BatchGetViewErrors";
270
+ const _BGVI = "BatchGetViewInput";
271
+ const _BGVO = "BatchGetViewOutput";
272
+ const _C = "Code";
273
+ const _CA = "CreatedAt";
274
+ const _CE = "ConflictException";
275
+ const _CFNRT = "CFNResourceTypes";
276
+ const _CI = "CreateIndex";
277
+ const _CII = "CreateIndexInput";
278
+ const _CIO = "CreateIndexOutput";
279
+ const _CRES = "CreateResourceExplorerSetup";
280
+ const _CRESI = "CreateResourceExplorerSetupInput";
281
+ const _CRESO = "CreateResourceExplorerSetupOutput";
282
+ const _CRT = "CfnResourceType";
283
+ const _CT = "ClientToken";
284
+ const _CV = "CreateView";
285
+ const _CVI = "CreateViewInput";
286
+ const _CVO = "CreateViewOutput";
287
+ const _Co = "Complete";
288
+ const _Cou = "Count";
289
+ const _D = "Data";
290
+ const _DDV = "DisassociateDefaultView";
291
+ const _DI = "DeleteIndex";
292
+ const _DIAR = "DeleteInAllRegions";
293
+ const _DII = "DeleteIndexInput";
294
+ const _DIO = "DeleteIndexOutput";
295
+ const _DRES = "DeleteResourceExplorerSetup";
296
+ const _DRESI = "DeleteResourceExplorerSetupInput";
297
+ const _DRESO = "DeleteResourceExplorerSetupOutput";
298
+ const _DV = "DeleteView";
299
+ const _DVI = "DeleteViewInput";
300
+ const _DVO = "DeleteViewOutput";
301
+ const _E = "Errors";
302
+ const _ED = "ErrorDetails";
303
+ const _EM = "ErrorMessage";
304
+ const _F = "Filters";
305
+ const _FL = "FieldList";
306
+ const _FS = "FilterString";
307
+ const _GALSC = "GetAccountLevelServiceConfiguration";
308
+ const _GALSCO = "GetAccountLevelServiceConfigurationOutput";
309
+ const _GDV = "GetDefaultView";
310
+ const _GDVO = "GetDefaultViewOutput";
311
+ const _GI = "GetIndex";
312
+ const _GIO = "GetIndexOutput";
313
+ const _GMV = "GetManagedView";
314
+ const _GMVI = "GetManagedViewInput";
315
+ const _GMVO = "GetManagedViewOutput";
316
+ const _GRES = "GetResourceExplorerSetup";
317
+ const _GRESI = "GetResourceExplorerSetupInput";
318
+ const _GRESO = "GetResourceExplorerSetupOutput";
319
+ const _GSI = "GetServiceIndex";
320
+ const _GSIO = "GetServiceIndexOutput";
321
+ const _GSV = "GetServiceView";
322
+ const _GSVI = "GetServiceViewInput";
323
+ const _GSVO = "GetServiceViewOutput";
324
+ const _GV = "GetView";
325
+ const _GVI = "GetViewInput";
326
+ const _GVO = "GetViewOutput";
327
+ const _I = "Index";
328
+ const _IL = "IndexList";
329
+ const _IP = "IncludedProperties";
330
+ const _IPL = "IncludedPropertyList";
331
+ const _IPn = "IncludedProperty";
332
+ const _IS = "IndexStatus";
333
+ const _ISE = "InternalServerException";
334
+ const _In = "Indexes";
335
+ const _LI = "ListIndexes";
336
+ const _LIFM = "ListIndexesForMembers";
337
+ const _LIFMI = "ListIndexesForMembersInput";
338
+ const _LIFMO = "ListIndexesForMembersOutput";
339
+ const _LII = "ListIndexesInput";
340
+ const _LIO = "ListIndexesOutput";
341
+ const _LMV = "ListManagedViews";
342
+ const _LMVI = "ListManagedViewsInput";
343
+ const _LMVO = "ListManagedViewsOutput";
344
+ const _LR = "ListResources";
345
+ const _LRA = "LastReportedAt";
346
+ const _LRI = "ListResourcesInput";
347
+ const _LRO = "ListResourcesOutput";
348
+ const _LSAFS = "ListStreamingAccessForServices";
349
+ const _LSAFSI = "ListStreamingAccessForServicesInput";
350
+ const _LSAFSO = "ListStreamingAccessForServicesOutput";
351
+ const _LSI = "ListServiceIndexes";
352
+ const _LSII = "ListServiceIndexesInput";
353
+ const _LSIO = "ListServiceIndexesOutput";
354
+ const _LSRT = "ListSupportedResourceTypes";
355
+ const _LSRTI = "ListSupportedResourceTypesInput";
356
+ const _LSRTO = "ListSupportedResourceTypesOutput";
357
+ const _LSV = "ListServiceViews";
358
+ const _LSVI = "ListServiceViewsInput";
359
+ const _LSVO = "ListServiceViewsOutput";
360
+ const _LTFR = "ListTagsForResource";
361
+ const _LTFRI = "ListTagsForResourceInput";
362
+ const _LTFRO = "ListTagsForResourceOutput";
363
+ const _LUA = "LastUpdatedAt";
364
+ const _LV = "ListViews";
365
+ const _LVI = "ListViewsInput";
366
+ const _LVO = "ListViewsOutput";
367
+ const _M = "Message";
368
+ const _MI = "MemberIndex";
369
+ const _MIL = "MemberIndexList";
370
+ const _MR = "MaxResults";
371
+ const _MV = "ManagedView";
372
+ const _MVA = "ManagedViewArn";
373
+ const _MVN = "ManagedViewName";
374
+ const _MVa = "ManagedViews";
375
+ const _N = "Name";
376
+ const _NT = "NextToken";
377
+ const _O = "Owner";
378
+ const _OAI = "OwningAccountId";
379
+ const _OC = "OrgConfiguration";
380
+ const _P = "Properties";
381
+ const _QS = "QueryString";
382
+ const _R = "Regions";
383
+ const _RC = "ResourceCount";
384
+ const _RF = "ReplicatingFrom";
385
+ const _RL = "RegionList";
386
+ const _RLe = "ResourceList";
387
+ const _RN = "RecorderName";
388
+ const _RNFE = "ResourceNotFoundException";
389
+ const _RP = "ResourcePolicy";
390
+ const _RPL = "ResourcePropertyList";
391
+ const _RPe = "ResourceProperty";
392
+ const _RS = "RegionStatus";
393
+ const _RSL = "RegionStatusList";
394
+ const _RT = "ReplicatingTo";
395
+ const _RTL = "ResourceTypeList";
396
+ const _RTe = "ResourceTypes";
397
+ const _RTec = "RecorderType";
398
+ const _RTes = "ResourceType";
399
+ const _Re = "Region";
400
+ const _Res = "Resources";
401
+ const _Reso = "Resource";
402
+ const _S = "State";
403
+ const _SAD = "StreamingAccessDetails";
404
+ const _SADL = "StreamingAccessDetailsList";
405
+ const _SAFS = "StreamingAccessForServices";
406
+ const _SAFSt = "StreamingAccessForService";
407
+ const _SF = "SearchFilter";
408
+ const _SI = "SearchInput";
409
+ const _SL = "StringList";
410
+ const _SLR = "ServiceLinkedRole";
411
+ const _SLRI = "ServiceLinkedRecorderInfo";
412
+ const _SLRe = "ServiceLinkedRecorder";
413
+ const _SO = "SearchOutput";
414
+ const _SP = "ServicePrincipal";
415
+ const _SQEE = "ServiceQuotaExceededException";
416
+ const _SRT = "SupportedResourceType";
417
+ const _ST = "ScopeType";
418
+ const _SV = "ServiceViews";
419
+ const _SVA = "ServiceViewArn";
420
+ const _SVN = "ServiceViewName";
421
+ const _SVe = "ServiceView";
422
+ const _Sc = "Scope";
423
+ const _Se = "Service";
424
+ const _Sea = "Search";
425
+ const _St = "Status";
426
+ const _T = "Tags";
427
+ const _TE = "ThrottlingException";
428
+ const _TI = "TaskId";
429
+ const _TM = "TagMap";
430
+ const _TR = "TotalResources";
431
+ const _TRI = "TagResourceInput";
432
+ const _TRO = "TagResourceOutput";
433
+ const _TRa = "TagResource";
434
+ const _TS = "TrustedService";
435
+ const _Ty = "Type";
436
+ const _UE = "UnauthorizedException";
437
+ const _UIT = "UpdateIndexType";
438
+ const _UITI = "UpdateIndexTypeInput";
439
+ const _UITO = "UpdateIndexTypeOutput";
440
+ const _UR = "UntagResource";
441
+ const _URI = "UntagResourceInput";
442
+ const _URO = "UntagResourceOutput";
443
+ const _UV = "UpdateView";
444
+ const _UVI = "UpdateViewInput";
445
+ const _UVO = "UpdateViewOutput";
446
+ const _V = "Value";
447
+ const _VA = "ViewArn";
448
+ const _VAi = "ViewArns";
449
+ const _VE = "ValidationException";
450
+ const _VEF = "ValidationExceptionField";
451
+ const _VEFL = "ValidationExceptionFieldList";
452
+ const _VI = "ValidationIssue";
453
+ const _VL = "ViewList";
454
+ const _VN = "ViewName";
455
+ const _VS = "ViewStatus";
456
+ const _Ve = "Version";
457
+ const _Vi = "Views";
458
+ const _Vie = "View";
459
+ const _c = "client";
460
+ const _e = "error";
461
+ const _h = "http";
462
+ const _hE = "httpError";
463
+ const _hQ = "httpQuery";
464
+ const _rA = "resourceArn";
465
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.resourceexplorer2";
466
+ const _se = "server";
467
+ const _tK = "tagKeys";
468
+ const n0 = "com.amazonaws.resourceexplorer2";
469
+ const _s_registry = TypeRegistry.for(_s);
470
+ var ResourceExplorer2ServiceException$ = [-3, _s, "ResourceExplorer2ServiceException", 0, [], []];
471
+ _s_registry.registerError(ResourceExplorer2ServiceException$, ResourceExplorer2ServiceException);
472
+ const n0_registry = TypeRegistry.for(n0);
473
+ var AccessDeniedException$ = [-3, n0, _ADE,
474
+ { [_e]: _c, [_hE]: 403 },
475
+ [_M],
476
+ [0]
477
+ ];
478
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
479
+ var ConflictException$ = [-3, n0, _CE,
480
+ { [_e]: _c, [_hE]: 409 },
481
+ [_M],
482
+ [0], 1
483
+ ];
484
+ n0_registry.registerError(ConflictException$, ConflictException);
485
+ var InternalServerException$ = [-3, n0, _ISE,
486
+ { [_e]: _se, [_hE]: 500 },
487
+ [_M],
488
+ [0]
489
+ ];
490
+ n0_registry.registerError(InternalServerException$, InternalServerException);
491
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
492
+ { [_e]: _c, [_hE]: 404 },
493
+ [_M],
494
+ [0]
495
+ ];
496
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
497
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
498
+ { [_e]: _c, [_hE]: 402 },
499
+ [_M, _N, _V],
500
+ [0, 0, 0], 3
501
+ ];
502
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
503
+ var ThrottlingException$ = [-3, n0, _TE,
504
+ { [_e]: _c, [_hE]: 429 },
505
+ [_M],
506
+ [0]
507
+ ];
508
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
509
+ var UnauthorizedException$ = [-3, n0, _UE,
510
+ { [_e]: _c, [_hE]: 401 },
511
+ [_M],
512
+ [0]
513
+ ];
514
+ n0_registry.registerError(UnauthorizedException$, UnauthorizedException);
515
+ var ValidationException$ = [-3, n0, _VE,
516
+ { [_e]: _c, [_hE]: 400 },
517
+ [_M, _FL],
518
+ [0, () => ValidationExceptionFieldList], 1
519
+ ];
520
+ n0_registry.registerError(ValidationException$, ValidationException);
521
+ const errorTypeRegistries = [
522
+ _s_registry,
523
+ n0_registry,
524
+ ];
525
+ var QueryString = [0, n0, _QS, 8, 0];
526
+ var AssociateDefaultViewInput$ = [3, n0, _ADVI,
527
+ 0,
528
+ [_VA],
529
+ [0], 1
530
+ ];
531
+ var AssociateDefaultViewOutput$ = [3, n0, _ADVO,
532
+ 0,
533
+ [_VA],
534
+ [0]
535
+ ];
536
+ var BatchGetViewError$ = [3, n0, _BGVE,
537
+ 0,
538
+ [_VA, _EM],
539
+ [0, 0], 2
540
+ ];
541
+ var BatchGetViewInput$ = [3, n0, _BGVI,
542
+ 0,
543
+ [_VAi],
544
+ [64 | 0]
545
+ ];
546
+ var BatchGetViewOutput$ = [3, n0, _BGVO,
547
+ 0,
548
+ [_Vi, _E],
549
+ [[() => ViewList, 0], () => BatchGetViewErrors]
550
+ ];
551
+ var CreateIndexInput$ = [3, n0, _CII,
552
+ 0,
553
+ [_CT, _T],
554
+ [[0, 4], [() => TagMap, 0]]
555
+ ];
556
+ var CreateIndexOutput$ = [3, n0, _CIO,
557
+ 0,
558
+ [_A, _S, _CA],
559
+ [0, 0, 5]
560
+ ];
561
+ var CreateResourceExplorerSetupInput$ = [3, n0, _CRESI,
562
+ 0,
563
+ [_RL, _VN, _AR],
564
+ [64 | 0, 0, 64 | 0], 2
565
+ ];
566
+ var CreateResourceExplorerSetupOutput$ = [3, n0, _CRESO,
567
+ 0,
568
+ [_TI],
569
+ [0], 1
570
+ ];
571
+ var CreateViewInput$ = [3, n0, _CVI,
572
+ 0,
573
+ [_VN, _CT, _IP, _Sc, _F, _T],
574
+ [0, [0, 4], () => IncludedPropertyList, 0, [() => SearchFilter$, 0], [() => TagMap, 0]], 1
575
+ ];
576
+ var CreateViewOutput$ = [3, n0, _CVO,
577
+ 0,
578
+ [_Vie],
579
+ [[() => View$, 0]]
580
+ ];
581
+ var DeleteIndexInput$ = [3, n0, _DII,
582
+ 0,
583
+ [_A],
584
+ [0], 1
585
+ ];
586
+ var DeleteIndexOutput$ = [3, n0, _DIO,
587
+ 0,
588
+ [_A, _S, _LUA],
589
+ [0, 0, 5]
590
+ ];
591
+ var DeleteResourceExplorerSetupInput$ = [3, n0, _DRESI,
592
+ 0,
593
+ [_RL, _DIAR],
594
+ [64 | 0, 2]
595
+ ];
596
+ var DeleteResourceExplorerSetupOutput$ = [3, n0, _DRESO,
597
+ 0,
598
+ [_TI],
599
+ [0], 1
600
+ ];
601
+ var DeleteViewInput$ = [3, n0, _DVI,
602
+ 0,
603
+ [_VA],
604
+ [0], 1
605
+ ];
606
+ var DeleteViewOutput$ = [3, n0, _DVO,
607
+ 0,
608
+ [_VA],
609
+ [0]
610
+ ];
611
+ var ErrorDetails$ = [3, n0, _ED,
612
+ 0,
613
+ [_C, _M],
614
+ [0, 0]
615
+ ];
616
+ var GetAccountLevelServiceConfigurationOutput$ = [3, n0, _GALSCO,
617
+ 0,
618
+ [_OC],
619
+ [() => OrgConfiguration$]
620
+ ];
621
+ var GetDefaultViewOutput$ = [3, n0, _GDVO,
622
+ 0,
623
+ [_VA],
624
+ [0]
625
+ ];
626
+ var GetIndexOutput$ = [3, n0, _GIO,
627
+ 0,
628
+ [_A, _Ty, _S, _RF, _RT, _CA, _LUA, _T],
629
+ [0, 0, 0, 64 | 0, 64 | 0, 5, 5, [() => TagMap, 0]]
630
+ ];
631
+ var GetManagedViewInput$ = [3, n0, _GMVI,
632
+ 0,
633
+ [_MVA],
634
+ [0], 1
635
+ ];
636
+ var GetManagedViewOutput$ = [3, n0, _GMVO,
637
+ 0,
638
+ [_MV],
639
+ [[() => ManagedView$, 0]]
640
+ ];
641
+ var GetResourceExplorerSetupInput$ = [3, n0, _GRESI,
642
+ 0,
643
+ [_TI, _MR, _NT],
644
+ [0, 1, 0], 1
645
+ ];
646
+ var GetResourceExplorerSetupOutput$ = [3, n0, _GRESO,
647
+ 0,
648
+ [_R, _NT],
649
+ [[() => RegionStatusList, 0], 0]
650
+ ];
651
+ var GetServiceIndexOutput$ = [3, n0, _GSIO,
652
+ 0,
653
+ [_A, _Ty],
654
+ [0, 0]
655
+ ];
656
+ var GetServiceViewInput$ = [3, n0, _GSVI,
657
+ 0,
658
+ [_SVA],
659
+ [0], 1
660
+ ];
661
+ var GetServiceViewOutput$ = [3, n0, _GSVO,
662
+ 0,
663
+ [_Vie],
664
+ [[() => ServiceView$, 0]], 1
665
+ ];
666
+ var GetViewInput$ = [3, n0, _GVI,
667
+ 0,
668
+ [_VA],
669
+ [0], 1
670
+ ];
671
+ var GetViewOutput$ = [3, n0, _GVO,
672
+ 0,
673
+ [_Vie, _T],
674
+ [[() => View$, 0], [() => TagMap, 0]]
675
+ ];
676
+ var IncludedProperty$ = [3, n0, _IPn,
677
+ 0,
678
+ [_N],
679
+ [0], 1
680
+ ];
681
+ var Index$ = [3, n0, _I,
682
+ 0,
683
+ [_Re, _A, _Ty],
684
+ [0, 0, 0]
685
+ ];
686
+ var IndexStatus$ = [3, n0, _IS,
687
+ 0,
688
+ [_St, _I, _ED],
689
+ [0, () => Index$, () => ErrorDetails$]
690
+ ];
691
+ var ListIndexesForMembersInput$ = [3, n0, _LIFMI,
692
+ 0,
693
+ [_AIL, _MR, _NT],
694
+ [64 | 0, 1, 0], 1
695
+ ];
696
+ var ListIndexesForMembersOutput$ = [3, n0, _LIFMO,
697
+ 0,
698
+ [_In, _NT],
699
+ [() => MemberIndexList, 0]
700
+ ];
701
+ var ListIndexesInput$ = [3, n0, _LII,
702
+ 0,
703
+ [_Ty, _R, _MR, _NT],
704
+ [0, 64 | 0, 1, 0]
705
+ ];
706
+ var ListIndexesOutput$ = [3, n0, _LIO,
707
+ 0,
708
+ [_In, _NT],
709
+ [() => IndexList, 0]
710
+ ];
711
+ var ListManagedViewsInput$ = [3, n0, _LMVI,
712
+ 0,
713
+ [_MR, _NT, _SP],
714
+ [1, 0, 0]
715
+ ];
716
+ var ListManagedViewsOutput$ = [3, n0, _LMVO,
717
+ 0,
718
+ [_NT, _MVa],
719
+ [0, 64 | 0]
720
+ ];
721
+ var ListResourcesInput$ = [3, n0, _LRI,
722
+ 0,
723
+ [_F, _MR, _VA, _NT],
724
+ [[() => SearchFilter$, 0], 1, 0, 0]
725
+ ];
726
+ var ListResourcesOutput$ = [3, n0, _LRO,
727
+ 0,
728
+ [_Res, _NT, _VA],
729
+ [() => ResourceList, 0, 0]
730
+ ];
731
+ var ListServiceIndexesInput$ = [3, n0, _LSII,
732
+ 0,
733
+ [_R, _MR, _NT],
734
+ [64 | 0, 1, 0]
735
+ ];
736
+ var ListServiceIndexesOutput$ = [3, n0, _LSIO,
737
+ 0,
738
+ [_In, _NT],
739
+ [() => IndexList, 0]
740
+ ];
741
+ var ListServiceViewsInput$ = [3, n0, _LSVI,
742
+ 0,
743
+ [_MR, _NT],
744
+ [1, 0]
745
+ ];
746
+ var ListServiceViewsOutput$ = [3, n0, _LSVO,
747
+ 0,
748
+ [_NT, _SV],
749
+ [0, 64 | 0]
750
+ ];
751
+ var ListStreamingAccessForServicesInput$ = [3, n0, _LSAFSI,
752
+ 0,
753
+ [_MR, _NT],
754
+ [1, 0]
755
+ ];
756
+ var ListStreamingAccessForServicesOutput$ = [3, n0, _LSAFSO,
757
+ 0,
758
+ [_SAFS, _NT],
759
+ [() => StreamingAccessDetailsList, 0], 1
760
+ ];
761
+ var ListSupportedResourceTypesInput$ = [3, n0, _LSRTI,
762
+ 0,
763
+ [_NT, _MR],
764
+ [0, 1]
765
+ ];
766
+ var ListSupportedResourceTypesOutput$ = [3, n0, _LSRTO,
767
+ 0,
768
+ [_RTe, _NT],
769
+ [() => ResourceTypeList, 0]
770
+ ];
771
+ var ListTagsForResourceInput$ = [3, n0, _LTFRI,
772
+ 0,
773
+ [_rA],
774
+ [[0, 1]], 1
775
+ ];
776
+ var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
777
+ 0,
778
+ [_T],
779
+ [[() => TagMap, 0]]
780
+ ];
781
+ var ListViewsInput$ = [3, n0, _LVI,
782
+ 0,
783
+ [_NT, _MR],
784
+ [0, 1]
785
+ ];
786
+ var ListViewsOutput$ = [3, n0, _LVO,
787
+ 0,
788
+ [_Vi, _NT],
789
+ [64 | 0, 0]
790
+ ];
791
+ var ManagedView$ = [3, n0, _MV,
792
+ 0,
793
+ [_MVA, _MVN, _TS, _LUA, _O, _Sc, _IP, _F, _RP, _Ve],
794
+ [0, 0, 0, 5, 0, 0, () => IncludedPropertyList, [() => SearchFilter$, 0], 0, 0]
795
+ ];
796
+ var MemberIndex$ = [3, n0, _MI,
797
+ 0,
798
+ [_AI, _Re, _A, _Ty],
799
+ [0, 0, 0, 0]
800
+ ];
801
+ var OrgConfiguration$ = [3, n0, _OC,
802
+ 0,
803
+ [_AWSSAS, _SLR],
804
+ [0, 0], 1
805
+ ];
806
+ var RegionStatus$ = [3, n0, _RS,
807
+ 0,
808
+ [_Re, _I, _Vie],
809
+ [0, () => IndexStatus$, [() => ViewStatus$, 0]]
810
+ ];
811
+ var Resource$ = [3, n0, _Reso,
812
+ 0,
813
+ [_A, _OAI, _Re, _RTes, _Se, _CRT, _LRA, _P],
814
+ [0, 0, 0, 0, 0, 0, 5, () => ResourcePropertyList]
815
+ ];
816
+ var ResourceCount$ = [3, n0, _RC,
817
+ 0,
818
+ [_TR, _Co],
819
+ [1, 2]
820
+ ];
821
+ var ResourceProperty$ = [3, n0, _RPe,
822
+ 0,
823
+ [_N, _LRA, _D],
824
+ [0, 5, 15]
825
+ ];
826
+ var SearchFilter$ = [3, n0, _SF,
827
+ 8,
828
+ [_FS],
829
+ [0], 1
830
+ ];
831
+ var SearchInput$ = [3, n0, _SI,
832
+ 0,
833
+ [_QS, _MR, _VA, _NT],
834
+ [[() => QueryString, 0], 1, 0, 0], 1
835
+ ];
836
+ var SearchOutput$ = [3, n0, _SO,
837
+ 0,
838
+ [_Res, _NT, _VA, _Cou],
839
+ [() => ResourceList, 0, 0, () => ResourceCount$]
840
+ ];
841
+ var ServiceLinkedRecorderInfo$ = [3, n0, _SLRI,
842
+ 0,
843
+ [_SP, _RN, _RTec],
844
+ [0, 0, 0]
845
+ ];
846
+ var ServiceView$ = [3, n0, _SVe,
847
+ 0,
848
+ [_SVA, _SVN, _F, _IP, _SAFSt, _ST, _SLRe],
849
+ [0, 0, [() => SearchFilter$, 0], () => IncludedPropertyList, 0, 0, () => ServiceLinkedRecorderInfo$], 1
850
+ ];
851
+ var StreamingAccessDetails$ = [3, n0, _SAD,
852
+ 0,
853
+ [_SP, _CA],
854
+ [0, 5], 2
855
+ ];
856
+ var SupportedResourceType$ = [3, n0, _SRT,
857
+ 0,
858
+ [_Se, _RTes, _CFNRT],
859
+ [0, 0, 64 | 0]
860
+ ];
861
+ var TagResourceInput$ = [3, n0, _TRI,
862
+ 0,
863
+ [_rA, _T],
864
+ [[0, 1], [() => TagMap, 0]], 1
865
+ ];
866
+ var TagResourceOutput$ = [3, n0, _TRO,
867
+ 0,
868
+ [],
869
+ []
870
+ ];
871
+ var UntagResourceInput$ = [3, n0, _URI,
872
+ 0,
873
+ [_rA, _tK],
874
+ [[0, 1], [() => StringList, { [_hQ]: _tK }]], 2
875
+ ];
876
+ var UntagResourceOutput$ = [3, n0, _URO,
877
+ 0,
878
+ [],
879
+ []
880
+ ];
881
+ var UpdateIndexTypeInput$ = [3, n0, _UITI,
882
+ 0,
883
+ [_A, _Ty],
884
+ [0, 0], 2
885
+ ];
886
+ var UpdateIndexTypeOutput$ = [3, n0, _UITO,
887
+ 0,
888
+ [_A, _Ty, _S, _LUA],
889
+ [0, 0, 0, 5]
890
+ ];
891
+ var UpdateViewInput$ = [3, n0, _UVI,
892
+ 0,
893
+ [_VA, _IP, _F],
894
+ [0, () => IncludedPropertyList, [() => SearchFilter$, 0]], 1
895
+ ];
896
+ var UpdateViewOutput$ = [3, n0, _UVO,
897
+ 0,
898
+ [_Vie],
899
+ [[() => View$, 0]]
900
+ ];
901
+ var ValidationExceptionField$ = [3, n0, _VEF,
902
+ 0,
903
+ [_N, _VI],
904
+ [0, 0], 2
905
+ ];
906
+ var View$ = [3, n0, _Vie,
907
+ 0,
908
+ [_VA, _VN, _O, _LUA, _Sc, _IP, _F],
909
+ [0, 0, 0, 5, 0, () => IncludedPropertyList, [() => SearchFilter$, 0]]
910
+ ];
911
+ var ViewStatus$ = [3, n0, _VS,
912
+ 0,
913
+ [_St, _Vie, _ED],
914
+ [0, [() => View$, 0], () => ErrorDetails$]
915
+ ];
916
+ var __Unit = "unit";
917
+ var BatchGetViewErrors = [1, n0, _BGVEa,
918
+ 0, () => BatchGetViewError$
919
+ ];
920
+ var IncludedPropertyList = [1, n0, _IPL,
921
+ 0, () => IncludedProperty$
922
+ ];
923
+ var IndexList = [1, n0, _IL,
924
+ 0, () => Index$
925
+ ];
926
+ var MemberIndexList = [1, n0, _MIL,
927
+ 0, () => MemberIndex$
928
+ ];
929
+ var RegionStatusList = [1, n0, _RSL,
930
+ 0, [() => RegionStatus$,
931
+ 0]
932
+ ];
933
+ var ResourceList = [1, n0, _RLe,
934
+ 0, () => Resource$
935
+ ];
936
+ var ResourcePropertyList = [1, n0, _RPL,
937
+ 0, () => ResourceProperty$
938
+ ];
939
+ var ResourceTypeList = [1, n0, _RTL,
940
+ 0, () => SupportedResourceType$
941
+ ];
942
+ var StreamingAccessDetailsList = [1, n0, _SADL,
943
+ 0, () => StreamingAccessDetails$
944
+ ];
945
+ var StringList = [1, n0, _SL,
946
+ 8, 0
947
+ ];
948
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
949
+ 0, () => ValidationExceptionField$
950
+ ];
951
+ var ViewList = [1, n0, _VL,
952
+ 0, [() => View$,
953
+ 0]
954
+ ];
955
+ var TagMap = [2, n0, _TM,
956
+ 8, 0, 0
957
+ ];
958
+ var AssociateDefaultView$ = [9, n0, _ADV,
959
+ { [_h]: ["POST", "/AssociateDefaultView", 200] }, () => AssociateDefaultViewInput$, () => AssociateDefaultViewOutput$
960
+ ];
961
+ var BatchGetView$ = [9, n0, _BGV,
962
+ { [_h]: ["POST", "/BatchGetView", 200] }, () => BatchGetViewInput$, () => BatchGetViewOutput$
963
+ ];
964
+ var CreateIndex$ = [9, n0, _CI,
965
+ { [_h]: ["POST", "/CreateIndex", 200] }, () => CreateIndexInput$, () => CreateIndexOutput$
966
+ ];
967
+ var CreateResourceExplorerSetup$ = [9, n0, _CRES,
968
+ { [_h]: ["POST", "/CreateResourceExplorerSetup", 200] }, () => CreateResourceExplorerSetupInput$, () => CreateResourceExplorerSetupOutput$
969
+ ];
970
+ var CreateView$ = [9, n0, _CV,
971
+ { [_h]: ["POST", "/CreateView", 200] }, () => CreateViewInput$, () => CreateViewOutput$
972
+ ];
973
+ var DeleteIndex$ = [9, n0, _DI,
974
+ { [_h]: ["POST", "/DeleteIndex", 200] }, () => DeleteIndexInput$, () => DeleteIndexOutput$
975
+ ];
976
+ var DeleteResourceExplorerSetup$ = [9, n0, _DRES,
977
+ { [_h]: ["POST", "/DeleteResourceExplorerSetup", 200] }, () => DeleteResourceExplorerSetupInput$, () => DeleteResourceExplorerSetupOutput$
978
+ ];
979
+ var DeleteView$ = [9, n0, _DV,
980
+ { [_h]: ["POST", "/DeleteView", 200] }, () => DeleteViewInput$, () => DeleteViewOutput$
981
+ ];
982
+ var DisassociateDefaultView$ = [9, n0, _DDV,
983
+ { [_h]: ["POST", "/DisassociateDefaultView", 200] }, () => __Unit, () => __Unit
984
+ ];
985
+ var GetAccountLevelServiceConfiguration$ = [9, n0, _GALSC,
986
+ { [_h]: ["POST", "/GetAccountLevelServiceConfiguration", 200] }, () => __Unit, () => GetAccountLevelServiceConfigurationOutput$
987
+ ];
988
+ var GetDefaultView$ = [9, n0, _GDV,
989
+ { [_h]: ["POST", "/GetDefaultView", 200] }, () => __Unit, () => GetDefaultViewOutput$
990
+ ];
991
+ var GetIndex$ = [9, n0, _GI,
992
+ { [_h]: ["POST", "/GetIndex", 200] }, () => __Unit, () => GetIndexOutput$
993
+ ];
994
+ var GetManagedView$ = [9, n0, _GMV,
995
+ { [_h]: ["POST", "/GetManagedView", 200] }, () => GetManagedViewInput$, () => GetManagedViewOutput$
996
+ ];
997
+ var GetResourceExplorerSetup$ = [9, n0, _GRES,
998
+ { [_h]: ["POST", "/GetResourceExplorerSetup", 200] }, () => GetResourceExplorerSetupInput$, () => GetResourceExplorerSetupOutput$
999
+ ];
1000
+ var GetServiceIndex$ = [9, n0, _GSI,
1001
+ { [_h]: ["POST", "/GetServiceIndex", 200] }, () => __Unit, () => GetServiceIndexOutput$
1002
+ ];
1003
+ var GetServiceView$ = [9, n0, _GSV,
1004
+ { [_h]: ["POST", "/GetServiceView", 200] }, () => GetServiceViewInput$, () => GetServiceViewOutput$
1005
+ ];
1006
+ var GetView$ = [9, n0, _GV,
1007
+ { [_h]: ["POST", "/GetView", 200] }, () => GetViewInput$, () => GetViewOutput$
1008
+ ];
1009
+ var ListIndexes$ = [9, n0, _LI,
1010
+ { [_h]: ["POST", "/ListIndexes", 200] }, () => ListIndexesInput$, () => ListIndexesOutput$
1011
+ ];
1012
+ var ListIndexesForMembers$ = [9, n0, _LIFM,
1013
+ { [_h]: ["POST", "/ListIndexesForMembers", 200] }, () => ListIndexesForMembersInput$, () => ListIndexesForMembersOutput$
1014
+ ];
1015
+ var ListManagedViews$ = [9, n0, _LMV,
1016
+ { [_h]: ["POST", "/ListManagedViews", 200] }, () => ListManagedViewsInput$, () => ListManagedViewsOutput$
1017
+ ];
1018
+ var ListResources$ = [9, n0, _LR,
1019
+ { [_h]: ["POST", "/ListResources", 200] }, () => ListResourcesInput$, () => ListResourcesOutput$
1020
+ ];
1021
+ var ListServiceIndexes$ = [9, n0, _LSI,
1022
+ { [_h]: ["POST", "/ListServiceIndexes", 200] }, () => ListServiceIndexesInput$, () => ListServiceIndexesOutput$
1023
+ ];
1024
+ var ListServiceViews$ = [9, n0, _LSV,
1025
+ { [_h]: ["POST", "/ListServiceViews", 200] }, () => ListServiceViewsInput$, () => ListServiceViewsOutput$
1026
+ ];
1027
+ var ListStreamingAccessForServices$ = [9, n0, _LSAFS,
1028
+ { [_h]: ["POST", "/ListStreamingAccessForServices", 200] }, () => ListStreamingAccessForServicesInput$, () => ListStreamingAccessForServicesOutput$
1029
+ ];
1030
+ var ListSupportedResourceTypes$ = [9, n0, _LSRT,
1031
+ { [_h]: ["POST", "/ListSupportedResourceTypes", 200] }, () => ListSupportedResourceTypesInput$, () => ListSupportedResourceTypesOutput$
1032
+ ];
1033
+ var ListTagsForResource$ = [9, n0, _LTFR,
1034
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
1035
+ ];
1036
+ var ListViews$ = [9, n0, _LV,
1037
+ { [_h]: ["POST", "/ListViews", 200] }, () => ListViewsInput$, () => ListViewsOutput$
1038
+ ];
1039
+ var Search$ = [9, n0, _Sea,
1040
+ { [_h]: ["POST", "/Search", 200] }, () => SearchInput$, () => SearchOutput$
1041
+ ];
1042
+ var TagResource$ = [9, n0, _TRa,
1043
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceInput$, () => TagResourceOutput$
1044
+ ];
1045
+ var UntagResource$ = [9, n0, _UR,
1046
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceInput$, () => UntagResourceOutput$
1047
+ ];
1048
+ var UpdateIndexType$ = [9, n0, _UIT,
1049
+ { [_h]: ["POST", "/UpdateIndexType", 200] }, () => UpdateIndexTypeInput$, () => UpdateIndexTypeOutput$
1050
+ ];
1051
+ var UpdateView$ = [9, n0, _UV,
1052
+ { [_h]: ["POST", "/UpdateView", 200] }, () => UpdateViewInput$, () => UpdateViewOutput$
1053
+ ];
1054
+
1055
+ const getRuntimeConfig$1 = (config) => {
1056
+ return {
1057
+ apiVersion: "2022-07-28",
1058
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1059
+ base64Encoder: config?.base64Encoder ?? toBase64,
1060
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1061
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1062
+ extensions: config?.extensions ?? [],
1063
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultResourceExplorer2HttpAuthSchemeProvider,
1064
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1065
+ {
1066
+ schemeId: "aws.auth#sigv4",
1067
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1068
+ signer: new AwsSdkSigV4Signer(),
1069
+ },
1070
+ ],
1071
+ logger: config?.logger ?? new NoOpLogger(),
1072
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
1073
+ protocolSettings: config?.protocolSettings ?? {
1074
+ defaultNamespace: "com.amazonaws.resourceexplorer2",
1075
+ errorTypeRegistries,
1076
+ version: "2022-07-28",
1077
+ serviceTarget: "ResourceExplorer",
1078
+ },
1079
+ serviceId: config?.serviceId ?? "Resource Explorer 2",
1080
+ urlParser: config?.urlParser ?? parseUrl,
1081
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1082
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1083
+ };
1084
+ };
1085
+
1086
+ const getRuntimeConfig = (config) => {
1087
+ emitWarningIfUnsupportedVersion(process.version);
1088
+ const defaultsMode = resolveDefaultsModeConfig(config);
1089
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1090
+ const clientSharedValues = getRuntimeConfig$1(config);
1091
+ emitWarningIfUnsupportedVersion$1(process.version);
1092
+ const loaderConfig = {
1093
+ profile: config?.profile,
1094
+ logger: clientSharedValues.logger,
1095
+ };
1096
+ return {
1097
+ ...clientSharedValues,
1098
+ ...config,
1099
+ runtime: "node",
1100
+ defaultsMode,
1101
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1102
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1103
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1104
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1105
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1106
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1107
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1108
+ retryMode: config?.retryMode ??
1109
+ loadConfig({
1110
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1111
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1112
+ }, config),
1113
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1114
+ streamCollector: config?.streamCollector ?? streamCollector,
1115
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1116
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1117
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1118
+ };
1119
+ };
1120
+
34
1121
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1122
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1123
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -589,45 +1676,179 @@ const OperationStatus = {
589
1676
  SKIPPED: "SKIPPED",
590
1677
  SUCCEEDED: "SUCCEEDED",
591
1678
  };
1679
+ const RecorderType = {
1680
+ AWS: "AWS",
1681
+ THIRD_PARTY: "THIRD_PARTY",
1682
+ };
592
1683
 
593
1684
  exports.AWSServiceAccessStatus = AWSServiceAccessStatus;
1685
+ exports.AccessDeniedException = AccessDeniedException;
1686
+ exports.AccessDeniedException$ = AccessDeniedException$;
1687
+ exports.AssociateDefaultView$ = AssociateDefaultView$;
594
1688
  exports.AssociateDefaultViewCommand = AssociateDefaultViewCommand;
1689
+ exports.AssociateDefaultViewInput$ = AssociateDefaultViewInput$;
1690
+ exports.AssociateDefaultViewOutput$ = AssociateDefaultViewOutput$;
1691
+ exports.BatchGetView$ = BatchGetView$;
595
1692
  exports.BatchGetViewCommand = BatchGetViewCommand;
1693
+ exports.BatchGetViewError$ = BatchGetViewError$;
1694
+ exports.BatchGetViewInput$ = BatchGetViewInput$;
1695
+ exports.BatchGetViewOutput$ = BatchGetViewOutput$;
1696
+ exports.ConflictException = ConflictException;
1697
+ exports.ConflictException$ = ConflictException$;
1698
+ exports.CreateIndex$ = CreateIndex$;
596
1699
  exports.CreateIndexCommand = CreateIndexCommand;
1700
+ exports.CreateIndexInput$ = CreateIndexInput$;
1701
+ exports.CreateIndexOutput$ = CreateIndexOutput$;
1702
+ exports.CreateResourceExplorerSetup$ = CreateResourceExplorerSetup$;
597
1703
  exports.CreateResourceExplorerSetupCommand = CreateResourceExplorerSetupCommand;
1704
+ exports.CreateResourceExplorerSetupInput$ = CreateResourceExplorerSetupInput$;
1705
+ exports.CreateResourceExplorerSetupOutput$ = CreateResourceExplorerSetupOutput$;
1706
+ exports.CreateView$ = CreateView$;
598
1707
  exports.CreateViewCommand = CreateViewCommand;
1708
+ exports.CreateViewInput$ = CreateViewInput$;
1709
+ exports.CreateViewOutput$ = CreateViewOutput$;
1710
+ exports.DeleteIndex$ = DeleteIndex$;
599
1711
  exports.DeleteIndexCommand = DeleteIndexCommand;
1712
+ exports.DeleteIndexInput$ = DeleteIndexInput$;
1713
+ exports.DeleteIndexOutput$ = DeleteIndexOutput$;
1714
+ exports.DeleteResourceExplorerSetup$ = DeleteResourceExplorerSetup$;
600
1715
  exports.DeleteResourceExplorerSetupCommand = DeleteResourceExplorerSetupCommand;
1716
+ exports.DeleteResourceExplorerSetupInput$ = DeleteResourceExplorerSetupInput$;
1717
+ exports.DeleteResourceExplorerSetupOutput$ = DeleteResourceExplorerSetupOutput$;
1718
+ exports.DeleteView$ = DeleteView$;
601
1719
  exports.DeleteViewCommand = DeleteViewCommand;
1720
+ exports.DeleteViewInput$ = DeleteViewInput$;
1721
+ exports.DeleteViewOutput$ = DeleteViewOutput$;
1722
+ exports.DisassociateDefaultView$ = DisassociateDefaultView$;
602
1723
  exports.DisassociateDefaultViewCommand = DisassociateDefaultViewCommand;
1724
+ exports.ErrorDetails$ = ErrorDetails$;
1725
+ exports.GetAccountLevelServiceConfiguration$ = GetAccountLevelServiceConfiguration$;
603
1726
  exports.GetAccountLevelServiceConfigurationCommand = GetAccountLevelServiceConfigurationCommand;
1727
+ exports.GetAccountLevelServiceConfigurationOutput$ = GetAccountLevelServiceConfigurationOutput$;
1728
+ exports.GetDefaultView$ = GetDefaultView$;
604
1729
  exports.GetDefaultViewCommand = GetDefaultViewCommand;
1730
+ exports.GetDefaultViewOutput$ = GetDefaultViewOutput$;
1731
+ exports.GetIndex$ = GetIndex$;
605
1732
  exports.GetIndexCommand = GetIndexCommand;
1733
+ exports.GetIndexOutput$ = GetIndexOutput$;
1734
+ exports.GetManagedView$ = GetManagedView$;
606
1735
  exports.GetManagedViewCommand = GetManagedViewCommand;
1736
+ exports.GetManagedViewInput$ = GetManagedViewInput$;
1737
+ exports.GetManagedViewOutput$ = GetManagedViewOutput$;
1738
+ exports.GetResourceExplorerSetup$ = GetResourceExplorerSetup$;
607
1739
  exports.GetResourceExplorerSetupCommand = GetResourceExplorerSetupCommand;
1740
+ exports.GetResourceExplorerSetupInput$ = GetResourceExplorerSetupInput$;
1741
+ exports.GetResourceExplorerSetupOutput$ = GetResourceExplorerSetupOutput$;
1742
+ exports.GetServiceIndex$ = GetServiceIndex$;
608
1743
  exports.GetServiceIndexCommand = GetServiceIndexCommand;
1744
+ exports.GetServiceIndexOutput$ = GetServiceIndexOutput$;
1745
+ exports.GetServiceView$ = GetServiceView$;
609
1746
  exports.GetServiceViewCommand = GetServiceViewCommand;
1747
+ exports.GetServiceViewInput$ = GetServiceViewInput$;
1748
+ exports.GetServiceViewOutput$ = GetServiceViewOutput$;
1749
+ exports.GetView$ = GetView$;
610
1750
  exports.GetViewCommand = GetViewCommand;
1751
+ exports.GetViewInput$ = GetViewInput$;
1752
+ exports.GetViewOutput$ = GetViewOutput$;
1753
+ exports.IncludedProperty$ = IncludedProperty$;
1754
+ exports.Index$ = Index$;
611
1755
  exports.IndexState = IndexState;
1756
+ exports.IndexStatus$ = IndexStatus$;
612
1757
  exports.IndexType = IndexType;
1758
+ exports.InternalServerException = InternalServerException;
1759
+ exports.InternalServerException$ = InternalServerException$;
1760
+ exports.ListIndexes$ = ListIndexes$;
613
1761
  exports.ListIndexesCommand = ListIndexesCommand;
1762
+ exports.ListIndexesForMembers$ = ListIndexesForMembers$;
614
1763
  exports.ListIndexesForMembersCommand = ListIndexesForMembersCommand;
1764
+ exports.ListIndexesForMembersInput$ = ListIndexesForMembersInput$;
1765
+ exports.ListIndexesForMembersOutput$ = ListIndexesForMembersOutput$;
1766
+ exports.ListIndexesInput$ = ListIndexesInput$;
1767
+ exports.ListIndexesOutput$ = ListIndexesOutput$;
1768
+ exports.ListManagedViews$ = ListManagedViews$;
615
1769
  exports.ListManagedViewsCommand = ListManagedViewsCommand;
1770
+ exports.ListManagedViewsInput$ = ListManagedViewsInput$;
1771
+ exports.ListManagedViewsOutput$ = ListManagedViewsOutput$;
1772
+ exports.ListResources$ = ListResources$;
616
1773
  exports.ListResourcesCommand = ListResourcesCommand;
1774
+ exports.ListResourcesInput$ = ListResourcesInput$;
1775
+ exports.ListResourcesOutput$ = ListResourcesOutput$;
1776
+ exports.ListServiceIndexes$ = ListServiceIndexes$;
617
1777
  exports.ListServiceIndexesCommand = ListServiceIndexesCommand;
1778
+ exports.ListServiceIndexesInput$ = ListServiceIndexesInput$;
1779
+ exports.ListServiceIndexesOutput$ = ListServiceIndexesOutput$;
1780
+ exports.ListServiceViews$ = ListServiceViews$;
618
1781
  exports.ListServiceViewsCommand = ListServiceViewsCommand;
1782
+ exports.ListServiceViewsInput$ = ListServiceViewsInput$;
1783
+ exports.ListServiceViewsOutput$ = ListServiceViewsOutput$;
1784
+ exports.ListStreamingAccessForServices$ = ListStreamingAccessForServices$;
619
1785
  exports.ListStreamingAccessForServicesCommand = ListStreamingAccessForServicesCommand;
1786
+ exports.ListStreamingAccessForServicesInput$ = ListStreamingAccessForServicesInput$;
1787
+ exports.ListStreamingAccessForServicesOutput$ = ListStreamingAccessForServicesOutput$;
1788
+ exports.ListSupportedResourceTypes$ = ListSupportedResourceTypes$;
620
1789
  exports.ListSupportedResourceTypesCommand = ListSupportedResourceTypesCommand;
1790
+ exports.ListSupportedResourceTypesInput$ = ListSupportedResourceTypesInput$;
1791
+ exports.ListSupportedResourceTypesOutput$ = ListSupportedResourceTypesOutput$;
1792
+ exports.ListTagsForResource$ = ListTagsForResource$;
621
1793
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1794
+ exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
1795
+ exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
1796
+ exports.ListViews$ = ListViews$;
622
1797
  exports.ListViewsCommand = ListViewsCommand;
1798
+ exports.ListViewsInput$ = ListViewsInput$;
1799
+ exports.ListViewsOutput$ = ListViewsOutput$;
1800
+ exports.ManagedView$ = ManagedView$;
1801
+ exports.MemberIndex$ = MemberIndex$;
623
1802
  exports.OperationStatus = OperationStatus;
1803
+ exports.OrgConfiguration$ = OrgConfiguration$;
1804
+ exports.RecorderType = RecorderType;
1805
+ exports.RegionStatus$ = RegionStatus$;
1806
+ exports.Resource$ = Resource$;
1807
+ exports.ResourceCount$ = ResourceCount$;
624
1808
  exports.ResourceExplorer2 = ResourceExplorer2;
625
1809
  exports.ResourceExplorer2Client = ResourceExplorer2Client;
1810
+ exports.ResourceExplorer2ServiceException = ResourceExplorer2ServiceException;
1811
+ exports.ResourceExplorer2ServiceException$ = ResourceExplorer2ServiceException$;
1812
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1813
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1814
+ exports.ResourceProperty$ = ResourceProperty$;
1815
+ exports.Search$ = Search$;
626
1816
  exports.SearchCommand = SearchCommand;
1817
+ exports.SearchFilter$ = SearchFilter$;
1818
+ exports.SearchInput$ = SearchInput$;
1819
+ exports.SearchOutput$ = SearchOutput$;
1820
+ exports.ServiceLinkedRecorderInfo$ = ServiceLinkedRecorderInfo$;
1821
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1822
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1823
+ exports.ServiceView$ = ServiceView$;
1824
+ exports.StreamingAccessDetails$ = StreamingAccessDetails$;
1825
+ exports.SupportedResourceType$ = SupportedResourceType$;
1826
+ exports.TagResource$ = TagResource$;
627
1827
  exports.TagResourceCommand = TagResourceCommand;
1828
+ exports.TagResourceInput$ = TagResourceInput$;
1829
+ exports.TagResourceOutput$ = TagResourceOutput$;
1830
+ exports.ThrottlingException = ThrottlingException;
1831
+ exports.ThrottlingException$ = ThrottlingException$;
1832
+ exports.UnauthorizedException = UnauthorizedException;
1833
+ exports.UnauthorizedException$ = UnauthorizedException$;
1834
+ exports.UntagResource$ = UntagResource$;
628
1835
  exports.UntagResourceCommand = UntagResourceCommand;
1836
+ exports.UntagResourceInput$ = UntagResourceInput$;
1837
+ exports.UntagResourceOutput$ = UntagResourceOutput$;
1838
+ exports.UpdateIndexType$ = UpdateIndexType$;
629
1839
  exports.UpdateIndexTypeCommand = UpdateIndexTypeCommand;
1840
+ exports.UpdateIndexTypeInput$ = UpdateIndexTypeInput$;
1841
+ exports.UpdateIndexTypeOutput$ = UpdateIndexTypeOutput$;
1842
+ exports.UpdateView$ = UpdateView$;
630
1843
  exports.UpdateViewCommand = UpdateViewCommand;
1844
+ exports.UpdateViewInput$ = UpdateViewInput$;
1845
+ exports.UpdateViewOutput$ = UpdateViewOutput$;
1846
+ exports.ValidationException = ValidationException;
1847
+ exports.ValidationException$ = ValidationException$;
1848
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
1849
+ exports.View$ = View$;
1850
+ exports.ViewStatus$ = ViewStatus$;
1851
+ exports.errorTypeRegistries = errorTypeRegistries;
631
1852
  exports.paginateGetResourceExplorerSetup = paginateGetResourceExplorerSetup;
632
1853
  exports.paginateListIndexes = paginateListIndexes;
633
1854
  exports.paginateListIndexesForMembers = paginateListIndexesForMembers;