@aws-sdk/client-osis 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, defaultOSISHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CreatePipeline$, CreatePipelineEndpoint$, DeletePipeline$, DeletePipelineEndpoint$, DeleteResourcePolicy$, GetPipelineBlueprint$, GetPipelineChangeProgress$, GetPipeline$, GetResourcePolicy$, ListPipelineBlueprints$, ListPipelineEndpointConnections$, ListPipelineEndpoints$, ListPipelines$, ListTagsForResource$, PutResourcePolicy$, RevokePipelineEndpointConnections$, StartPipeline$, StopPipeline$, TagResource$, UntagResource$, UpdatePipeline$, ValidatePipeline$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { OSISServiceException } = require("./models/OSISServiceException");
18
- exports.OSISServiceException = OSISServiceException;
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 defaultOSISHttpAuthSchemeParametersProvider = 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: "osis",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultOSISHttpAuthSchemeProvider = (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,919 @@ 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://osis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://osis-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://osis.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://osis.{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 OSISServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, OSISServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class AccessDeniedException extends OSISServiceException {
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 DisabledOperationException extends OSISServiceException {
152
+ name = "DisabledOperationException";
153
+ $fault = "client";
154
+ constructor(opts) {
155
+ super({
156
+ name: "DisabledOperationException",
157
+ $fault: "client",
158
+ ...opts,
159
+ });
160
+ Object.setPrototypeOf(this, DisabledOperationException.prototype);
161
+ }
162
+ }
163
+ class InternalException extends OSISServiceException {
164
+ name = "InternalException";
165
+ $fault = "server";
166
+ constructor(opts) {
167
+ super({
168
+ name: "InternalException",
169
+ $fault: "server",
170
+ ...opts,
171
+ });
172
+ Object.setPrototypeOf(this, InternalException.prototype);
173
+ }
174
+ }
175
+ class LimitExceededException extends OSISServiceException {
176
+ name = "LimitExceededException";
177
+ $fault = "client";
178
+ constructor(opts) {
179
+ super({
180
+ name: "LimitExceededException",
181
+ $fault: "client",
182
+ ...opts,
183
+ });
184
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
185
+ }
186
+ }
187
+ class ResourceAlreadyExistsException extends OSISServiceException {
188
+ name = "ResourceAlreadyExistsException";
189
+ $fault = "client";
190
+ constructor(opts) {
191
+ super({
192
+ name: "ResourceAlreadyExistsException",
193
+ $fault: "client",
194
+ ...opts,
195
+ });
196
+ Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
197
+ }
198
+ }
199
+ class ResourceNotFoundException extends OSISServiceException {
200
+ name = "ResourceNotFoundException";
201
+ $fault = "client";
202
+ constructor(opts) {
203
+ super({
204
+ name: "ResourceNotFoundException",
205
+ $fault: "client",
206
+ ...opts,
207
+ });
208
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
209
+ }
210
+ }
211
+ class ValidationException extends OSISServiceException {
212
+ name = "ValidationException";
213
+ $fault = "client";
214
+ constructor(opts) {
215
+ super({
216
+ name: "ValidationException",
217
+ $fault: "client",
218
+ ...opts,
219
+ });
220
+ Object.setPrototypeOf(this, ValidationException.prototype);
221
+ }
222
+ }
223
+ class ConflictException extends OSISServiceException {
224
+ name = "ConflictException";
225
+ $fault = "client";
226
+ constructor(opts) {
227
+ super({
228
+ name: "ConflictException",
229
+ $fault: "client",
230
+ ...opts,
231
+ });
232
+ Object.setPrototypeOf(this, ConflictException.prototype);
233
+ }
234
+ }
235
+ class InvalidPaginationTokenException extends OSISServiceException {
236
+ name = "InvalidPaginationTokenException";
237
+ $fault = "client";
238
+ constructor(opts) {
239
+ super({
240
+ name: "InvalidPaginationTokenException",
241
+ $fault: "client",
242
+ ...opts,
243
+ });
244
+ Object.setPrototypeOf(this, InvalidPaginationTokenException.prototype);
245
+ }
246
+ }
247
+
248
+ const _A = "Arn";
249
+ const _ADE = "AccessDeniedException";
250
+ const _ATV = "AttachToVpc";
251
+ const _B = "Blueprint";
252
+ const _BN = "BlueprintName";
253
+ const _BO = "BufferOptions";
254
+ const _Bl = "Blueprints";
255
+ const _CA = "CreatedAt";
256
+ const _CB = "CidrBlock";
257
+ const _CE = "ConflictException";
258
+ const _CP = "CreatePipeline";
259
+ const _CPE = "CreatePipelineEndpoint";
260
+ const _CPER = "CreatePipelineEndpointRequest";
261
+ const _CPERr = "CreatePipelineEndpointResponse";
262
+ const _CPR = "CreatePipelineRequest";
263
+ const _CPRr = "CreatePipelineResponse";
264
+ const _CPS = "ChangeProgressStage";
265
+ const _CPSL = "ChangeProgressStageList";
266
+ const _CPSLh = "ChangeProgressStatusList";
267
+ const _CPSh = "ChangeProgressStatus";
268
+ const _CPSha = "ChangeProgressStages";
269
+ const _CPShan = "ChangeProgressStatuses";
270
+ const _CWLD = "CloudWatchLogDestination";
271
+ const _D = "Description";
272
+ const _DD = "DisplayDescription";
273
+ const _DN = "DisplayName";
274
+ const _DOE = "DisabledOperationException";
275
+ const _DP = "DeletePipeline";
276
+ const _DPE = "DeletePipelineEndpoint";
277
+ const _DPER = "DeletePipelineEndpointRequest";
278
+ const _DPERe = "DeletePipelineEndpointResponse";
279
+ const _DPR = "DeletePipelineRequest";
280
+ const _DPRe = "DeletePipelineResponse";
281
+ const _DRP = "DeleteResourcePolicy";
282
+ const _DRPR = "DeleteResourcePolicyRequest";
283
+ const _DRPRe = "DeleteResourcePolicyResponse";
284
+ const _De = "Destinations";
285
+ const _E = "Endpoint";
286
+ const _EARO = "EncryptionAtRestOptions";
287
+ const _EI = "EndpointId";
288
+ const _EIn = "EndpointIds";
289
+ const _Er = "Errors";
290
+ const _F = "Format";
291
+ const _GP = "GetPipeline";
292
+ const _GPB = "GetPipelineBlueprint";
293
+ const _GPBR = "GetPipelineBlueprintRequest";
294
+ const _GPBRe = "GetPipelineBlueprintResponse";
295
+ const _GPCP = "GetPipelineChangeProgress";
296
+ const _GPCPR = "GetPipelineChangeProgressRequest";
297
+ const _GPCPRe = "GetPipelineChangeProgressResponse";
298
+ const _GPR = "GetPipelineRequest";
299
+ const _GPRe = "GetPipelineResponse";
300
+ const _GRP = "GetResourcePolicy";
301
+ const _GRPR = "GetResourcePolicyRequest";
302
+ const _GRPRe = "GetResourcePolicyResponse";
303
+ const _IE = "InternalException";
304
+ const _IEU = "IngestEndpointUrls";
305
+ const _IEUn = "IngestEndpointUrl";
306
+ const _ILE = "IsLoggingEnabled";
307
+ const _IPTE = "InvalidPaginationTokenException";
308
+ const _K = "Key";
309
+ const _KKA = "KmsKeyArn";
310
+ const _LEE = "LimitExceededException";
311
+ const _LG = "LogGroup";
312
+ const _LP = "ListPipelines";
313
+ const _LPB = "ListPipelineBlueprints";
314
+ const _LPBR = "ListPipelineBlueprintsRequest";
315
+ const _LPBRi = "ListPipelineBlueprintsResponse";
316
+ const _LPE = "ListPipelineEndpoints";
317
+ const _LPEC = "ListPipelineEndpointConnections";
318
+ const _LPECR = "ListPipelineEndpointConnectionsRequest";
319
+ const _LPECRi = "ListPipelineEndpointConnectionsResponse";
320
+ const _LPER = "ListPipelineEndpointsRequest";
321
+ const _LPERi = "ListPipelineEndpointsResponse";
322
+ const _LPO = "LogPublishingOptions";
323
+ const _LPR = "ListPipelinesRequest";
324
+ const _LPRi = "ListPipelinesResponse";
325
+ const _LTFR = "ListTagsForResource";
326
+ const _LTFRR = "ListTagsForResourceRequest";
327
+ const _LTFRRi = "ListTagsForResourceResponse";
328
+ const _LUA = "LastUpdatedAt";
329
+ const _M = "Message";
330
+ const _MR = "MaxResults";
331
+ const _MU = "MinUnits";
332
+ const _MUa = "MaxUnits";
333
+ const _N = "Name";
334
+ const _NT = "NextToken";
335
+ const _P = "Pipeline";
336
+ const _PA = "PipelineArn";
337
+ const _PB = "PipelineBlueprint";
338
+ const _PBE = "PersistentBufferEnabled";
339
+ const _PBS = "PipelineBlueprintSummary";
340
+ const _PBSL = "PipelineBlueprintsSummaryList";
341
+ const _PCB = "PipelineConfigurationBody";
342
+ const _PD = "PipelineDestination";
343
+ const _PDL = "PipelineDestinationList";
344
+ const _PE = "PipelineEndpoints";
345
+ const _PEC = "PipelineEndpointConnections";
346
+ const _PECSL = "PipelineEndpointConnectionsSummaryList";
347
+ const _PECi = "PipelineEndpointConnection";
348
+ const _PESL = "PipelineEndpointsSummaryList";
349
+ const _PEVO = "PipelineEndpointVpcOptions";
350
+ const _PEi = "PipelineEndpoint";
351
+ const _PN = "PipelineName";
352
+ const _PRA = "PipelineRoleArn";
353
+ const _PRP = "PutResourcePolicy";
354
+ const _PRPR = "PutResourcePolicyRequest";
355
+ const _PRPRu = "PutResourcePolicyResponse";
356
+ const _PS = "PipelineSummary";
357
+ const _PSL = "PipelineSummaryList";
358
+ const _PSR = "PipelineStatusReason";
359
+ const _Pi = "Pipelines";
360
+ const _Po = "Policy";
361
+ const _RA = "ResourceArn";
362
+ const _RAEE = "ResourceAlreadyExistsException";
363
+ const _RNFE = "ResourceNotFoundException";
364
+ const _RPEC = "RevokePipelineEndpointConnections";
365
+ const _RPECR = "RevokePipelineEndpointConnectionsRequest";
366
+ const _RPECRe = "RevokePipelineEndpointConnectionsResponse";
367
+ const _S = "Status";
368
+ const _SGI = "SecurityGroupIds";
369
+ const _SI = "SubnetIds";
370
+ const _SN = "ServiceName";
371
+ const _SP = "StartPipeline";
372
+ const _SPR = "StartPipelineRequest";
373
+ const _SPRt = "StartPipelineResponse";
374
+ const _SPRto = "StopPipelineRequest";
375
+ const _SPRtop = "StopPipelineResponse";
376
+ const _SPt = "StopPipeline";
377
+ const _SR = "StatusReason";
378
+ const _ST = "StartTime";
379
+ const _SVE = "ServiceVpcEndpoints";
380
+ const _SVEL = "ServiceVpcEndpointsList";
381
+ const _SVEe = "ServiceVpcEndpoint";
382
+ const _Se = "Service";
383
+ const _T = "Tags";
384
+ const _TK = "TagKeys";
385
+ const _TL = "TagList";
386
+ const _TNOS = "TotalNumberOfStages";
387
+ const _TR = "TagResource";
388
+ const _TRR = "TagResourceRequest";
389
+ const _TRRa = "TagResourceResponse";
390
+ const _Ta = "Tag";
391
+ const _UC = "UseCase";
392
+ const _UP = "UpdatePipeline";
393
+ const _UPR = "UpdatePipelineRequest";
394
+ const _UPRp = "UpdatePipelineResponse";
395
+ const _UR = "UntagResource";
396
+ const _URR = "UntagResourceRequest";
397
+ const _URRn = "UntagResourceResponse";
398
+ const _V = "Value";
399
+ const _VAO = "VpcAttachmentOptions";
400
+ const _VE = "ValidationException";
401
+ const _VEI = "VpcEndpointId";
402
+ const _VEL = "VpcEndpointsList";
403
+ const _VEM = "VpcEndpointManagement";
404
+ const _VEO = "VpcEndpointOwner";
405
+ const _VES = "VpcEndpointService";
406
+ const _VEp = "VpcEndpoints";
407
+ const _VEpc = "VpcEndpoint";
408
+ const _VI = "VpcId";
409
+ const _VM = "ValidationMessage";
410
+ const _VML = "ValidationMessageList";
411
+ const _VO = "VpcOptions";
412
+ const _VP = "ValidatePipeline";
413
+ const _VPR = "ValidatePipelineRequest";
414
+ const _VPRa = "ValidatePipelineResponse";
415
+ const _a = "arn";
416
+ const _c = "client";
417
+ const _e = "error";
418
+ const _f = "format";
419
+ const _h = "http";
420
+ const _hE = "httpError";
421
+ const _hQ = "httpQuery";
422
+ const _iV = "isValid";
423
+ const _m = "message";
424
+ const _mR = "maxResults";
425
+ const _nT = "nextToken";
426
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.osis";
427
+ const _se = "server";
428
+ const n0 = "com.amazonaws.osis";
429
+ const _s_registry = TypeRegistry.for(_s);
430
+ var OSISServiceException$ = [-3, _s, "OSISServiceException", 0, [], []];
431
+ _s_registry.registerError(OSISServiceException$, OSISServiceException);
432
+ const n0_registry = TypeRegistry.for(n0);
433
+ var AccessDeniedException$ = [-3, n0, _ADE,
434
+ { [_e]: _c, [_hE]: 403 },
435
+ [_m],
436
+ [0]
437
+ ];
438
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
439
+ var ConflictException$ = [-3, n0, _CE,
440
+ { [_e]: _c, [_hE]: 409 },
441
+ [_m],
442
+ [0]
443
+ ];
444
+ n0_registry.registerError(ConflictException$, ConflictException);
445
+ var DisabledOperationException$ = [-3, n0, _DOE,
446
+ { [_e]: _c, [_hE]: 409 },
447
+ [_m],
448
+ [0]
449
+ ];
450
+ n0_registry.registerError(DisabledOperationException$, DisabledOperationException);
451
+ var InternalException$ = [-3, n0, _IE,
452
+ { [_e]: _se, [_hE]: 500 },
453
+ [_m],
454
+ [0]
455
+ ];
456
+ n0_registry.registerError(InternalException$, InternalException);
457
+ var InvalidPaginationTokenException$ = [-3, n0, _IPTE,
458
+ { [_e]: _c, [_hE]: 400 },
459
+ [_m],
460
+ [0]
461
+ ];
462
+ n0_registry.registerError(InvalidPaginationTokenException$, InvalidPaginationTokenException);
463
+ var LimitExceededException$ = [-3, n0, _LEE,
464
+ { [_e]: _c, [_hE]: 409 },
465
+ [_m],
466
+ [0]
467
+ ];
468
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
469
+ var ResourceAlreadyExistsException$ = [-3, n0, _RAEE,
470
+ { [_e]: _c, [_hE]: 409 },
471
+ [_m],
472
+ [0]
473
+ ];
474
+ n0_registry.registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);
475
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
476
+ { [_e]: _c, [_hE]: 404 },
477
+ [_m],
478
+ [0]
479
+ ];
480
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
481
+ var ValidationException$ = [-3, n0, _VE,
482
+ { [_e]: _c, [_hE]: 400 },
483
+ [_m],
484
+ [0]
485
+ ];
486
+ n0_registry.registerError(ValidationException$, ValidationException);
487
+ const errorTypeRegistries = [
488
+ _s_registry,
489
+ n0_registry,
490
+ ];
491
+ var BufferOptions$ = [3, n0, _BO,
492
+ 0,
493
+ [_PBE],
494
+ [2], 1
495
+ ];
496
+ var ChangeProgressStage$ = [3, n0, _CPS,
497
+ 0,
498
+ [_N, _S, _D, _LUA],
499
+ [0, 0, 0, 4]
500
+ ];
501
+ var ChangeProgressStatus$ = [3, n0, _CPSh,
502
+ 0,
503
+ [_ST, _S, _TNOS, _CPSha],
504
+ [4, 0, 1, () => ChangeProgressStageList]
505
+ ];
506
+ var CloudWatchLogDestination$ = [3, n0, _CWLD,
507
+ 0,
508
+ [_LG],
509
+ [0], 1
510
+ ];
511
+ var CreatePipelineEndpointRequest$ = [3, n0, _CPER,
512
+ 0,
513
+ [_PA, _VO],
514
+ [0, () => PipelineEndpointVpcOptions$], 2
515
+ ];
516
+ var CreatePipelineEndpointResponse$ = [3, n0, _CPERr,
517
+ 0,
518
+ [_PA, _EI, _S, _VI],
519
+ [0, 0, 0, 0]
520
+ ];
521
+ var CreatePipelineRequest$ = [3, n0, _CPR,
522
+ 0,
523
+ [_PN, _MU, _MUa, _PCB, _LPO, _VO, _BO, _EARO, _T, _PRA],
524
+ [0, 1, 1, 0, () => LogPublishingOptions$, () => VpcOptions$, () => BufferOptions$, () => EncryptionAtRestOptions$, () => TagList, 0], 4
525
+ ];
526
+ var CreatePipelineResponse$ = [3, n0, _CPRr,
527
+ 0,
528
+ [_P],
529
+ [() => Pipeline$]
530
+ ];
531
+ var DeletePipelineEndpointRequest$ = [3, n0, _DPER,
532
+ 0,
533
+ [_EI],
534
+ [[0, 1]], 1
535
+ ];
536
+ var DeletePipelineEndpointResponse$ = [3, n0, _DPERe,
537
+ 0,
538
+ [],
539
+ []
540
+ ];
541
+ var DeletePipelineRequest$ = [3, n0, _DPR,
542
+ 0,
543
+ [_PN],
544
+ [[0, 1]], 1
545
+ ];
546
+ var DeletePipelineResponse$ = [3, n0, _DPRe,
547
+ 0,
548
+ [],
549
+ []
550
+ ];
551
+ var DeleteResourcePolicyRequest$ = [3, n0, _DRPR,
552
+ 0,
553
+ [_RA],
554
+ [[0, 1]], 1
555
+ ];
556
+ var DeleteResourcePolicyResponse$ = [3, n0, _DRPRe,
557
+ 0,
558
+ [],
559
+ []
560
+ ];
561
+ var EncryptionAtRestOptions$ = [3, n0, _EARO,
562
+ 0,
563
+ [_KKA],
564
+ [0], 1
565
+ ];
566
+ var GetPipelineBlueprintRequest$ = [3, n0, _GPBR,
567
+ 0,
568
+ [_BN, _F],
569
+ [[0, 1], [0, { [_hQ]: _f }]], 1
570
+ ];
571
+ var GetPipelineBlueprintResponse$ = [3, n0, _GPBRe,
572
+ 0,
573
+ [_B, _F],
574
+ [() => PipelineBlueprint$, 0]
575
+ ];
576
+ var GetPipelineChangeProgressRequest$ = [3, n0, _GPCPR,
577
+ 0,
578
+ [_PN],
579
+ [[0, 1]], 1
580
+ ];
581
+ var GetPipelineChangeProgressResponse$ = [3, n0, _GPCPRe,
582
+ 0,
583
+ [_CPShan],
584
+ [() => ChangeProgressStatusList]
585
+ ];
586
+ var GetPipelineRequest$ = [3, n0, _GPR,
587
+ 0,
588
+ [_PN],
589
+ [[0, 1]], 1
590
+ ];
591
+ var GetPipelineResponse$ = [3, n0, _GPRe,
592
+ 0,
593
+ [_P],
594
+ [() => Pipeline$]
595
+ ];
596
+ var GetResourcePolicyRequest$ = [3, n0, _GRPR,
597
+ 0,
598
+ [_RA],
599
+ [[0, 1]], 1
600
+ ];
601
+ var GetResourcePolicyResponse$ = [3, n0, _GRPRe,
602
+ 0,
603
+ [_RA, _Po],
604
+ [0, 0]
605
+ ];
606
+ var ListPipelineBlueprintsRequest$ = [3, n0, _LPBR,
607
+ 0,
608
+ [],
609
+ []
610
+ ];
611
+ var ListPipelineBlueprintsResponse$ = [3, n0, _LPBRi,
612
+ 0,
613
+ [_Bl],
614
+ [() => PipelineBlueprintsSummaryList]
615
+ ];
616
+ var ListPipelineEndpointConnectionsRequest$ = [3, n0, _LPECR,
617
+ 0,
618
+ [_MR, _NT],
619
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
620
+ ];
621
+ var ListPipelineEndpointConnectionsResponse$ = [3, n0, _LPECRi,
622
+ 0,
623
+ [_NT, _PEC],
624
+ [0, () => PipelineEndpointConnectionsSummaryList]
625
+ ];
626
+ var ListPipelineEndpointsRequest$ = [3, n0, _LPER,
627
+ 0,
628
+ [_MR, _NT],
629
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
630
+ ];
631
+ var ListPipelineEndpointsResponse$ = [3, n0, _LPERi,
632
+ 0,
633
+ [_NT, _PE],
634
+ [0, () => PipelineEndpointsSummaryList]
635
+ ];
636
+ var ListPipelinesRequest$ = [3, n0, _LPR,
637
+ 0,
638
+ [_MR, _NT],
639
+ [[1, { [_hQ]: _mR }], [0, { [_hQ]: _nT }]]
640
+ ];
641
+ var ListPipelinesResponse$ = [3, n0, _LPRi,
642
+ 0,
643
+ [_NT, _Pi],
644
+ [0, () => PipelineSummaryList]
645
+ ];
646
+ var ListTagsForResourceRequest$ = [3, n0, _LTFRR,
647
+ 0,
648
+ [_A],
649
+ [[0, { [_hQ]: _a }]], 1
650
+ ];
651
+ var ListTagsForResourceResponse$ = [3, n0, _LTFRRi,
652
+ 0,
653
+ [_T],
654
+ [() => TagList]
655
+ ];
656
+ var LogPublishingOptions$ = [3, n0, _LPO,
657
+ 0,
658
+ [_ILE, _CWLD],
659
+ [2, () => CloudWatchLogDestination$]
660
+ ];
661
+ var Pipeline$ = [3, n0, _P,
662
+ 0,
663
+ [_PN, _PA, _MU, _MUa, _S, _SR, _PCB, _CA, _LUA, _IEU, _LPO, _VEp, _BO, _EARO, _VES, _SVE, _De, _T, _PRA],
664
+ [0, 0, 1, 1, 0, () => PipelineStatusReason$, 0, 4, 4, 64 | 0, () => LogPublishingOptions$, () => VpcEndpointsList, () => BufferOptions$, () => EncryptionAtRestOptions$, 0, () => ServiceVpcEndpointsList, () => PipelineDestinationList, () => TagList, 0]
665
+ ];
666
+ var PipelineBlueprint$ = [3, n0, _PB,
667
+ 0,
668
+ [_BN, _PCB, _DN, _DD, _Se, _UC],
669
+ [0, 0, 0, 0, 0, 0]
670
+ ];
671
+ var PipelineBlueprintSummary$ = [3, n0, _PBS,
672
+ 0,
673
+ [_BN, _DN, _DD, _Se, _UC],
674
+ [0, 0, 0, 0, 0]
675
+ ];
676
+ var PipelineDestination$ = [3, n0, _PD,
677
+ 0,
678
+ [_SN, _E],
679
+ [0, 0]
680
+ ];
681
+ var PipelineEndpoint$ = [3, n0, _PEi,
682
+ 0,
683
+ [_PA, _EI, _S, _VI, _VO, _IEUn],
684
+ [0, 0, 0, 0, () => PipelineEndpointVpcOptions$, 0]
685
+ ];
686
+ var PipelineEndpointConnection$ = [3, n0, _PECi,
687
+ 0,
688
+ [_PA, _EI, _S, _VEO],
689
+ [0, 0, 0, 0]
690
+ ];
691
+ var PipelineEndpointVpcOptions$ = [3, n0, _PEVO,
692
+ 0,
693
+ [_SI, _SGI],
694
+ [64 | 0, 64 | 0]
695
+ ];
696
+ var PipelineStatusReason$ = [3, n0, _PSR,
697
+ 0,
698
+ [_D],
699
+ [0]
700
+ ];
701
+ var PipelineSummary$ = [3, n0, _PS,
702
+ 0,
703
+ [_S, _SR, _PN, _PA, _MU, _MUa, _CA, _LUA, _De, _T],
704
+ [0, () => PipelineStatusReason$, 0, 0, 1, 1, 4, 4, () => PipelineDestinationList, () => TagList]
705
+ ];
706
+ var PutResourcePolicyRequest$ = [3, n0, _PRPR,
707
+ 0,
708
+ [_RA, _Po],
709
+ [[0, 1], 0], 2
710
+ ];
711
+ var PutResourcePolicyResponse$ = [3, n0, _PRPRu,
712
+ 0,
713
+ [_RA, _Po],
714
+ [0, 0]
715
+ ];
716
+ var RevokePipelineEndpointConnectionsRequest$ = [3, n0, _RPECR,
717
+ 0,
718
+ [_PA, _EIn],
719
+ [0, 64 | 0], 2
720
+ ];
721
+ var RevokePipelineEndpointConnectionsResponse$ = [3, n0, _RPECRe,
722
+ 0,
723
+ [_PA],
724
+ [0]
725
+ ];
726
+ var ServiceVpcEndpoint$ = [3, n0, _SVEe,
727
+ 0,
728
+ [_SN, _VEI],
729
+ [0, 0]
730
+ ];
731
+ var StartPipelineRequest$ = [3, n0, _SPR,
732
+ 0,
733
+ [_PN],
734
+ [[0, 1]], 1
735
+ ];
736
+ var StartPipelineResponse$ = [3, n0, _SPRt,
737
+ 0,
738
+ [_P],
739
+ [() => Pipeline$]
740
+ ];
741
+ var StopPipelineRequest$ = [3, n0, _SPRto,
742
+ 0,
743
+ [_PN],
744
+ [[0, 1]], 1
745
+ ];
746
+ var StopPipelineResponse$ = [3, n0, _SPRtop,
747
+ 0,
748
+ [_P],
749
+ [() => Pipeline$]
750
+ ];
751
+ var Tag$ = [3, n0, _Ta,
752
+ 0,
753
+ [_K, _V],
754
+ [0, 0], 2
755
+ ];
756
+ var TagResourceRequest$ = [3, n0, _TRR,
757
+ 0,
758
+ [_A, _T],
759
+ [[0, { [_hQ]: _a }], () => TagList], 2
760
+ ];
761
+ var TagResourceResponse$ = [3, n0, _TRRa,
762
+ 0,
763
+ [],
764
+ []
765
+ ];
766
+ var UntagResourceRequest$ = [3, n0, _URR,
767
+ 0,
768
+ [_A, _TK],
769
+ [[0, { [_hQ]: _a }], 64 | 0], 2
770
+ ];
771
+ var UntagResourceResponse$ = [3, n0, _URRn,
772
+ 0,
773
+ [],
774
+ []
775
+ ];
776
+ var UpdatePipelineRequest$ = [3, n0, _UPR,
777
+ 0,
778
+ [_PN, _MU, _MUa, _PCB, _LPO, _BO, _EARO, _PRA],
779
+ [[0, 1], 1, 1, 0, () => LogPublishingOptions$, () => BufferOptions$, () => EncryptionAtRestOptions$, 0], 1
780
+ ];
781
+ var UpdatePipelineResponse$ = [3, n0, _UPRp,
782
+ 0,
783
+ [_P],
784
+ [() => Pipeline$]
785
+ ];
786
+ var ValidatePipelineRequest$ = [3, n0, _VPR,
787
+ 0,
788
+ [_PCB],
789
+ [0], 1
790
+ ];
791
+ var ValidatePipelineResponse$ = [3, n0, _VPRa,
792
+ 0,
793
+ [_iV, _Er],
794
+ [2, () => ValidationMessageList]
795
+ ];
796
+ var ValidationMessage$ = [3, n0, _VM,
797
+ 0,
798
+ [_M],
799
+ [0]
800
+ ];
801
+ var VpcAttachmentOptions$ = [3, n0, _VAO,
802
+ 0,
803
+ [_ATV, _CB],
804
+ [2, 0], 1
805
+ ];
806
+ var VpcEndpoint$ = [3, n0, _VEpc,
807
+ 0,
808
+ [_VEI, _VI, _VO],
809
+ [0, 0, () => VpcOptions$]
810
+ ];
811
+ var VpcOptions$ = [3, n0, _VO,
812
+ 0,
813
+ [_SI, _SGI, _VAO, _VEM],
814
+ [64 | 0, 64 | 0, () => VpcAttachmentOptions$, 0], 1
815
+ ];
816
+ var ChangeProgressStageList = [1, n0, _CPSL,
817
+ 0, () => ChangeProgressStage$
818
+ ];
819
+ var ChangeProgressStatusList = [1, n0, _CPSLh,
820
+ 0, () => ChangeProgressStatus$
821
+ ];
822
+ var PipelineBlueprintsSummaryList = [1, n0, _PBSL,
823
+ 0, () => PipelineBlueprintSummary$
824
+ ];
825
+ var PipelineDestinationList = [1, n0, _PDL,
826
+ 0, () => PipelineDestination$
827
+ ];
828
+ var PipelineEndpointConnectionsSummaryList = [1, n0, _PECSL,
829
+ 0, () => PipelineEndpointConnection$
830
+ ];
831
+ var PipelineEndpointsSummaryList = [1, n0, _PESL,
832
+ 0, () => PipelineEndpoint$
833
+ ];
834
+ var PipelineSummaryList = [1, n0, _PSL,
835
+ 0, () => PipelineSummary$
836
+ ];
837
+ var ServiceVpcEndpointsList = [1, n0, _SVEL,
838
+ 0, () => ServiceVpcEndpoint$
839
+ ];
840
+ var TagList = [1, n0, _TL,
841
+ 0, () => Tag$
842
+ ];
843
+ var ValidationMessageList = [1, n0, _VML,
844
+ 0, () => ValidationMessage$
845
+ ];
846
+ var VpcEndpointsList = [1, n0, _VEL,
847
+ 0, () => VpcEndpoint$
848
+ ];
849
+ var CreatePipeline$ = [9, n0, _CP,
850
+ { [_h]: ["POST", "/2022-01-01/osis/createPipeline", 200] }, () => CreatePipelineRequest$, () => CreatePipelineResponse$
851
+ ];
852
+ var CreatePipelineEndpoint$ = [9, n0, _CPE,
853
+ { [_h]: ["POST", "/2022-01-01/osis/createPipelineEndpoint", 200] }, () => CreatePipelineEndpointRequest$, () => CreatePipelineEndpointResponse$
854
+ ];
855
+ var DeletePipeline$ = [9, n0, _DP,
856
+ { [_h]: ["DELETE", "/2022-01-01/osis/deletePipeline/{PipelineName}", 200] }, () => DeletePipelineRequest$, () => DeletePipelineResponse$
857
+ ];
858
+ var DeletePipelineEndpoint$ = [9, n0, _DPE,
859
+ { [_h]: ["DELETE", "/2022-01-01/osis/deletePipelineEndpoint/{EndpointId}", 200] }, () => DeletePipelineEndpointRequest$, () => DeletePipelineEndpointResponse$
860
+ ];
861
+ var DeleteResourcePolicy$ = [9, n0, _DRP,
862
+ { [_h]: ["DELETE", "/2022-01-01/osis/resourcePolicy/{ResourceArn}", 200] }, () => DeleteResourcePolicyRequest$, () => DeleteResourcePolicyResponse$
863
+ ];
864
+ var GetPipeline$ = [9, n0, _GP,
865
+ { [_h]: ["GET", "/2022-01-01/osis/getPipeline/{PipelineName}", 200] }, () => GetPipelineRequest$, () => GetPipelineResponse$
866
+ ];
867
+ var GetPipelineBlueprint$ = [9, n0, _GPB,
868
+ { [_h]: ["GET", "/2022-01-01/osis/getPipelineBlueprint/{BlueprintName}", 200] }, () => GetPipelineBlueprintRequest$, () => GetPipelineBlueprintResponse$
869
+ ];
870
+ var GetPipelineChangeProgress$ = [9, n0, _GPCP,
871
+ { [_h]: ["GET", "/2022-01-01/osis/getPipelineChangeProgress/{PipelineName}", 200] }, () => GetPipelineChangeProgressRequest$, () => GetPipelineChangeProgressResponse$
872
+ ];
873
+ var GetResourcePolicy$ = [9, n0, _GRP,
874
+ { [_h]: ["GET", "/2022-01-01/osis/resourcePolicy/{ResourceArn}", 200] }, () => GetResourcePolicyRequest$, () => GetResourcePolicyResponse$
875
+ ];
876
+ var ListPipelineBlueprints$ = [9, n0, _LPB,
877
+ { [_h]: ["POST", "/2022-01-01/osis/listPipelineBlueprints", 200] }, () => ListPipelineBlueprintsRequest$, () => ListPipelineBlueprintsResponse$
878
+ ];
879
+ var ListPipelineEndpointConnections$ = [9, n0, _LPEC,
880
+ { [_h]: ["GET", "/2022-01-01/osis/listPipelineEndpointConnections", 200] }, () => ListPipelineEndpointConnectionsRequest$, () => ListPipelineEndpointConnectionsResponse$
881
+ ];
882
+ var ListPipelineEndpoints$ = [9, n0, _LPE,
883
+ { [_h]: ["GET", "/2022-01-01/osis/listPipelineEndpoints", 200] }, () => ListPipelineEndpointsRequest$, () => ListPipelineEndpointsResponse$
884
+ ];
885
+ var ListPipelines$ = [9, n0, _LP,
886
+ { [_h]: ["GET", "/2022-01-01/osis/listPipelines", 200] }, () => ListPipelinesRequest$, () => ListPipelinesResponse$
887
+ ];
888
+ var ListTagsForResource$ = [9, n0, _LTFR,
889
+ { [_h]: ["GET", "/2022-01-01/osis/listTagsForResource", 200] }, () => ListTagsForResourceRequest$, () => ListTagsForResourceResponse$
890
+ ];
891
+ var PutResourcePolicy$ = [9, n0, _PRP,
892
+ { [_h]: ["PUT", "/2022-01-01/osis/resourcePolicy/{ResourceArn}", 200] }, () => PutResourcePolicyRequest$, () => PutResourcePolicyResponse$
893
+ ];
894
+ var RevokePipelineEndpointConnections$ = [9, n0, _RPEC,
895
+ { [_h]: ["POST", "/2022-01-01/osis/revokePipelineEndpointConnections", 200] }, () => RevokePipelineEndpointConnectionsRequest$, () => RevokePipelineEndpointConnectionsResponse$
896
+ ];
897
+ var StartPipeline$ = [9, n0, _SP,
898
+ { [_h]: ["PUT", "/2022-01-01/osis/startPipeline/{PipelineName}", 200] }, () => StartPipelineRequest$, () => StartPipelineResponse$
899
+ ];
900
+ var StopPipeline$ = [9, n0, _SPt,
901
+ { [_h]: ["PUT", "/2022-01-01/osis/stopPipeline/{PipelineName}", 200] }, () => StopPipelineRequest$, () => StopPipelineResponse$
902
+ ];
903
+ var TagResource$ = [9, n0, _TR,
904
+ { [_h]: ["POST", "/2022-01-01/osis/tagResource", 200] }, () => TagResourceRequest$, () => TagResourceResponse$
905
+ ];
906
+ var UntagResource$ = [9, n0, _UR,
907
+ { [_h]: ["POST", "/2022-01-01/osis/untagResource", 200] }, () => UntagResourceRequest$, () => UntagResourceResponse$
908
+ ];
909
+ var UpdatePipeline$ = [9, n0, _UP,
910
+ { [_h]: ["PUT", "/2022-01-01/osis/updatePipeline/{PipelineName}", 200] }, () => UpdatePipelineRequest$, () => UpdatePipelineResponse$
911
+ ];
912
+ var ValidatePipeline$ = [9, n0, _VP,
913
+ { [_h]: ["POST", "/2022-01-01/osis/validatePipeline", 200] }, () => ValidatePipelineRequest$, () => ValidatePipelineResponse$
914
+ ];
915
+
916
+ const getRuntimeConfig$1 = (config) => {
917
+ return {
918
+ apiVersion: "2022-01-01",
919
+ base64Decoder: config?.base64Decoder ?? fromBase64,
920
+ base64Encoder: config?.base64Encoder ?? toBase64,
921
+ disableHostPrefix: config?.disableHostPrefix ?? false,
922
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
923
+ extensions: config?.extensions ?? [],
924
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultOSISHttpAuthSchemeProvider,
925
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
926
+ {
927
+ schemeId: "aws.auth#sigv4",
928
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
929
+ signer: new AwsSdkSigV4Signer(),
930
+ },
931
+ ],
932
+ logger: config?.logger ?? new NoOpLogger(),
933
+ protocol: config?.protocol ?? AwsRestJsonProtocol,
934
+ protocolSettings: config?.protocolSettings ?? {
935
+ defaultNamespace: "com.amazonaws.osis",
936
+ errorTypeRegistries,
937
+ xmlNamespace: "http://osis.amazonaws.com/doc/2022-01-01",
938
+ version: "2022-01-01",
939
+ serviceTarget: "AmazonOpenSearchIngestionService",
940
+ },
941
+ serviceId: config?.serviceId ?? "OSIS",
942
+ urlParser: config?.urlParser ?? parseUrl,
943
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
944
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
945
+ };
946
+ };
947
+
948
+ const getRuntimeConfig = (config) => {
949
+ emitWarningIfUnsupportedVersion(process.version);
950
+ const defaultsMode = resolveDefaultsModeConfig(config);
951
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
952
+ const clientSharedValues = getRuntimeConfig$1(config);
953
+ emitWarningIfUnsupportedVersion$1(process.version);
954
+ const loaderConfig = {
955
+ profile: config?.profile,
956
+ logger: clientSharedValues.logger,
957
+ };
958
+ return {
959
+ ...clientSharedValues,
960
+ ...config,
961
+ runtime: "node",
962
+ defaultsMode,
963
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
964
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
965
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
966
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
967
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
968
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
969
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
970
+ retryMode: config?.retryMode ??
971
+ loadConfig({
972
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
973
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
974
+ }, config),
975
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
976
+ streamCollector: config?.streamCollector ?? streamCollector,
977
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
978
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
979
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
980
+ };
981
+ };
982
+
34
983
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
984
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
985
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -454,36 +1403,144 @@ const ChangeProgressStatuses = {
454
1403
  PENDING: "PENDING",
455
1404
  };
