@aws-sdk/client-appfabric 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, defaultAppFabricHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { BatchGetUserAccessTasks$, ConnectAppAuthorization$, CreateAppAuthorization$, CreateAppBundle$, CreateIngestion$, CreateIngestionDestination$, DeleteAppAuthorization$, DeleteAppBundle$, DeleteIngestion$, DeleteIngestionDestination$, GetAppAuthorization$, GetAppBundle$, GetIngestion$, GetIngestionDestination$, ListAppAuthorizations$, ListAppBundles$, ListIngestionDestinations$, ListIngestions$, ListTagsForResource$, StartIngestion$, StartUserAccessTasks$, StopIngestion$, TagResource$, UntagResource$, UpdateAppAuthorization$, UpdateIngestionDestination$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { AppFabricServiceException } = require("./models/AppFabricServiceException");
18
- exports.AppFabricServiceException = AppFabricServiceException;
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 defaultAppFabricHttpAuthSchemeParametersProvider = 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: "appfabric",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultAppFabricHttpAuthSchemeProvider = (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,1013 @@ 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://appfabric-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://appfabric-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://appfabric.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://appfabric.{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 AppFabricServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, AppFabricServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class AccessDeniedException extends AppFabricServiceException {
140
+ name = "AccessDeniedException";
141
+ $fault = "client";
142
+ constructor(opts) {
143
+ super({
144
+ name: "AccessDeniedException",
145
+ $fault: "client",
146
+ ...opts,
147
+ });
148
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
149
+ }
150
+ }
151
+ class InternalServerException extends AppFabricServiceException {
152
+ name = "InternalServerException";
153
+ $fault = "server";
154
+ $retryable = {};
155
+ retryAfterSeconds;
156
+ constructor(opts) {
157
+ super({
158
+ name: "InternalServerException",
159
+ $fault: "server",
160
+ ...opts,
161
+ });
162
+ Object.setPrototypeOf(this, InternalServerException.prototype);
163
+ this.retryAfterSeconds = opts.retryAfterSeconds;
164
+ }
165
+ }
166
+ class ResourceNotFoundException extends AppFabricServiceException {
167
+ name = "ResourceNotFoundException";
168
+ $fault = "client";
169
+ resourceId;
170
+ resourceType;
171
+ constructor(opts) {
172
+ super({
173
+ name: "ResourceNotFoundException",
174
+ $fault: "client",
175
+ ...opts,
176
+ });
177
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
178
+ this.resourceId = opts.resourceId;
179
+ this.resourceType = opts.resourceType;
180
+ }
181
+ }
182
+ class ThrottlingException extends AppFabricServiceException {
183
+ name = "ThrottlingException";
184
+ $fault = "client";
185
+ $retryable = {
186
+ throttling: true,
187
+ };
188
+ serviceCode;
189
+ quotaCode;
190
+ retryAfterSeconds;
191
+ constructor(opts) {
192
+ super({
193
+ name: "ThrottlingException",
194
+ $fault: "client",
195
+ ...opts,
196
+ });
197
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
198
+ this.serviceCode = opts.serviceCode;
199
+ this.quotaCode = opts.quotaCode;
200
+ this.retryAfterSeconds = opts.retryAfterSeconds;
201
+ }
202
+ }
203
+ class ValidationException extends AppFabricServiceException {
204
+ name = "ValidationException";
205
+ $fault = "client";
206
+ reason;
207
+ fieldList;
208
+ constructor(opts) {
209
+ super({
210
+ name: "ValidationException",
211
+ $fault: "client",
212
+ ...opts,
213
+ });
214
+ Object.setPrototypeOf(this, ValidationException.prototype);
215
+ this.reason = opts.reason;
216
+ this.fieldList = opts.fieldList;
217
+ }
218
+ }
219
+ class ConflictException extends AppFabricServiceException {
220
+ name = "ConflictException";
221
+ $fault = "client";
222
+ resourceId;
223
+ resourceType;
224
+ constructor(opts) {
225
+ super({
226
+ name: "ConflictException",
227
+ $fault: "client",
228
+ ...opts,
229
+ });
230
+ Object.setPrototypeOf(this, ConflictException.prototype);
231
+ this.resourceId = opts.resourceId;
232
+ this.resourceType = opts.resourceType;
233
+ }
234
+ }
235
+ class ServiceQuotaExceededException extends AppFabricServiceException {
236
+ name = "ServiceQuotaExceededException";
237
+ $fault = "client";
238
+ resourceId;
239
+ resourceType;
240
+ serviceCode;
241
+ quotaCode;
242
+ constructor(opts) {
243
+ super({
244
+ name: "ServiceQuotaExceededException",
245
+ $fault: "client",
246
+ ...opts,
247
+ });
248
+ Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
249
+ this.resourceId = opts.resourceId;
250
+ this.resourceType = opts.resourceType;
251
+ this.serviceCode = opts.serviceCode;
252
+ this.quotaCode = opts.quotaCode;
253
+ }
254
+ }
255
+
256
+ const _AA = "AppAuthorization";
257
+ const _AAS = "AppAuthorizationSummary";
258
+ const _AASL = "AppAuthorizationSummaryList";
259
+ const _AB = "AppBundle";
260
+ const _ABS = "AppBundleSummary";
261
+ const _ABSL = "AppBundleSummaryList";
262
+ const _ADE = "AccessDeniedException";
263
+ const _AKC = "ApiKeyCredential";
264
+ const _ALDC = "AuditLogDestinationConfiguration";
265
+ const _ALPC = "AuditLogProcessingConfiguration";
266
+ const _AR = "AuthRequest";
267
+ const _BGUAT = "BatchGetUserAccessTasks";
268
+ const _BGUATR = "BatchGetUserAccessTasksRequest";
269
+ const _BGUATRa = "BatchGetUserAccessTasksResponse";
270
+ const _C = "Credential";
271
+ const _CAA = "ConnectAppAuthorization";
272
+ const _CAAR = "ConnectAppAuthorizationRequest";
273
+ const _CAARo = "ConnectAppAuthorizationResponse";
274
+ const _CAARr = "CreateAppAuthorizationRequest";
275
+ const _CAARre = "CreateAppAuthorizationResponse";
276
+ const _CAAr = "CreateAppAuthorization";
277
+ const _CAB = "CreateAppBundle";
278
+ const _CABR = "CreateAppBundleRequest";
279
+ const _CABRr = "CreateAppBundleResponse";
280
+ const _CE = "ConflictException";
281
+ const _CI = "CreateIngestion";
282
+ const _CID = "CreateIngestionDestination";
283
+ const _CIDR = "CreateIngestionDestinationRequest";
284
+ const _CIDRr = "CreateIngestionDestinationResponse";
285
+ const _CIR = "CreateIngestionRequest";
286
+ const _CIRr = "CreateIngestionResponse";
287
+ const _D = "Destination";
288
+ const _DAA = "DeleteAppAuthorization";
289
+ const _DAAR = "DeleteAppAuthorizationRequest";
290
+ const _DAARe = "DeleteAppAuthorizationResponse";
291
+ const _DAB = "DeleteAppBundle";
292
+ const _DABR = "DeleteAppBundleRequest";
293
+ const _DABRe = "DeleteAppBundleResponse";
294
+ const _DC = "DestinationConfiguration";
295
+ const _DI = "DeleteIngestion";
296
+ const _DID = "DeleteIngestionDestination";
297
+ const _DIDR = "DeleteIngestionDestinationRequest";
298
+ const _DIDRe = "DeleteIngestionDestinationResponse";
299
+ const _DIR = "DeleteIngestionRequest";
300
+ const _DIRe = "DeleteIngestionResponse";
301
+ const _E = "Email";
302
+ const _FS = "FirehoseStream";
303
+ const _GAA = "GetAppAuthorization";
304
+ const _GAAR = "GetAppAuthorizationRequest";
305
+ const _GAARe = "GetAppAuthorizationResponse";
306
+ const _GAB = "GetAppBundle";
307
+ const _GABR = "GetAppBundleRequest";
308
+ const _GABRe = "GetAppBundleResponse";
309
+ const _GI = "GetIngestion";
310
+ const _GID = "GetIngestionDestination";
311
+ const _GIDR = "GetIngestionDestinationRequest";
312
+ const _GIDRe = "GetIngestionDestinationResponse";
313
+ const _GIR = "GetIngestionRequest";
314
+ const _GIRe = "GetIngestionResponse";
315
+ const _I = "Ingestion";
316
+ const _ID = "IngestionDestination";
317
+ const _IDL = "IngestionDestinationList";
318
+ const _IDS = "IngestionDestinationSummary";
319
+ const _IL = "IngestionList";
320
+ const _IS = "IngestionSummary";
321
+ const _ISE = "InternalServerException";
322
+ const _LAA = "ListAppAuthorizations";
323
+ const _LAAR = "ListAppAuthorizationsRequest";
324
+ const _LAARi = "ListAppAuthorizationsResponse";
325
+ const _LAB = "ListAppBundles";
326
+ const _LABR = "ListAppBundlesRequest";
327
+ const _LABRi = "ListAppBundlesResponse";
328
+ const _LI = "ListIngestions";
329
+ const _LID = "ListIngestionDestinations";
330
+ const _LIDR = "ListIngestionDestinationsRequest";
331
+ const _LIDRi = "ListIngestionDestinationsResponse";
332
+ const _LIR = "ListIngestionsRequest";
333
+ const _LIRi = "ListIngestionsResponse";
334
+ const _LTFR = "ListTagsForResource";
335
+ const _LTFRR = "ListTagsForResourceRequest";
336
+ const _LTFRRi = "ListTagsForResourceResponse";
337
+ const _OC = "Oauth2Credential";
338
+ const _PC = "ProcessingConfiguration";
339
+ const _RA = "Retry-After";
340
+ const _RNFE = "ResourceNotFoundException";
341
+ const _SB = "S3Bucket";
342
+ const _SI = "StartIngestion";
343
+ const _SIR = "StartIngestionRequest";
344
+ const _SIRt = "StartIngestionResponse";
345
+ const _SIRto = "StopIngestionRequest";
346
+ const _SIRtop = "StopIngestionResponse";
347
+ const _SIt = "StopIngestion";
348
+ const _SQEE = "ServiceQuotaExceededException";
349
+ const _SS = "SensitiveString2048";
350
+ const _SUAT = "StartUserAccessTasks";
351
+ const _SUATR = "StartUserAccessTasksRequest";
352
+ const _SUATRt = "StartUserAccessTasksResponse";
353
+ const _T = "Tag";
354
+ const _TE = "ThrottlingException";
355
+ const _TEa = "TaskError";
356
+ const _TL = "TagList";
357
+ const _TR = "TagResource";
358
+ const _TRR = "TagResourceRequest";
359
+ const _TRRa = "TagResourceResponse";
360
+ const _Te = "Tenant";
361
+ const _UAA = "UpdateAppAuthorization";
362
+ const _UAAR = "UpdateAppAuthorizationRequest";
363
+ const _UAARp = "UpdateAppAuthorizationResponse";
364
+ const _UARI = "UserAccessResultItem";
365
+ const _UARL = "UserAccessResultsList";
366
+ const _UATI = "UserAccessTaskItem";
367
+ const _UATL = "UserAccessTasksList";
368
+ const _UID = "UpdateIngestionDestination";
369
+ const _UIDR = "UpdateIngestionDestinationRequest";
370
+ const _UIDRp = "UpdateIngestionDestinationResponse";
371
+ const _UR = "UntagResource";
372
+ const _URR = "UntagResourceRequest";
373
+ const _URRn = "UntagResourceResponse";
374
+ const _VE = "ValidationException";
375
+ const _VEF = "ValidationExceptionField";
376
+ const _VEFL = "ValidationExceptionFieldList";
377
+ const _a = "app";
378
+ const _aA = "appAuthorization";
379
+ const _aAA = "appAuthorizationArn";
380
+ const _aAI = "appAuthorizationIdentifier";
381
+ const _aAS = "appAuthorizationSummary";
382
+ const _aASL = "appAuthorizationSummaryList";
383
+ const _aB = "appBundle";
384
+ const _aBA = "appBundleArn";
385
+ const _aBI = "appBundleIdentifier";
386
+ const _aBSL = "appBundleSummaryList";
387
+ const _aK = "apiKey";
388
+ const _aKC = "apiKeyCredential";
389
+ const _aL = "auditLog";
390
+ const _aR = "authRequest";
391
+ const _aT = "authType";
392
+ const _aU = "authUrl";
393
+ const _ar = "arn";
394
+ const _bN = "bucketName";
395
+ const _c = "client";
396
+ const _cA = "createdAt";
397
+ const _cI = "clientId";
398
+ const _cMKA = "customerManagedKeyArn";
399
+ const _cMKI = "customerManagedKeyIdentifier";
400
+ const _cS = "clientSecret";
401
+ const _cT = "clientToken";
402
+ const _co = "code";
403
+ const _cr = "credential";
404
+ const _d = "destination";
405
+ const _dC = "destinationConfiguration";
406
+ const _e = "error";
407
+ const _eC = "errorCode";
408
+ const _eM = "errorMessage";
409
+ const _em = "email";
410
+ const _f = "format";
411
+ const _fL = "fieldList";
412
+ const _fS = "firehoseStream";
413
+ const _h = "http";
414
+ const _hE = "httpError";
415
+ const _hH = "httpHeader";
416
+ const _hQ = "httpQuery";
417
+ const _i = "ingestion";
418
+ const _iA = "ingestionArn";
419
+ const _iD = "ingestionDestination";
420
+ const _iDI = "ingestionDestinationIdentifier";
421
+ const _iDn = "ingestionDestinations";
422
+ const _iI = "ingestionIdentifier";
423
+ const _iT = "ingestionType";
424
+ const _in = "ingestions";
425
+ const _k = "key";
426
+ const _m = "message";
427
+ const _mR = "maxResults";
428
+ const _n = "name";
429
+ const _nT = "nextToken";
430
+ const _oC = "oauth2Credential";
431
+ const _p = "persona";
432
+ const _pC = "processingConfiguration";
433
+ const _pr = "prefix";
434
+ const _qC = "quotaCode";
435
+ const _r = "reason";
436
+ const _rA = "resourceArn";
437
+ const _rAS = "retryAfterSeconds";
438
+ const _rI = "resourceId";
439
+ const _rS = "resultStatus";
440
+ const _rT = "resourceType";
441
+ const _rU = "redirectUri";
442
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.appfabric";
443
+ const _sB = "s3Bucket";
444
+ const _sC = "serviceCode";
445
+ const _sN = "streamName";
446
+ const _sR = "statusReason";
447
+ const _sc = "schema";
448
+ const _se = "server";
449
+ const _st = "status";
450
+ const _sta = "state";
451
+ const _t = "tenant";
452
+ const _tDN = "tenantDisplayName";
453
+ const _tE = "taskError";
454
+ const _tI = "tenantId";
455
+ const _tIL = "taskIdList";
456
+ const _tIa = "taskId";
457
+ const _tIe = "tenantIdentifier";
458
+ const _tK = "tagKeys";
459
+ const _ta = "tags";
460
+ const _uA = "updatedAt";
461
+ const _uARL = "userAccessResultsList";
462
+ const _uATL = "userAccessTasksList";
463
+ const _uFN = "userFullName";
464
+ const _uFNs = "userFirstName";
465
+ const _uI = "userId";
466
+ const _uLN = "userLastName";
467
+ const _uS = "userStatus";
468
+ const _v = "value";
469
+ const n0 = "com.amazonaws.appfabric";
470
+ const _s_registry = TypeRegistry.for(_s);
471
+ var AppFabricServiceException$ = [-3, _s, "AppFabricServiceException", 0, [], []];
472
+ _s_registry.registerError(AppFabricServiceException$, AppFabricServiceException);
473
+ const n0_registry = TypeRegistry.for(n0);
474
+ var AccessDeniedException$ = [-3, n0, _ADE,
475
+ { [_e]: _c, [_hE]: 403 },
476
+ [_m],
477
+ [0], 1
478
+ ];
479
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
480
+ var ConflictException$ = [-3, n0, _CE,
481
+ { [_e]: _c, [_hE]: 409 },
482
+ [_m, _rI, _rT],
483
+ [0, 0, 0], 3
484
+ ];
485
+ n0_registry.registerError(ConflictException$, ConflictException);
486
+ var InternalServerException$ = [-3, n0, _ISE,
487
+ { [_e]: _se, [_hE]: 500 },
488
+ [_m, _rAS],
489
+ [0, [1, { [_hH]: _RA }]], 1
490
+ ];
491
+ n0_registry.registerError(InternalServerException$, InternalServerException);
492
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
493
+ { [_e]: _c, [_hE]: 404 },
494
+ [_m, _rI, _rT],
495
+ [0, 0, 0], 3
496
+ ];
497
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
498
+ var ServiceQuotaExceededException$ = [-3, n0, _SQEE,
499
+ { [_e]: _c, [_hE]: 402 },
500
+ [_m, _rI, _rT, _sC, _qC],
501
+ [0, 0, 0, 0, 0], 5
502
+ ];
503
+ n0_registry.registerError(ServiceQuotaExceededException$, ServiceQuotaExceededException);
504
+ var ThrottlingException$ = [-3, n0, _TE,
505
+ { [_e]: _c, [_hE]: 429 },
506
+ [_m, _sC, _qC, _rAS],
507
+ [0, 0, 0, [1, { [_hH]: _RA }]], 1
508
+ ];
509
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
510
+ var ValidationException$ = [-3, n0, _VE,
511
+ { [_e]: _c, [_hE]: 400 },
512
+ [_m, _r, _fL],
513
+ [0, 0, () => ValidationExceptionFieldList], 2
514
+ ];
515
+ n0_registry.registerError(ValidationException$, ValidationException);
516
+ const errorTypeRegistries = [
517
+ _s_registry,
518
+ n0_registry,
519
+ ];
520
+ var Email = [0, n0, _E, 8, 0];
521
+ var SensitiveString2048 = [0, n0, _SS, 8, 0];
522
+ var ApiKeyCredential$ = [3, n0, _AKC,
523
+ 0,
524
+ [_aK],
525
+ [[() => SensitiveString2048, 0]], 1
526
+ ];
527
+ var AppAuthorization$ = [3, n0, _AA,
528
+ 0,
529
+ [_aAA, _aBA, _a, _t, _aT, _st, _cA, _uA, _p, _aU],
530
+ [0, 0, 0, () => Tenant$, 0, 0, 5, 5, 0, 0], 8
531
+ ];
532
+ var AppAuthorizationSummary$ = [3, n0, _AAS,
533
+ 0,
534
+ [_aAA, _aBA, _a, _t, _st, _uA],
535
+ [0, 0, 0, () => Tenant$, 0, 5], 6
536
+ ];
537
+ var AppBundle$ = [3, n0, _AB,
538
+ 0,
539
+ [_ar, _cMKA],
540
+ [0, 0], 1
541
+ ];
542
+ var AppBundleSummary$ = [3, n0, _ABS,
543
+ 0,
544
+ [_ar],
545
+ [0], 1
546
+ ];
547
+ var AuditLogDestinationConfiguration$ = [3, n0, _ALDC,
548
+ 0,
549
+ [_d],
550
+ [() => Destination$], 1
551
+ ];
552
+ var AuditLogProcessingConfiguration$ = [3, n0, _ALPC,
553
+ 0,
554
+ [_sc, _f],
555
+ [0, 0], 2
556
+ ];
557
+ var AuthRequest$ = [3, n0, _AR,
558
+ 0,
559
+ [_rU, _co],
560
+ [0, [() => SensitiveString2048, 0]], 2
561
+ ];
562
+ var BatchGetUserAccessTasksRequest$ = [3, n0, _BGUATR,
563
+ 0,
564
+ [_aBI, _tIL],
565
+ [0, 64 | 0], 2
566
+ ];
567
+ var BatchGetUserAccessTasksResponse$ = [3, n0, _BGUATRa,
568
+ 0,
569
+ [_uARL],
570
+ [[() => UserAccessResultsList, 0]]
571
+ ];
572
+ var ConnectAppAuthorizationRequest$ = [3, n0, _CAAR,
573
+ 0,
574
+ [_aBI, _aAI, _aR],
575
+ [[0, 1], [0, 1], [() => AuthRequest$, 0]], 2
576
+ ];
577
+ var ConnectAppAuthorizationResponse$ = [3, n0, _CAARo,
578
+ 0,
579
+ [_aAS],
580
+ [() => AppAuthorizationSummary$], 1
581
+ ];
582
+ var CreateAppAuthorizationRequest$ = [3, n0, _CAARr,
583
+ 0,
584
+ [_aBI, _a, _cr, _t, _aT, _cT, _ta],
585
+ [[0, 1], 0, [() => Credential$, 0], () => Tenant$, 0, [0, 4], () => TagList], 5
586
+ ];
587
+ var CreateAppAuthorizationResponse$ = [3, n0, _CAARre,
588
+ 0,
589
+ [_aA],
590
+ [() => AppAuthorization$], 1
591
+ ];
592
+ var CreateAppBundleRequest$ = [3, n0, _CABR,
593
+ 0,
594
+ [_cT, _cMKI, _ta],
595
+ [[0, 4], 0, () => TagList]
596
+ ];
597
+ var CreateAppBundleResponse$ = [3, n0, _CABRr,
598
+ 0,
599
+ [_aB],
600
+ [() => AppBundle$], 1
601
+ ];
602
+ var CreateIngestionDestinationRequest$ = [3, n0, _CIDR,
603
+ 0,
604
+ [_aBI, _iI, _pC, _dC, _cT, _ta],
605
+ [[0, 1], [0, 1], () => ProcessingConfiguration$, () => DestinationConfiguration$, [0, 4], () => TagList], 4
606
+ ];
607
+ var CreateIngestionDestinationResponse$ = [3, n0, _CIDRr,
608
+ 0,
609
+ [_iD],
610
+ [() => IngestionDestination$], 1
611
+ ];
612
+ var CreateIngestionRequest$ = [3, n0, _CIR,
613
+ 0,
614
+ [_aBI, _a, _tI, _iT, _cT, _ta],
615
+ [[0, 1], 0, 0, 0, [0, 4], () => TagList], 4
616
+ ];
617
+ var CreateIngestionResponse$ = [3, n0, _CIRr,
618
+ 0,
619
+ [_i],
620
+ [() => Ingestion$], 1
621
+ ];
622
+ var DeleteAppAuthorizationRequest$ = [3, n0, _DAAR,
623
+ 0,
624
+ [_aBI, _aAI],
625
+ [[0, 1], [0, 1]], 2
626
+ ];
627
+ var DeleteAppAuthorizationResponse$ = [3, n0, _DAARe,
628
+ 0,
629
+ [],
630
+ []
631
+ ];
632
+ var DeleteAppBundleRequest$ = [3, n0, _DABR,
633
+ 0,
634
+ [_aBI],
635
+ [[0, 1]], 1
636
+ ];
637
+ var DeleteAppBundleResponse$ = [3, n0, _DABRe,
638
+ 0,
639
+ [],
640
+ []
641
+ ];
642
+ var DeleteIngestionDestinationRequest$ = [3, n0, _DIDR,
643
+ 0,
644
+ [_aBI, _iI, _iDI],
645
+ [[0, 1], [0, 1], [0, 1]], 3
646
+ ];
647
+ var DeleteIngestionDestinationResponse$ = [3, n0, _DIDRe,
648
+ 0,
649
+ [],
650
+ []
651
+ ];
652
+ var DeleteIngestionRequest$ = [3, n0, _DIR,
653
+ 0,
654
+ [_aBI, _iI],
655
+ [[0, 1], [0, 1]], 2
656
+ ];
657
+ var DeleteIngestionResponse$ = [3, n0, _DIRe,
658
+ 0,
659
+ [],
660
+ []
661
+ ];
662
+ var FirehoseStream$ = [3, n0, _FS,
663
+ 0,
664
+ [_sN],
665
+ [0], 1
666
+ ];
667
+ var GetAppAuthorizationRequest$ = [3, n0, _GAAR,
668
+ 0,
669
+ [_aBI, _aAI],
670
+ [[0, 1], [0, 1]], 2
671
+ ];
672
+ var GetAppAuthorizationResponse$ = [3, n0, _GAARe,
673
+ 0,
674
+ [_aA],
675
+ [() => AppAuthorization$], 1
676
+ ];
677
+ var GetAppBundleRequest$ = [3, n0, _GABR,
678
+ 0,
679
+ [_aBI],
680
+ [[0, 1]], 1
681
+ ];
682
+ var GetAppBundleResponse$ = [3, n0, _GABRe,
683
+ 0,
684
+ [_aB],
685
+ [() => AppBundle$], 1
686
+ ];
687
+ var GetIngestionDestinationRequest$ = [3, n0, _GIDR,
688
+ 0,
689
+ [_aBI, _iI, _iDI],
690
+ [[0, 1], [0, 1], [0, 1]], 3
691
+ ];
692
+ var GetIngestionDestinationResponse$ = [3, n0, _GIDRe,
693
+ 0,
694
+ [_iD],
695
+ [() => IngestionDestination$], 1
696
+ ];
697
+ var GetIngestionRequest$ = [3, n0, _GIR,
698
+ 0,
699
+ [_aBI, _iI],
700
+ [[0, 1], [0, 1]], 2
701
+ ];
702
+ var GetIngestionResponse$ = [3, n0, _GIRe,
703
+ 0,
704
+ [_i],
705
+ [() => Ingestion$], 1
706
+ ];
707
+ var Ingestion$ = [3, n0, _I,
708
+ 0,
709
+ [_ar, _aBA, _a, _tI, _cA, _uA, _sta, _iT],
710
+ [0, 0, 0, 0, 5, 5, 0, 0], 8
711
+ ];
712
+ var IngestionDestination$ = [3, n0, _ID,
713
+ 0,
714
+ [_ar, _iA, _pC, _dC, _st, _sR, _cA, _uA],
715
+ [0, 0, () => ProcessingConfiguration$, () => DestinationConfiguration$, 0, 0, 5, 5], 4
716
+ ];
717
+ var IngestionDestinationSummary$ = [3, n0, _IDS,
718
+ 0,
719
+ [_ar],
720
+ [0], 1
721
+ ];
722
+ var IngestionSummary$ = [3, n0, _IS,
723
+ 0,
724
+ [_ar, _a, _tI, _sta],
725
+ [0, 0, 0, 0], 4
726
+ ];
727
+ var ListAppAuthorizationsRequest$ = [3, n0, _LAAR,
728
+ 0,
729
+ [_aBI, _mR, _nT],
730
+ [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
731
+ ];
732
+ var ListAppAuthorizationsResponse$ = [3, n0, _LAARi,
733
+ 0,
734
+ [_aASL, _nT],
735
+ [() => AppAuthorizationSummaryList, 0], 1
736
+ ];
737
+ var ListAppBundlesRequest$ = [3, n0, _LABR,
738
+ 0,
739
+ [_mR, _nT],
740
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
741
+ ];
742
+ var ListAppBundlesResponse$ = [3, n0, _LABRi,
743
+ 0,
744
+ [_aBSL, _nT],
745
+ [() => AppBundleSummaryList, 0], 1
746
+ ];
747
+ var ListIngestionDestinationsRequest$ = [3, n0, _LIDR,
748
+ 0,
749
+ [_aBI, _iI, _mR, _nT],
750
+ [[0, 1], [0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 2
751
+ ];
752
+ var ListIngestionDestinationsResponse$ = [3, n0, _LIDRi,
753
+ 0,
754
+ [_iDn, _nT],
755
+ [() => IngestionDestinationList, 0], 1
756
+ ];
757
+ var ListIngestionsRequest$ = [3, n0, _LIR,
758
+ 0,
759
+ [_aBI, _mR, _nT],
760
+ [[0, 1], [1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]], 1
761
+ ];
762
+ var ListIngestionsResponse$ = [3, n0, _LIRi,
763
+ 0,
764
+ [_in, _nT],
765
+ [() => IngestionList, 0], 1
766
+ ];
767
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
768
+ 0,
769
+ [_rA],
770
+ [[0, 1]], 1
771
+ ];
772
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
773
+ 0,
774
+ [_ta],
775
+ [() => TagList]
776
+ ];
777
+ var Oauth2Credential$ = [3, n0, _OC,
778
+ 0,
779
+ [_cI, _cS],
780
+ [0, [() => SensitiveString2048, 0]], 2
781
+ ];
782
+ var S3Bucket$ = [3, n0, _SB,
783
+ 0,
784
+ [_bN, _pr],
785
+ [0, 0], 1
786
+ ];
787
+ var StartIngestionRequest$ = [3, n0, _SIR,
788
+ 0,
789
+ [_iI, _aBI],
790
+ [[0, 1], [0, 1]], 2
791
+ ];
792
+ var StartIngestionResponse$ = [3, n0, _SIRt,
793
+ 0,
794
+ [],
795
+ []
796
+ ];
797
+ var StartUserAccessTasksRequest$ = [3, n0, _SUATR,
798
+ 0,
799
+ [_aBI, _em],
800
+ [0, [() => Email, 0]], 2
801
+ ];
802
+ var StartUserAccessTasksResponse$ = [3, n0, _SUATRt,
803
+ 0,
804
+ [_uATL],
805
+ [() => UserAccessTasksList]
806
+ ];
807
+ var StopIngestionRequest$ = [3, n0, _SIRto,
808
+ 0,
809
+ [_iI, _aBI],
810
+ [[0, 1], [0, 1]], 2
811
+ ];
812
+ var StopIngestionResponse$ = [3, n0, _SIRtop,
813
+ 0,
814
+ [],
815
+ []
816
+ ];
817
+ var Tag$ = [3, n0, _T,
818
+ 0,
819
+ [_k, _v],
820
+ [0, 0], 2
821
+ ];
822
+ var TagResourceRequest$ = [3, n0, _TRR,
823
+ 0,
824
+ [_rA, _ta],
825
+ [[0, 1], () => TagList], 2
826
+ ];
827
+ var TagResourceResponse$ = [3, n0, _TRRa,
828
+ 0,
829
+ [],
830
+ []
831
+ ];
832
+ var TaskError$ = [3, n0, _TEa,
833
+ 0,
834
+ [_eC, _eM],
835
+ [0, 0]
836
+ ];
837
+ var Tenant$ = [3, n0, _Te,
838
+ 0,
839
+ [_tIe, _tDN],
840
+ [0, 0], 2
841
+ ];
842
+ var UntagResourceRequest$ = [3, n0, _URR,
843
+ 0,
844
+ [_rA, _tK],
845
+ [[0, 1], [64 | 0, { [_hQ]: _tK }]], 2
846
+ ];
847
+ var UntagResourceResponse$ = [3, n0, _URRn,
848
+ 0,
849
+ [],
850
+ []
851
+ ];
852
+ var UpdateAppAuthorizationRequest$ = [3, n0, _UAAR,
853
+ 0,
854
+ [_aBI, _aAI, _cr, _t],
855
+ [[0, 1], [0, 1], [() => Credential$, 0], () => Tenant$], 2
856
+ ];
857
+ var UpdateAppAuthorizationResponse$ = [3, n0, _UAARp,
858
+ 0,
859
+ [_aA],
860
+ [() => AppAuthorization$], 1
861
+ ];
862
+ var UpdateIngestionDestinationRequest$ = [3, n0, _UIDR,
863
+ 0,
864
+ [_aBI, _iI, _iDI, _dC],
865
+ [[0, 1], [0, 1], [0, 1], () => DestinationConfiguration$], 4
866
+ ];
867
+ var UpdateIngestionDestinationResponse$ = [3, n0, _UIDRp,
868
+ 0,
869
+ [_iD],
870
+ [() => IngestionDestination$], 1
871
+ ];
872
+ var UserAccessResultItem$ = [3, n0, _UARI,
873
+ 0,
874
+ [_a, _tI, _tDN, _tIa, _rS, _em, _uI, _uFN, _uFNs, _uLN, _uS, _tE],
875
+ [0, 0, 0, 0, 0, [() => Email, 0], [() => SensitiveString2048, 0], [() => SensitiveString2048, 0], [() => SensitiveString2048, 0], [() => SensitiveString2048, 0], 0, () => TaskError$]
876
+ ];
877
+ var UserAccessTaskItem$ = [3, n0, _UATI,
878
+ 0,
879
+ [_a, _tI, _tIa, _e],
880
+ [0, 0, 0, () => TaskError$], 2
881
+ ];
882
+ var ValidationExceptionField$ = [3, n0, _VEF,
883
+ 0,
884
+ [_n, _m],
885
+ [0, 0], 2
886
+ ];
887
+ var AppAuthorizationSummaryList = [1, n0, _AASL,
888
+ 0, () => AppAuthorizationSummary$
889
+ ];
890
+ var AppBundleSummaryList = [1, n0, _ABSL,
891
+ 0, () => AppBundleSummary$
892
+ ];
893
+ var IngestionDestinationList = [1, n0, _IDL,
894
+ 0, () => IngestionDestinationSummary$
895
+ ];
896
+ var IngestionList = [1, n0, _IL,
897
+ 0, () => IngestionSummary$
898
+ ];
899
+ var TagList = [1, n0, _TL,
900
+ 0, () => Tag$
901
+ ];
902
+ var UserAccessResultsList = [1, n0, _UARL,
903
+ 0, [() => UserAccessResultItem$,
904
+ 0]
905
+ ];
906
+ var UserAccessTasksList = [1, n0, _UATL,
907
+ 0, () => UserAccessTaskItem$
908
+ ];
909
+ var ValidationExceptionFieldList = [1, n0, _VEFL,
910
+ 0, () => ValidationExceptionField$
911
+ ];
912
+ var Credential$ = [4, n0, _C,
913
+ 0,
914
+ [_oC, _aKC],
915
+ [[() => Oauth2Credential$, 0], [() => ApiKeyCredential$, 0]]
916
+ ];
917
+ var Destination$ = [4, n0, _D,
918
+ 0,
919
+ [_sB, _fS],
920
+ [() => S3Bucket$, () => FirehoseStream$]
921
+ ];
922
+ var DestinationConfiguration$ = [4, n0, _DC,
923
+ 0,
924
+ [_aL],
925
+ [() => AuditLogDestinationConfiguration$]
926
+ ];
927
+ var ProcessingConfiguration$ = [4, n0, _PC,
928
+ 0,
929
+ [_aL],
930
+ [() => AuditLogProcessingConfiguration$]
931
+ ];
932
+ var BatchGetUserAccessTasks$ = [9, n0, _BGUAT,
933
+ { [_h]: ["POST", "/useraccess/batchget", 200] }, () => BatchGetUserAccessTasksRequest$, () => BatchGetUserAccessTasksResponse$
934
+ ];
935
+ var ConnectAppAuthorization$ = [9, n0, _CAA,
936
+ { [_h]: ["POST", "/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}/connect", 200] }, () => ConnectAppAuthorizationRequest$, () => ConnectAppAuthorizationResponse$
937
+ ];
938
+ var CreateAppAuthorization$ = [9, n0, _CAAr,
939
+ { [_h]: ["POST", "/appbundles/{appBundleIdentifier}/appauthorizations", 201] }, () => CreateAppAuthorizationRequest$, () => CreateAppAuthorizationResponse$
940
+ ];
941
+ var CreateAppBundle$ = [9, n0, _CAB,
942
+ { [_h]: ["POST", "/appbundles", 201] }, () => CreateAppBundleRequest$, () => CreateAppBundleResponse$
943
+ ];
944
+ var CreateIngestion$ = [9, n0, _CI,
945
+ { [_h]: ["POST", "/appbundles/{appBundleIdentifier}/ingestions", 201] }, () => CreateIngestionRequest$, () => CreateIngestionResponse$
946
+ ];
947
+ var CreateIngestionDestination$ = [9, n0, _CID,
948
+ { [_h]: ["POST", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations", 201] }, () => CreateIngestionDestinationRequest$, () => CreateIngestionDestinationResponse$
949
+ ];
950
+ var DeleteAppAuthorization$ = [9, n0, _DAA,
951
+ { [_h]: ["DELETE", "/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}", 204] }, () => DeleteAppAuthorizationRequest$, () => DeleteAppAuthorizationResponse$
952
+ ];
953
+ var DeleteAppBundle$ = [9, n0, _DAB,
954
+ { [_h]: ["DELETE", "/appbundles/{appBundleIdentifier}", 204] }, () => DeleteAppBundleRequest$, () => DeleteAppBundleResponse$
955
+ ];
956
+ var DeleteIngestion$ = [9, n0, _DI,
957
+ { [_h]: ["DELETE", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}", 204] }, () => DeleteIngestionRequest$, () => DeleteIngestionResponse$
958
+ ];
959
+ var DeleteIngestionDestination$ = [9, n0, _DID,
960
+ { [_h]: ["DELETE", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations/{ingestionDestinationIdentifier}", 204] }, () => DeleteIngestionDestinationRequest$, () => DeleteIngestionDestinationResponse$
961
+ ];
962
+ var GetAppAuthorization$ = [9, n0, _GAA,
963
+ { [_h]: ["GET", "/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}", 200] }, () => GetAppAuthorizationRequest$, () => GetAppAuthorizationResponse$
964
+ ];
965
+ var GetAppBundle$ = [9, n0, _GAB,
966
+ { [_h]: ["GET", "/appbundles/{appBundleIdentifier}", 200] }, () => GetAppBundleRequest$, () => GetAppBundleResponse$
967
+ ];
968
+ var GetIngestion$ = [9, n0, _GI,
969
+ { [_h]: ["GET", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}", 200] }, () => GetIngestionRequest$, () => GetIngestionResponse$
970
+ ];
971
+ var GetIngestionDestination$ = [9, n0, _GID,
972
+ { [_h]: ["GET", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations/{ingestionDestinationIdentifier}", 200] }, () => GetIngestionDestinationRequest$, () => GetIngestionDestinationResponse$
973
+ ];
974
+ var ListAppAuthorizations$ = [9, n0, _LAA,
975
+ { [_h]: ["GET", "/appbundles/{appBundleIdentifier}/appauthorizations", 200] }, () => ListAppAuthorizationsRequest$, () => ListAppAuthorizationsResponse$
976
+ ];
977
+ var ListAppBundles$ = [9, n0, _LAB,
978
+ { [_h]: ["GET", "/appbundles", 200] }, () => ListAppBundlesRequest$, () => ListAppBundlesResponse$
979
+ ];
980
+ var ListIngestionDestinations$ = [9, n0, _LID,
981
+ { [_h]: ["GET", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations", 200] }, () => ListIngestionDestinationsRequest$, () => ListIngestionDestinationsResponse$
982
+ ];
983
+ var ListIngestions$ = [9, n0, _LI,
984
+ { [_h]: ["GET", "/appbundles/{appBundleIdentifier}/ingestions", 200] }, () => ListIngestionsRequest$, () => ListIngestionsResponse$
985
+ ];
986
+ var ListTagsForResource$ = [9, n0, _LTFR,
987
+ { [_h]: ["GET", "/tags/{resourceArn}", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
988
+ ];
989
+ var StartIngestion$ = [9, n0, _SI,
990
+ { [_h]: ["POST", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/start", 200] }, () => StartIngestionRequest$, () => StartIngestionResponse$
991
+ ];
992
+ var StartUserAccessTasks$ = [9, n0, _SUAT,
993
+ { [_h]: ["POST", "/useraccess/start", 201] }, () => StartUserAccessTasksRequest$, () => StartUserAccessTasksResponse$
994
+ ];
995
+ var StopIngestion$ = [9, n0, _SIt,
996
+ { [_h]: ["POST", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/stop", 200] }, () => StopIngestionRequest$, () => StopIngestionResponse$
997
+ ];
998
+ var TagResource$ = [9, n0, _TR,
999
+ { [_h]: ["POST", "/tags/{resourceArn}", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
1000
+ ];
1001
+ var UntagResource$ = [9, n0, _UR,
1002
+ { [_h]: ["DELETE", "/tags/{resourceArn}", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
1003
+ ];
1004
+ var UpdateAppAuthorization$ = [9, n0, _UAA,
1005
+ { [_h]: ["PATCH", "/appbundles/{appBundleIdentifier}/appauthorizations/{appAuthorizationIdentifier}", 200] }, () => UpdateAppAuthorizationRequest$, () => UpdateAppAuthorizationResponse$
1006
+ ];
1007
+ var UpdateIngestionDestination$ = [9, n0, _UID,
1008
+ { [_h]: ["PATCH", "/appbundles/{appBundleIdentifier}/ingestions/{ingestionIdentifier}/ingestiondestinations/{ingestionDestinationIdentifier}", 200] }, () => UpdateIngestionDestinationRequest$, () => UpdateIngestionDestinationResponse$
1009
+ ];
1010
+
1011
+ const getRuntimeConfig$1 = (config) => {
1012
+ return {
1013
+ apiVersion: "2023-05-19",
1014
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1015
+ base64Encoder: config?.base64Encoder ?? toBase64,
1016
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1017
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1018
+ extensions: config?.extensions ?? [],
1019
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultAppFabricHttpAuthSchemeProvider,
1020
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1021
+ {
1022
+ schemeId: "aws.auth#sigv4",
1023
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1024
+ signer: new AwsSdkSigV4Signer(),
1025
+ },
1026
+ ],
1027
+ logger: config?.logger ?? new NoOpLogger(),
1028
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
1029
+ protocolSettings: config?.protocolSettings ?? {
1030
+ defaultNamespace: "com.amazonaws.appfabric",
1031
+ errorTypeRegistries,
1032
+ version: "2023-05-19",
1033
+ serviceTarget: "FabricFrontEndService",
1034
+ },
1035
+ serviceId: config?.serviceId ?? "AppFabric",
1036
+ urlParser: config?.urlParser ?? parseUrl,
1037
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1038
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1039
+ };
1040
+ };
1041
+
1042
+ const getRuntimeConfig = (config) => {
1043
+ emitWarningIfUnsupportedVersion(process.version);
1044
+ const defaultsMode = resolveDefaultsModeConfig(config);
1045
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1046
+ const clientSharedValues = getRuntimeConfig$1(config);
1047
+ emitWarningIfUnsupportedVersion$1(process.version);
1048
+ const loaderConfig = {
1049
+ profile: config?.profile,
1050
+ logger: clientSharedValues.logger,
1051
+ };
1052
+ return {
1053
+ ...clientSharedValues,
1054
+ ...config,
1055
+ runtime: "node",
1056
+ defaultsMode,
1057
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1058
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1059
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1060
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1061
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1062
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1063
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1064
+ retryMode: config?.retryMode ??
1065
+ loadConfig({
1066
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1067
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1068
+ }, config),
1069
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1070
+ streamCollector: config?.streamCollector ?? streamCollector,
1071
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1072
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1073
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1074
+ };
1075
+ };
1076
+
34
1077
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1078
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1079
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -515,44 +1558,164 @@ const IngestionDestinationStatus = {
515
1558
  FAILED: "Failed",
516
1559
  };
517
1560
 
1561
+ exports.AccessDeniedException = AccessDeniedException;
1562
+ exports.AccessDeniedException$ = AccessDeniedException$;
1563
+ exports.ApiKeyCredential$ = ApiKeyCredential$;
1564
+ exports.AppAuthorization$ = AppAuthorization$;
518
1565
  exports.AppAuthorizationStatus = AppAuthorizationStatus;
1566
+ exports.AppAuthorizationSummary$ = AppAuthorizationSummary$;
1567
+ exports.AppBundle$ = AppBundle$;
1568
+ exports.AppBundleSummary$ = AppBundleSummary$;
519
1569
  exports.AppFabric = AppFabric;
520
1570
  exports.AppFabricClient = AppFabricClient;
1571
+ exports.AppFabricServiceException = AppFabricServiceException;
1572
+ exports.AppFabricServiceException$ = AppFabricServiceException$;
1573
+ exports.AuditLogDestinationConfiguration$ = AuditLogDestinationConfiguration$;
1574
+ exports.AuditLogProcessingConfiguration$ = AuditLogProcessingConfiguration$;
1575
+ exports.AuthRequest$ = AuthRequest$;
521
1576
  exports.AuthType = AuthType;
1577
+ exports.BatchGetUserAccessTasks$ = BatchGetUserAccessTasks$;
522
1578
  exports.BatchGetUserAccessTasksCommand = BatchGetUserAccessTasksCommand;
1579
+ exports.BatchGetUserAccessTasksRequest$ = BatchGetUserAccessTasksRequest$;
1580
+ exports.BatchGetUserAccessTasksResponse$ = BatchGetUserAccessTasksResponse$;
1581
+ exports.ConflictException = ConflictException;
1582
+ exports.ConflictException$ = ConflictException$;
1583
+ exports.ConnectAppAuthorization$ = ConnectAppAuthorization$;
523
1584
  exports.ConnectAppAuthorizationCommand = ConnectAppAuthorizationCommand;
1585
+ exports.ConnectAppAuthorizationRequest$ = ConnectAppAuthorizationRequest$;
1586
+ exports.ConnectAppAuthorizationResponse$ = ConnectAppAuthorizationResponse$;
1587
+ exports.CreateAppAuthorization$ = CreateAppAuthorization$;
524
1588
  exports.CreateAppAuthorizationCommand = CreateAppAuthorizationCommand;
1589
+ exports.CreateAppAuthorizationRequest$ = CreateAppAuthorizationRequest$;
1590
+ exports.CreateAppAuthorizationResponse$ = CreateAppAuthorizationResponse$;
1591
+ exports.CreateAppBundle$ = CreateAppBundle$;
525
1592
  exports.CreateAppBundleCommand = CreateAppBundleCommand;
1593
+ exports.CreateAppBundleRequest$ = CreateAppBundleRequest$;
1594
+ exports.CreateAppBundleResponse$ = CreateAppBundleResponse$;
1595
+ exports.CreateIngestion$ = CreateIngestion$;
526
1596
  exports.CreateIngestionCommand = CreateIngestionCommand;
1597
+ exports.CreateIngestionDestination$ = CreateIngestionDestination$;
527
1598
  exports.CreateIngestionDestinationCommand = CreateIngestionDestinationCommand;
1599
+ exports.CreateIngestionDestinationRequest$ = CreateIngestionDestinationRequest$;
1600
+ exports.CreateIngestionDestinationResponse$ = CreateIngestionDestinationResponse$;
1601
+ exports.CreateIngestionRequest$ = CreateIngestionRequest$;
1602
+ exports.CreateIngestionResponse$ = CreateIngestionResponse$;
1603
+ exports.Credential$ = Credential$;
1604
+ exports.DeleteAppAuthorization$ = DeleteAppAuthorization$;
528
1605
  exports.DeleteAppAuthorizationCommand = DeleteAppAuthorizationCommand;
1606
+ exports.DeleteAppAuthorizationRequest$ = DeleteAppAuthorizationRequest$;
1607
+ exports.DeleteAppAuthorizationResponse$ = DeleteAppAuthorizationResponse$;
1608
+ exports.DeleteAppBundle$ = DeleteAppBundle$;
529
1609
  exports.DeleteAppBundleCommand = DeleteAppBundleCommand;
1610
+ exports.DeleteAppBundleRequest$ = DeleteAppBundleRequest$;
1611
+ exports.DeleteAppBundleResponse$ = DeleteAppBundleResponse$;
1612
+ exports.DeleteIngestion$ = DeleteIngestion$;
530
1613
  exports.DeleteIngestionCommand = DeleteIngestionCommand;
1614
+ exports.DeleteIngestionDestination$ = DeleteIngestionDestination$;
531
1615
  exports.DeleteIngestionDestinationCommand = DeleteIngestionDestinationCommand;
1616
+ exports.DeleteIngestionDestinationRequest$ = DeleteIngestionDestinationRequest$;
1617
+ exports.DeleteIngestionDestinationResponse$ = DeleteIngestionDestinationResponse$;
1618
+ exports.DeleteIngestionRequest$ = DeleteIngestionRequest$;
1619
+ exports.DeleteIngestionResponse$ = DeleteIngestionResponse$;
1620
+ exports.Destination$ = Destination$;
1621
+ exports.DestinationConfiguration$ = DestinationConfiguration$;
1622
+ exports.FirehoseStream$ = FirehoseStream$;
532
1623
  exports.Format = Format;
1624
+ exports.GetAppAuthorization$ = GetAppAuthorization$;
533
1625
  exports.GetAppAuthorizationCommand = GetAppAuthorizationCommand;
1626
+ exports.GetAppAuthorizationRequest$ = GetAppAuthorizationRequest$;
1627
+ exports.GetAppAuthorizationResponse$ = GetAppAuthorizationResponse$;
1628
+ exports.GetAppBundle$ = GetAppBundle$;
534
1629
  exports.GetAppBundleCommand = GetAppBundleCommand;
1630
+ exports.GetAppBundleRequest$ = GetAppBundleRequest$;
1631
+ exports.GetAppBundleResponse$ = GetAppBundleResponse$;
1632
+ exports.GetIngestion$ = GetIngestion$;
535
1633
  exports.GetIngestionCommand = GetIngestionCommand;
1634
+ exports.GetIngestionDestination$ = GetIngestionDestination$;
536
1635
  exports.GetIngestionDestinationCommand = GetIngestionDestinationCommand;
1636
+ exports.GetIngestionDestinationRequest$ = GetIngestionDestinationRequest$;
1637
+ exports.GetIngestionDestinationResponse$ = GetIngestionDestinationResponse$;
1638
+ exports.GetIngestionRequest$ = GetIngestionRequest$;
1639
+ exports.GetIngestionResponse$ = GetIngestionResponse$;
1640
+ exports.Ingestion$ = Ingestion$;
1641
+ exports.IngestionDestination$ = IngestionDestination$;
537
1642
  exports.IngestionDestinationStatus = IngestionDestinationStatus;
1643
+ exports.IngestionDestinationSummary$ = IngestionDestinationSummary$;
538
1644
  exports.IngestionState = IngestionState;
1645
+ exports.IngestionSummary$ = IngestionSummary$;
539
1646
  exports.IngestionType = IngestionType;
1647
+ exports.InternalServerException = InternalServerException;
1648
+ exports.InternalServerException$ = InternalServerException$;
1649
+ exports.ListAppAuthorizations$ = ListAppAuthorizations$;
540
1650
  exports.ListAppAuthorizationsCommand = ListAppAuthorizationsCommand;
1651
+ exports.ListAppAuthorizationsRequest$ = ListAppAuthorizationsRequest$;
1652
+ exports.ListAppAuthorizationsResponse$ = ListAppAuthorizationsResponse$;
1653
+ exports.ListAppBundles$ = ListAppBundles$;
541
1654
  exports.ListAppBundlesCommand = ListAppBundlesCommand;
1655
+ exports.ListAppBundlesRequest$ = ListAppBundlesRequest$;
1656
+ exports.ListAppBundlesResponse$ = ListAppBundlesResponse$;
1657
+ exports.ListIngestionDestinations$ = ListIngestionDestinations$;
542
1658
  exports.ListIngestionDestinationsCommand = ListIngestionDestinationsCommand;
1659
+ exports.ListIngestionDestinationsRequest$ = ListIngestionDestinationsRequest$;
1660
+ exports.ListIngestionDestinationsResponse$ = ListIngestionDestinationsResponse$;
1661
+ exports.ListIngestions$ = ListIngestions$;
543
1662
  exports.ListIngestionsCommand = ListIngestionsCommand;
1663
+ exports.ListIngestionsRequest$ = ListIngestionsRequest$;
1664
+ exports.ListIngestionsResponse$ = ListIngestionsResponse$;
1665
+ exports.ListTagsForResource$ = ListTagsForResource$;
544
1666
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1667
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1668
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1669
+ exports.Oauth2Credential$ = Oauth2Credential$;
545
1670
  exports.Persona = Persona;
1671
+ exports.ProcessingConfiguration$ = ProcessingConfiguration$;
1672
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1673
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
546
1674
  exports.ResultStatus = ResultStatus;
1675
+ exports.S3Bucket$ = S3Bucket$;
547
1676
  exports.Schema = Schema;
1677
+ exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
1678
+ exports.ServiceQuotaExceededException$ = ServiceQuotaExceededException$;
1679
+ exports.StartIngestion$ = StartIngestion$;
548
1680
  exports.StartIngestionCommand = StartIngestionCommand;
1681
+ exports.StartIngestionRequest$ = StartIngestionRequest$;
1682
+ exports.StartIngestionResponse$ = StartIngestionResponse$;
1683
+ exports.StartUserAccessTasks$ = StartUserAccessTasks$;
549
1684
  exports.StartUserAccessTasksCommand = StartUserAccessTasksCommand;
1685
+ exports.StartUserAccessTasksRequest$ = StartUserAccessTasksRequest$;
1686
+ exports.StartUserAccessTasksResponse$ = StartUserAccessTasksResponse$;
1687
+ exports.StopIngestion$ = StopIngestion$;
550
1688
  exports.StopIngestionCommand = StopIngestionCommand;
1689
+ exports.StopIngestionRequest$ = StopIngestionRequest$;
1690
+ exports.StopIngestionResponse$ = StopIngestionResponse$;
1691
+ exports.Tag$ = Tag$;
1692
+ exports.TagResource$ = TagResource$;
551
1693
  exports.TagResourceCommand = TagResourceCommand;
1694
+ exports.TagResourceRequest$ = TagResourceRequest$;
1695
+ exports.TagResourceResponse$ = TagResourceResponse$;
1696
+ exports.TaskError$ = TaskError$;
1697
+ exports.Tenant$ = Tenant$;
1698
+ exports.ThrottlingException = ThrottlingException;
1699
+ exports.ThrottlingException$ = ThrottlingException$;
1700
+ exports.UntagResource$ = UntagResource$;
552
1701
  exports.UntagResourceCommand = UntagResourceCommand;
1702
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1703
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
1704
+ exports.UpdateAppAuthorization$ = UpdateAppAuthorization$;
553
1705
  exports.UpdateAppAuthorizationCommand = UpdateAppAuthorizationCommand;
1706
+ exports.UpdateAppAuthorizationRequest$ = UpdateAppAuthorizationRequest$;
1707
+ exports.UpdateAppAuthorizationResponse$ = UpdateAppAuthorizationResponse$;
1708
+ exports.UpdateIngestionDestination$ = UpdateIngestionDestination$;
554
1709
  exports.UpdateIngestionDestinationCommand = UpdateIngestionDestinationCommand;
1710
+ exports.UpdateIngestionDestinationRequest$ = UpdateIngestionDestinationRequest$;
1711
+ exports.UpdateIngestionDestinationResponse$ = UpdateIngestionDestinationResponse$;
1712
+ exports.UserAccessResultItem$ = UserAccessResultItem$;
1713
+ exports.UserAccessTaskItem$ = UserAccessTaskItem$;
1714
+ exports.ValidationException = ValidationException;
1715
+ exports.ValidationException$ = ValidationException$;
1716
+ exports.ValidationExceptionField$ = ValidationExceptionField$;
555
1717
  exports.ValidationExceptionReason = ValidationExceptionReason;
1718
+ exports.errorTypeRegistries = errorTypeRegistries;
556
1719
  exports.paginateListAppAuthorizations = paginateListAppAuthorizations;
557
1720
  exports.paginateListAppBundles = paginateListAppBundles;
558
1721
  exports.paginateListIngestionDestinations = paginateListIngestionDestinations;