456
1405
 
1406
+ exports.AccessDeniedException = AccessDeniedException;
1407
+ exports.AccessDeniedException$ = AccessDeniedException$;
1408
+ exports.BufferOptions$ = BufferOptions$;
1409
+ exports.ChangeProgressStage$ = ChangeProgressStage$;
457
1410
  exports.ChangeProgressStageStatuses = ChangeProgressStageStatuses;
1411
+ exports.ChangeProgressStatus$ = ChangeProgressStatus$;
458
1412
  exports.ChangeProgressStatuses = ChangeProgressStatuses;
1413
+ exports.CloudWatchLogDestination$ = CloudWatchLogDestination$;
1414
+ exports.ConflictException = ConflictException;
1415
+ exports.ConflictException$ = ConflictException$;
1416
+ exports.CreatePipeline$ = CreatePipeline$;
459
1417
  exports.CreatePipelineCommand = CreatePipelineCommand;
1418
+ exports.CreatePipelineEndpoint$ = CreatePipelineEndpoint$;
460
1419
  exports.CreatePipelineEndpointCommand = CreatePipelineEndpointCommand;
1420
+ exports.CreatePipelineEndpointRequest$ = CreatePipelineEndpointRequest$;
1421
+ exports.CreatePipelineEndpointResponse$ = CreatePipelineEndpointResponse$;
1422
+ exports.CreatePipelineRequest$ = CreatePipelineRequest$;
1423
+ exports.CreatePipelineResponse$ = CreatePipelineResponse$;
1424
+ exports.DeletePipeline$ = DeletePipeline$;
461
1425
  exports.DeletePipelineCommand = DeletePipelineCommand;
1426
+ exports.DeletePipelineEndpoint$ = DeletePipelineEndpoint$;
462
1427
  exports.DeletePipelineEndpointCommand = DeletePipelineEndpointCommand;
1428
+ exports.DeletePipelineEndpointRequest$ = DeletePipelineEndpointRequest$;
1429
+ exports.DeletePipelineEndpointResponse$ = DeletePipelineEndpointResponse$;
1430
+ exports.DeletePipelineRequest$ = DeletePipelineRequest$;
1431
+ exports.DeletePipelineResponse$ = DeletePipelineResponse$;
1432
+ exports.DeleteResourcePolicy$ = DeleteResourcePolicy$;
463
1433
  exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
1434
+ exports.DeleteResourcePolicyRequest$ = DeleteResourcePolicyRequest$;
1435
+ exports.DeleteResourcePolicyResponse$ = DeleteResourcePolicyResponse$;
1436
+ exports.DisabledOperationException = DisabledOperationException;
1437
+ exports.DisabledOperationException$ = DisabledOperationException$;
1438
+ exports.EncryptionAtRestOptions$ = EncryptionAtRestOptions$;
1439
+ exports.GetPipeline$ = GetPipeline$;
1440
+ exports.GetPipelineBlueprint$ = GetPipelineBlueprint$;
464
1441
  exports.GetPipelineBlueprintCommand = GetPipelineBlueprintCommand;
1442
+ exports.GetPipelineBlueprintRequest$ = GetPipelineBlueprintRequest$;
1443
+ exports.GetPipelineBlueprintResponse$ = GetPipelineBlueprintResponse$;
1444
+ exports.GetPipelineChangeProgress$ = GetPipelineChangeProgress$;
465
1445
  exports.GetPipelineChangeProgressCommand = GetPipelineChangeProgressCommand;
1446
+ exports.GetPipelineChangeProgressRequest$ = GetPipelineChangeProgressRequest$;
1447
+ exports.GetPipelineChangeProgressResponse$ = GetPipelineChangeProgressResponse$;
466
1448
  exports.GetPipelineCommand = GetPipelineCommand;
1449
+ exports.GetPipelineRequest$ = GetPipelineRequest$;
1450
+ exports.GetPipelineResponse$ = GetPipelineResponse$;
1451
+ exports.GetResourcePolicy$ = GetResourcePolicy$;
467
1452
  exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
1453
+ exports.GetResourcePolicyRequest$ = GetResourcePolicyRequest$;
1454
+ exports.GetResourcePolicyResponse$ = GetResourcePolicyResponse$;
1455
+ exports.InternalException = InternalException;
1456
+ exports.InternalException$ = InternalException$;
1457
+ exports.InvalidPaginationTokenException = InvalidPaginationTokenException;
1458
+ exports.InvalidPaginationTokenException$ = InvalidPaginationTokenException$;
1459
+ exports.LimitExceededException = LimitExceededException;
1460
+ exports.LimitExceededException$ = LimitExceededException$;
1461
+ exports.ListPipelineBlueprints$ = ListPipelineBlueprints$;
468
1462
  exports.ListPipelineBlueprintsCommand = ListPipelineBlueprintsCommand;
1463
+ exports.ListPipelineBlueprintsRequest$ = ListPipelineBlueprintsRequest$;
1464
+ exports.ListPipelineBlueprintsResponse$ = ListPipelineBlueprintsResponse$;
1465
+ exports.ListPipelineEndpointConnections$ = ListPipelineEndpointConnections$;
469
1466
  exports.ListPipelineEndpointConnectionsCommand = ListPipelineEndpointConnectionsCommand;
1467
+ exports.ListPipelineEndpointConnectionsRequest$ = ListPipelineEndpointConnectionsRequest$;
1468
+ exports.ListPipelineEndpointConnectionsResponse$ = ListPipelineEndpointConnectionsResponse$;
1469
+ exports.ListPipelineEndpoints$ = ListPipelineEndpoints$;
470
1470
  exports.ListPipelineEndpointsCommand = ListPipelineEndpointsCommand;
1471
+ exports.ListPipelineEndpointsRequest$ = ListPipelineEndpointsRequest$;
1472
+ exports.ListPipelineEndpointsResponse$ = ListPipelineEndpointsResponse$;
1473
+ exports.ListPipelines$ = ListPipelines$;
471
1474
  exports.ListPipelinesCommand = ListPipelinesCommand;
1475
+ exports.ListPipelinesRequest$ = ListPipelinesRequest$;
1476
+ exports.ListPipelinesResponse$ = ListPipelinesResponse$;
1477
+ exports.ListTagsForResource$ = ListTagsForResource$;
472
1478
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1479
+ exports.ListTagsForResourceRequest$ = ListTagsForResourceRequest$;
1480
+ exports.ListTagsForResourceResponse$ = ListTagsForResourceResponse$;
1481
+ exports.LogPublishingOptions$ = LogPublishingOptions$;
473
1482
  exports.OSIS = OSIS;
474
1483
  exports.OSISClient = OSISClient;
1484
+ exports.OSISServiceException = OSISServiceException;
1485
+ exports.OSISServiceException$ = OSISServiceException$;
1486
+ exports.Pipeline$ = Pipeline$;
1487
+ exports.PipelineBlueprint$ = PipelineBlueprint$;
1488
+ exports.PipelineBlueprintSummary$ = PipelineBlueprintSummary$;
1489
+ exports.PipelineDestination$ = PipelineDestination$;
1490
+ exports.PipelineEndpoint$ = PipelineEndpoint$;
1491
+ exports.PipelineEndpointConnection$ = PipelineEndpointConnection$;
475
1492
  exports.PipelineEndpointStatus = PipelineEndpointStatus;
1493
+ exports.PipelineEndpointVpcOptions$ = PipelineEndpointVpcOptions$;
476
1494
  exports.PipelineStatus = PipelineStatus;
1495
+ exports.PipelineStatusReason$ = PipelineStatusReason$;
1496
+ exports.PipelineSummary$ = PipelineSummary$;
1497
+ exports.PutResourcePolicy$ = PutResourcePolicy$;
477
1498
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
1499
+ exports.PutResourcePolicyRequest$ = PutResourcePolicyRequest$;
1500
+ exports.PutResourcePolicyResponse$ = PutResourcePolicyResponse$;
1501
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
1502
+ exports.ResourceAlreadyExistsException$ = ResourceAlreadyExistsException$;
1503
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1504
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1505
+ exports.RevokePipelineEndpointConnections$ = RevokePipelineEndpointConnections$;
478
1506
  exports.RevokePipelineEndpointConnectionsCommand = RevokePipelineEndpointConnectionsCommand;
1507
+ exports.RevokePipelineEndpointConnectionsRequest$ = RevokePipelineEndpointConnectionsRequest$;
1508
+ exports.RevokePipelineEndpointConnectionsResponse$ = RevokePipelineEndpointConnectionsResponse$;
1509
+ exports.ServiceVpcEndpoint$ = ServiceVpcEndpoint$;
1510
+ exports.StartPipeline$ = StartPipeline$;
479
1511
  exports.StartPipelineCommand = StartPipelineCommand;
1512
+ exports.StartPipelineRequest$ = StartPipelineRequest$;
1513
+ exports.StartPipelineResponse$ = StartPipelineResponse$;
1514
+ exports.StopPipeline$ = StopPipeline$;
480
1515
  exports.StopPipelineCommand = StopPipelineCommand;
1516
+ exports.StopPipelineRequest$ = StopPipelineRequest$;
1517
+ exports.StopPipelineResponse$ = StopPipelineResponse$;
1518
+ exports.Tag$ = Tag$;
1519
+ exports.TagResource$ = TagResource$;
481
1520
  exports.TagResourceCommand = TagResourceCommand;
1521
+ exports.TagResourceRequest$ = TagResourceRequest$;
1522
+ exports.TagResourceResponse$ = TagResourceResponse$;
1523
+ exports.UntagResource$ = UntagResource$;
482
1524
  exports.UntagResourceCommand = UntagResourceCommand;
1525
+ exports.UntagResourceRequest$ = UntagResourceRequest$;
1526
+ exports.UntagResourceResponse$ = UntagResourceResponse$;
1527
+ exports.UpdatePipeline$ = UpdatePipeline$;
483
1528
  exports.UpdatePipelineCommand = UpdatePipelineCommand;
1529
+ exports.UpdatePipelineRequest$ = UpdatePipelineRequest$;
1530
+ exports.UpdatePipelineResponse$ = UpdatePipelineResponse$;
1531
+ exports.ValidatePipeline$ = ValidatePipeline$;
484
1532
  exports.ValidatePipelineCommand = ValidatePipelineCommand;
1533
+ exports.ValidatePipelineRequest$ = ValidatePipelineRequest$;
1534
+ exports.ValidatePipelineResponse$ = ValidatePipelineResponse$;
1535
+ exports.ValidationException = ValidationException;
1536
+ exports.ValidationException$ = ValidationException$;
1537
+ exports.ValidationMessage$ = ValidationMessage$;
1538
+ exports.VpcAttachmentOptions$ = VpcAttachmentOptions$;
1539
+ exports.VpcEndpoint$ = VpcEndpoint$;
485
1540
  exports.VpcEndpointManagement = VpcEndpointManagement;
486
1541
  exports.VpcEndpointServiceName = VpcEndpointServiceName;
1542
+ exports.VpcOptions$ = VpcOptions$;
1543
+ exports.errorTypeRegistries = errorTypeRegistries;
487
1544
  exports.paginateListPipelineEndpointConnections = paginateListPipelineEndpointConnections;
488
1545
  exports.paginateListPipelineEndpoints = paginateListPipelineEndpoints;
489
1546
  exports.paginateListPipelines = paginateListPipelines;