@aws-sdk/client-timestream-write 3.943.0 → 3.946.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/dist-cjs/index.js +9 -92
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/TimestreamWriteClient.js +2 -2
  5. package/dist-es/runtimeConfig.browser.js +2 -2
  6. package/dist-es/runtimeConfig.js +2 -3
  7. package/dist-es/schemas/schemas_0.js +9 -92
  8. package/dist-types/TimestreamWrite.d.ts +1 -1
  9. package/dist-types/TimestreamWriteClient.d.ts +11 -11
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  12. package/dist-types/commands/CreateBatchLoadTaskCommand.d.ts +3 -3
  13. package/dist-types/commands/CreateDatabaseCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateTableCommand.d.ts +3 -3
  15. package/dist-types/commands/DeleteDatabaseCommand.d.ts +3 -3
  16. package/dist-types/commands/DeleteTableCommand.d.ts +3 -3
  17. package/dist-types/commands/DescribeBatchLoadTaskCommand.d.ts +3 -3
  18. package/dist-types/commands/DescribeDatabaseCommand.d.ts +3 -3
  19. package/dist-types/commands/DescribeEndpointsCommand.d.ts +3 -3
  20. package/dist-types/commands/DescribeTableCommand.d.ts +3 -3
  21. package/dist-types/commands/ListBatchLoadTasksCommand.d.ts +3 -3
  22. package/dist-types/commands/ListDatabasesCommand.d.ts +3 -3
  23. package/dist-types/commands/ListTablesCommand.d.ts +3 -3
  24. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  25. package/dist-types/commands/ResumeBatchLoadTaskCommand.d.ts +3 -3
  26. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  27. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  28. package/dist-types/commands/UpdateDatabaseCommand.d.ts +3 -3
  29. package/dist-types/commands/UpdateTableCommand.d.ts +3 -3
  30. package/dist-types/commands/WriteRecordsCommand.d.ts +3 -3
  31. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  32. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  33. package/dist-types/extensionConfiguration.d.ts +4 -4
  34. package/dist-types/models/TimestreamWriteServiceException.d.ts +1 -1
  35. package/dist-types/models/errors.d.ts +1 -1
  36. package/dist-types/pagination/Interfaces.d.ts +1 -1
  37. package/dist-types/pagination/ListBatchLoadTasksPaginator.d.ts +1 -1
  38. package/dist-types/pagination/ListDatabasesPaginator.d.ts +1 -1
  39. package/dist-types/pagination/ListTablesPaginator.d.ts +1 -1
  40. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  41. package/dist-types/runtimeConfig.d.ts +1 -1
  42. package/dist-types/runtimeConfig.native.d.ts +1 -1
  43. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  44. package/dist-types/runtimeExtensions.d.ts +1 -1
  45. package/dist-types/schemas/schemas_0.d.ts +1 -1
  46. package/dist-types/ts3.4/TimestreamWriteClient.d.ts +4 -4
  47. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  48. package/dist-types/ts3.4/models/TimestreamWriteServiceException.d.ts +1 -1
  49. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -356,17 +356,7 @@ const _s = "server";
356
356
  const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.timestreamwrite";
357
357
  const n0 = "com.amazonaws.timestreamwrite";
358
358
  var ClientRequestToken = [0, n0, _CRT, 8, 0];
359
- var AccessDeniedException = [
360
- -3,
361
- n0,
362
- _ADE,
363
- {
364
- [_e]: _c,
365
- [_hE]: 403,
366
- },
367
- [_M],
368
- [0],
369
- ];
359
+ var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
370
360
  schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
371
361
  var BatchLoadProgressReport = [
372
362
  3,
@@ -406,17 +396,7 @@ var BatchLoadTaskDescription = [
406
396
  4,
407
397
  ],
408
398
  ];
409
- var ConflictException = [
410
- -3,
411
- n0,
412
- _CE,
413
- {
414
- [_e]: _c,
415
- [_hE]: 409,
416
- },
417
- [_M],
418
- [0],
419
- ];
399
+ var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
420
400
  schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
421
401
  var CreateBatchLoadTaskRequest = [
422
402
  3,
@@ -494,29 +474,9 @@ var DescribeTableResponse = [3, n0, _DTRes, 0, [_Ta], [() => Table]];
494
474
  var Dimension = [3, n0, _Di, 0, [_N, _V, _DVT], [0, 0, 0]];
495
475
  var DimensionMapping = [3, n0, _DMim, 0, [_SC, _DC], [0, 0]];
496
476
  var Endpoint = [3, n0, _En, 0, [_Ad, _CPIM], [0, 1]];
497
- var InternalServerException = [
498
- -3,
499
- n0,
500
- _ISE,
501
- {
502
- [_e]: _s,
503
- [_hE]: 500,
504
- },
505
- [_M],
506
- [0],
507
- ];
477
+ var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
508
478
  schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
509
- var InvalidEndpointException = [
510
- -3,
511
- n0,
512
- _IEE,
513
- {
514
- [_e]: _c,
515
- [_hE]: 421,
516
- },
517
- [_M],
518
- [0],
519
- ];
479
+ var InvalidEndpointException = [-3, n0, _IEE, { [_e]: _c, [_hE]: 421 }, [_M], [0]];
520
480
  schema.TypeRegistry.for(n0).registerError(InvalidEndpointException, InvalidEndpointException$1);
521
481
  var ListBatchLoadTasksRequest = [3, n0, _LBLTR, 0, [_NT, _MR, _TS], [0, 1, 0]];
522
482
  var ListBatchLoadTasksResponse = [
@@ -582,44 +542,21 @@ var RejectedRecordsException = [
582
542
  -3,
583
543
  n0,
584
544
  _RRE,
585
- {
586
- [_e]: _c,
587
- [_hE]: 419,
588
- },
545
+ { [_e]: _c, [_hE]: 419 },
589
546
  [_M, _RRe],
590
547
  [0, () => RejectedRecords],
591
548
  ];
592
549
  schema.TypeRegistry.for(n0).registerError(RejectedRecordsException, RejectedRecordsException$1);
593
550
  var ReportConfiguration = [3, n0, _RC, 0, [_RSC], [() => ReportS3Configuration]];
594
551
  var ReportS3Configuration = [3, n0, _RSC, 0, [_BN, _OKP, _EO, _KKI], [0, 0, 0, 0]];
595
- var ResourceNotFoundException = [
596
- -3,
597
- n0,
598
- _RNFE,
599
- {
600
- [_e]: _c,
601
- [_hE]: 404,
602
- },
603
- [_M],
604
- [0],
605
- ];
552
+ var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
606
553
  schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
607
554
  var ResumeBatchLoadTaskRequest = [3, n0, _RBLTR, 0, [_TI], [0]];
608
555
  var ResumeBatchLoadTaskResponse = [3, n0, _RBLTRe, 0, [], []];
609
556
  var RetentionProperties = [3, n0, _RPe, 0, [_MSRPIH, _MSRPID], [1, 1]];
610
557
  var S3Configuration = [3, n0, _SCo, 0, [_BN, _OKP, _EO, _KKI], [0, 0, 0, 0]];
611
558
  var Schema = [3, n0, _S, 0, [_CPK], [() => PartitionKeyList]];
612
- var ServiceQuotaExceededException = [
613
- -3,
614
- n0,
615
- _SQEE,
616
- {
617
- [_e]: _c,
618
- [_hE]: 402,
619
- },
620
- [_M],
621
- [0],
622
- ];
559
+ var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
623
560
  schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
624
561
  var Table = [
625
562
  3,
@@ -632,17 +569,7 @@ var Table = [
632
569
  var Tag = [3, n0, _Tag, 0, [_K, _V], [0, 0]];
633
570
  var TagResourceRequest = [3, n0, _TRR, 0, [_RARN, _T], [0, () => TagList]];
634
571
  var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
635
- var ThrottlingException = [
636
- -3,
637
- n0,
638
- _TE,
639
- {
640
- [_e]: _c,
641
- [_hE]: 429,
642
- },
643
- [_M],
644
- [0],
645
- ];
572
+ var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
646
573
  schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
647
574
  var UntagResourceRequest = [3, n0, _URR, 0, [_RARN, _TK], [0, 64 | 0]];
648
575
  var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -657,17 +584,7 @@ var UpdateTableRequest = [
657
584
  [0, 0, () => RetentionProperties, () => MagneticStoreWriteProperties, () => Schema],
658
585
  ];
659
586
  var UpdateTableResponse = [3, n0, _UTRp, 0, [_Ta], [() => Table]];
660
- var ValidationException = [
661
- -3,
662
- n0,
663
- _VE,
664
- {
665
- [_e]: _c,
666
- [_hE]: 400,
667
- },
668
- [_M],
669
- [0],
670
- ];
587
+ var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
671
588
  schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
672
589
  var WriteRecordsRequest = [
673
590
  3,
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
8
  const config_resolver_1 = require("@smithy/config-resolver");
9
9
  const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
10
  const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const smithy_client_1 = require("@smithy/smithy-client");
11
12
  const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
13
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
12
14
  const util_retry_1 = require("@smithy/util-retry");
13
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
- const smithy_client_1 = require("@smithy/smithy-client");
15
- const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
16
  const getRuntimeConfig = (config) => {
17
17
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
18
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -12,14 +12,13 @@ const hash_node_1 = require("@smithy/hash-node");
12
12
  const middleware_retry_1 = require("@smithy/middleware-retry");
13
13
  const node_config_provider_1 = require("@smithy/node-config-provider");
14
14
  const node_http_handler_1 = require("@smithy/node-http-handler");
15
+ const smithy_client_1 = require("@smithy/smithy-client");
15
16
  const util_body_length_node_1 = require("@smithy/util-body-length-node");
17
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
16
18
  const util_retry_1 = require("@smithy/util-retry");
17
19
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
- const smithy_client_1 = require("@smithy/smithy-client");
19
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
20
- const smithy_client_2 = require("@smithy/smithy-client");
21
20
  const getRuntimeConfig = (config) => {
22
- (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
21
+ (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
23
22
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
24
23
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
25
24
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -7,8 +7,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
7
7
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
8
8
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
9
9
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
10
- import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
11
- import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
10
+ import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
11
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
12
12
  import { Client as __Client, } from "@smithy/smithy-client";
13
13
  import { defaultTimestreamWriteHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
14
14
  import { DescribeEndpointsCommand, } from "./commands/DescribeEndpointsCommand";
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
5
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
6
  import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
7
8
  import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
8
10
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -8,12 +8,11 @@ import { Hash } from "@smithy/hash-node";
8
8
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
9
9
  import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
10
10
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
11
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
12
  import { calculateBodyLength } from "@smithy/util-body-length-node";
13
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
12
14
  import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
13
15
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
14
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
15
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
16
- import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
17
16
  export const getRuntimeConfig = (config) => {
18
17
  emitWarningIfUnsupportedVersion(process.version);
19
18
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -190,17 +190,7 @@ import { TypeRegistry } from "@smithy/core/schema";
190
190
  import { AccessDeniedException as __AccessDeniedException, ConflictException as __ConflictException, InternalServerException as __InternalServerException, InvalidEndpointException as __InvalidEndpointException, RejectedRecordsException as __RejectedRecordsException, ResourceNotFoundException as __ResourceNotFoundException, ServiceQuotaExceededException as __ServiceQuotaExceededException, ThrottlingException as __ThrottlingException, ValidationException as __ValidationException, } from "../models/errors";
191
191
  import { TimestreamWriteServiceException as __TimestreamWriteServiceException } from "../models/TimestreamWriteServiceException";
192
192
  export var ClientRequestToken = [0, n0, _CRT, 8, 0];
193
- export var AccessDeniedException = [
194
- -3,
195
- n0,
196
- _ADE,
197
- {
198
- [_e]: _c,
199
- [_hE]: 403,
200
- },
201
- [_M],
202
- [0],
203
- ];
193
+ export var AccessDeniedException = [-3, n0, _ADE, { [_e]: _c, [_hE]: 403 }, [_M], [0]];
204
194
  TypeRegistry.for(n0).registerError(AccessDeniedException, __AccessDeniedException);
205
195
  export var BatchLoadProgressReport = [
206
196
  3,
@@ -240,17 +230,7 @@ export var BatchLoadTaskDescription = [
240
230
  4,
241
231
  ],
242
232
  ];
243
- export var ConflictException = [
244
- -3,
245
- n0,
246
- _CE,
247
- {
248
- [_e]: _c,
249
- [_hE]: 409,
250
- },
251
- [_M],
252
- [0],
253
- ];
233
+ export var ConflictException = [-3, n0, _CE, { [_e]: _c, [_hE]: 409 }, [_M], [0]];
254
234
  TypeRegistry.for(n0).registerError(ConflictException, __ConflictException);
255
235
  export var CreateBatchLoadTaskRequest = [
256
236
  3,
@@ -328,29 +308,9 @@ export var DescribeTableResponse = [3, n0, _DTRes, 0, [_Ta], [() => Table]];
328
308
  export var Dimension = [3, n0, _Di, 0, [_N, _V, _DVT], [0, 0, 0]];
329
309
  export var DimensionMapping = [3, n0, _DMim, 0, [_SC, _DC], [0, 0]];
330
310
  export var Endpoint = [3, n0, _En, 0, [_Ad, _CPIM], [0, 1]];
331
- export var InternalServerException = [
332
- -3,
333
- n0,
334
- _ISE,
335
- {
336
- [_e]: _s,
337
- [_hE]: 500,
338
- },
339
- [_M],
340
- [0],
341
- ];
311
+ export var InternalServerException = [-3, n0, _ISE, { [_e]: _s, [_hE]: 500 }, [_M], [0]];
342
312
  TypeRegistry.for(n0).registerError(InternalServerException, __InternalServerException);
343
- export var InvalidEndpointException = [
344
- -3,
345
- n0,
346
- _IEE,
347
- {
348
- [_e]: _c,
349
- [_hE]: 421,
350
- },
351
- [_M],
352
- [0],
353
- ];
313
+ export var InvalidEndpointException = [-3, n0, _IEE, { [_e]: _c, [_hE]: 421 }, [_M], [0]];
354
314
  TypeRegistry.for(n0).registerError(InvalidEndpointException, __InvalidEndpointException);
355
315
  export var ListBatchLoadTasksRequest = [3, n0, _LBLTR, 0, [_NT, _MR, _TS], [0, 1, 0]];
356
316
  export var ListBatchLoadTasksResponse = [
@@ -416,44 +376,21 @@ export var RejectedRecordsException = [
416
376
  -3,
417
377
  n0,
418
378
  _RRE,
419
- {
420
- [_e]: _c,
421
- [_hE]: 419,
422
- },
379
+ { [_e]: _c, [_hE]: 419 },
423
380
  [_M, _RRe],
424
381
  [0, () => RejectedRecords],
425
382
  ];
426
383
  TypeRegistry.for(n0).registerError(RejectedRecordsException, __RejectedRecordsException);
427
384
  export var ReportConfiguration = [3, n0, _RC, 0, [_RSC], [() => ReportS3Configuration]];
428
385
  export var ReportS3Configuration = [3, n0, _RSC, 0, [_BN, _OKP, _EO, _KKI], [0, 0, 0, 0]];
429
- export var ResourceNotFoundException = [
430
- -3,
431
- n0,
432
- _RNFE,
433
- {
434
- [_e]: _c,
435
- [_hE]: 404,
436
- },
437
- [_M],
438
- [0],
439
- ];
386
+ export var ResourceNotFoundException = [-3, n0, _RNFE, { [_e]: _c, [_hE]: 404 }, [_M], [0]];
440
387
  TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
441
388
  export var ResumeBatchLoadTaskRequest = [3, n0, _RBLTR, 0, [_TI], [0]];
442
389
  export var ResumeBatchLoadTaskResponse = [3, n0, _RBLTRe, 0, [], []];
443
390
  export var RetentionProperties = [3, n0, _RPe, 0, [_MSRPIH, _MSRPID], [1, 1]];
444
391
  export var S3Configuration = [3, n0, _SCo, 0, [_BN, _OKP, _EO, _KKI], [0, 0, 0, 0]];
445
392
  export var Schema = [3, n0, _S, 0, [_CPK], [() => PartitionKeyList]];
446
- export var ServiceQuotaExceededException = [
447
- -3,
448
- n0,
449
- _SQEE,
450
- {
451
- [_e]: _c,
452
- [_hE]: 402,
453
- },
454
- [_M],
455
- [0],
456
- ];
393
+ export var ServiceQuotaExceededException = [-3, n0, _SQEE, { [_e]: _c, [_hE]: 402 }, [_M], [0]];
457
394
  TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, __ServiceQuotaExceededException);
458
395
  export var Table = [
459
396
  3,
@@ -466,17 +403,7 @@ export var Table = [
466
403
  export var Tag = [3, n0, _Tag, 0, [_K, _V], [0, 0]];
467
404
  export var TagResourceRequest = [3, n0, _TRR, 0, [_RARN, _T], [0, () => TagList]];
468
405
  export var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
469
- export var ThrottlingException = [
470
- -3,
471
- n0,
472
- _TE,
473
- {
474
- [_e]: _c,
475
- [_hE]: 429,
476
- },
477
- [_M],
478
- [0],
479
- ];
406
+ export var ThrottlingException = [-3, n0, _TE, { [_e]: _c, [_hE]: 429 }, [_M], [0]];
480
407
  TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
481
408
  export var UntagResourceRequest = [3, n0, _URR, 0, [_RARN, _TK], [0, 64 | 0]];
482
409
  export var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
@@ -491,17 +418,7 @@ export var UpdateTableRequest = [
491
418
  [0, 0, () => RetentionProperties, () => MagneticStoreWriteProperties, () => Schema],
492
419
  ];
493
420
  export var UpdateTableResponse = [3, n0, _UTRp, 0, [_Ta], [() => Table]];
494
- export var ValidationException = [
495
- -3,
496
- n0,
497
- _VE,
498
- {
499
- [_e]: _c,
500
- [_hE]: 400,
501
- },
502
- [_M],
503
- [0],
504
- ];
421
+ export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
505
422
  TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
506
423
  export var WriteRecordsRequest = [
507
424
  3,
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { CreateBatchLoadTaskCommandInput, CreateBatchLoadTaskCommandOutput } from "./commands/CreateBatchLoadTaskCommand";
3
3
  import { CreateDatabaseCommandInput, CreateDatabaseCommandOutput } from "./commands/CreateDatabaseCommand";
4
4
  import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
@@ -1,13 +1,13 @@
1
- import { EndpointDiscoveryInputConfig, EndpointDiscoveryResolvedConfig } from "@aws-sdk/middleware-endpoint-discovery";
2
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
4
- import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
5
- import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
6
- import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
7
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
8
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
9
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
10
- import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
1
+ import { type EndpointDiscoveryInputConfig, type EndpointDiscoveryResolvedConfig } from "@aws-sdk/middleware-endpoint-discovery";
2
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
3
+ import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
4
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
5
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
6
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
7
+ import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
8
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
9
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider as __Provider, Provider, UserAgent as __UserAgent } from "@smithy/types";
10
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
11
11
  import { CreateBatchLoadTaskCommandInput, CreateBatchLoadTaskCommandOutput } from "./commands/CreateBatchLoadTaskCommand";
12
12
  import { CreateDatabaseCommandInput, CreateDatabaseCommandOutput } from "./commands/CreateDatabaseCommand";
13
13
  import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
@@ -28,7 +28,7 @@ import { UpdateDatabaseCommandInput, UpdateDatabaseCommandOutput } from "./comma
28
28
  import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
29
29
  import { WriteRecordsCommandInput, WriteRecordsCommandOutput } from "./commands/WriteRecordsCommand";
30
30
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
31
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
31
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
32
32
  export { __Client };
33
33
  /**
34
34
  * @public
@@ -1,5 +1,5 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
- import { TimestreamWriteHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { TimestreamWriteHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
- import { TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
4
4
  /**
5
5
  * @internal
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CreateBatchLoadTaskRequest, CreateBatchLoadTaskResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateBatchLoadTaskRequest, CreateBatchLoadTaskResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CreateDatabaseRequest, CreateDatabaseResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateDatabaseRequest, CreateDatabaseResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CreateTableRequest, CreateTableResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateTableRequest, CreateTableResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DeleteDatabaseRequest } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteDatabaseRequest } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DeleteTableRequest } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DeleteTableRequest } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DescribeBatchLoadTaskRequest, DescribeBatchLoadTaskResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeBatchLoadTaskRequest, DescribeBatchLoadTaskResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DescribeDatabaseRequest, DescribeDatabaseResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeDatabaseRequest, DescribeDatabaseResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DescribeEndpointsRequest, DescribeEndpointsResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeEndpointsRequest, DescribeEndpointsResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListBatchLoadTasksRequest, ListBatchLoadTasksResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListBatchLoadTasksRequest, ListBatchLoadTasksResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListTablesRequest, ListTablesResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { ResumeBatchLoadTaskRequest, ResumeBatchLoadTaskResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { ResumeBatchLoadTaskRequest, ResumeBatchLoadTaskResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UpdateDatabaseRequest, UpdateDatabaseResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateDatabaseRequest, UpdateDatabaseResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { UpdateTableRequest, UpdateTableResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { UpdateTableRequest, UpdateTableResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { WriteRecordsRequest, WriteRecordsResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { WriteRecordsRequest, WriteRecordsResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,4 +1,4 @@
1
- import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
1
+ import type { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -8,10 +8,19 @@ export interface ClientInputEndpointParameters {
8
8
  useFipsEndpoint?: boolean | undefined | Provider<boolean | undefined>;
9
9
  endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
10
  }
11
+ /**
12
+ * @public
13
+ */
11
14
  export type ClientResolvedEndpointParameters = Omit<ClientInputEndpointParameters, "endpoint"> & {
12
15
  defaultSigningName: string;
13
16
  };
17
+ /**
18
+ * @internal
19
+ */
14
20
  export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientResolvedEndpointParameters;
21
+ /**
22
+ * @internal
23
+ */
15
24
  export declare const commonParams: {
16
25
  readonly UseFIPS: {
17
26
  readonly type: "builtInParams";
@@ -30,6 +39,9 @@ export declare const commonParams: {
30
39
  readonly name: "useDualstackEndpoint";
31
40
  };
32
41
  };
42
+ /**
43
+ * @internal
44
+ */
33
45
  export interface EndpointParameters extends __EndpointParameters {
34
46
  Region?: string | undefined;
35
47
  UseDualStack?: boolean | undefined;
@@ -1,5 +1,8 @@
1
- import { EndpointV2, Logger } from "@smithy/types";
2
- import { EndpointParameters } from "./EndpointParameters";
1
+ import type { EndpointV2, Logger } from "@smithy/types";
2
+ import type { EndpointParameters } from "./EndpointParameters";
3
+ /**
4
+ * @internal
5
+ */
3
6
  export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
7
  logger?: Logger;
5
8
  }) => EndpointV2;
@@ -1,7 +1,7 @@
1
- import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
- import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
- import { DefaultExtensionConfiguration } from "@smithy/types";
4
- import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
1
+ import type { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import type { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import type { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import type { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
5
  /**
6
6
  * @internal
7
7
  */
@@ -1,4 +1,4 @@
1
- import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
1
+ import { type ServiceExceptionOptions as __ServiceExceptionOptions, ServiceException as __ServiceException } from "@smithy/smithy-client";
2
2
  export type { __ServiceExceptionOptions };
3
3
  export { __ServiceException };
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
1
+ import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { RejectedRecord } from "./models_0";
3
3
  import { TimestreamWriteServiceException as __BaseException } from "./TimestreamWriteServiceException";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { PaginationConfiguration } from "@smithy/types";
1
+ import type { PaginationConfiguration } from "@smithy/types";
2
2
  import { TimestreamWriteClient } from "../TimestreamWriteClient";
3
3
  /**
4
4
  * @public
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListBatchLoadTasksCommandInput, ListBatchLoadTasksCommandOutput } from "../commands/ListBatchLoadTasksCommand";
3
3
  import { TimestreamWritePaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "../commands/ListDatabasesCommand";
3
3
  import { TimestreamWritePaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { Paginator } from "@smithy/types";
1
+ import type { Paginator } from "@smithy/types";
2
2
  import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
3
3
  import { TimestreamWritePaginationConfiguration } from "./Interfaces";
4
4
  /**
@@ -1,5 +1,5 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
- import { TimestreamWriteClientConfig } from "./TimestreamWriteClient";
2
+ import type { TimestreamWriteClientConfig } from "./TimestreamWriteClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
- import { TimestreamWriteClientConfig } from "./TimestreamWriteClient";
2
+ import type { TimestreamWriteClientConfig } from "./TimestreamWriteClient";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,4 +1,4 @@
1
- import { TimestreamWriteClientConfig } from "./TimestreamWriteClient";
1
+ import type { TimestreamWriteClientConfig } from "./TimestreamWriteClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { TimestreamWriteClientConfig } from "./TimestreamWriteClient";
1
+ import type { TimestreamWriteClientConfig } from "./TimestreamWriteClient";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,4 +1,4 @@
1
- import { TimestreamWriteExtensionConfiguration } from "./extensionConfiguration";
1
+ import type { TimestreamWriteExtensionConfiguration } from "./extensionConfiguration";
2
2
  /**
3
3
  * @public
4
4
  */
@@ -1,4 +1,4 @@
1
- import { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
1
+ import type { StaticErrorSchema, StaticListSchema, StaticOperationSchema, StaticSimpleSchema, StaticStructureSchema } from "@smithy/types";
2
2
  export declare var ClientRequestToken: StaticSimpleSchema;
3
3
  export declare var AccessDeniedException: StaticErrorSchema;
4
4
  export declare var BatchLoadProgressReport: StaticStructureSchema;
@@ -24,13 +24,12 @@ import {
24
24
  } from "@smithy/middleware-retry";
25
25
  import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
26
26
  import {
27
- Client as __Client,
28
27
  DefaultsMode as __DefaultsMode,
29
28
  SmithyConfiguration as __SmithyConfiguration,
30
29
  SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
30
+ Client as __Client,
31
31
  } from "@smithy/smithy-client";
32
32
  import {
33
- AwsCredentialIdentityProvider,
34
33
  BodyLengthCalculator as __BodyLengthCalculator,
35
34
  CheckOptionalClientConfig as __CheckOptionalClientConfig,
36
35
  ChecksumConstructor as __ChecksumConstructor,
@@ -42,10 +41,11 @@ import {
42
41
  HttpRequest,
43
42
  HttpResponse,
44
43
  Logger as __Logger,
45
- Provider as __Provider,
46
- Provider,
47
44
  StreamCollector as __StreamCollector,
48
45
  UrlParser as __UrlParser,
46
+ AwsCredentialIdentityProvider,
47
+ Provider as __Provider,
48
+ Provider,
49
49
  UserAgent as __UserAgent,
50
50
  } from "@smithy/types";
51
51
  import {
@@ -1,7 +1,7 @@
1
1
  import {
2
+ HttpAuthScheme,
2
3
  AwsCredentialIdentity,
3
4
  AwsCredentialIdentityProvider,
4
- HttpAuthScheme,
5
5
  } from "@smithy/types";
6
6
  import { TimestreamWriteHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
7
  export interface HttpAuthExtensionConfiguration {
@@ -1,6 +1,6 @@
1
1
  import {
2
- ServiceException as __ServiceException,
3
2
  ServiceExceptionOptions as __ServiceExceptionOptions,
3
+ ServiceException as __ServiceException,
4
4
  } from "@smithy/smithy-client";
5
5
  export { __ServiceExceptionOptions };
6
6
  export { __ServiceException };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-timestream-write",
3
3
  "description": "AWS SDK for JavaScript Timestream Write Client for Node.js, Browser and React Native",
4
- "version": "3.943.0",
4
+ "version": "3.946.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-timestream-write",
@@ -11,7 +11,8 @@
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
12
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
13
13
  "extract:docs": "api-extractor run --local",
14
- "generate:client": "node ../../scripts/generate-clients/single-service --solo timestream-write"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo timestream-write",
15
+ "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
15
16
  },
16
17
  "main": "./dist-cjs/index.js",
17
18
  "types": "./dist-types/index.d.ts",
@@ -20,39 +21,39 @@
20
21
  "dependencies": {
21
22
  "@aws-crypto/sha256-browser": "5.2.0",
22
23
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.943.0",
24
- "@aws-sdk/credential-provider-node": "3.943.0",
24
+ "@aws-sdk/core": "3.946.0",
25
+ "@aws-sdk/credential-provider-node": "3.946.0",
25
26
  "@aws-sdk/middleware-endpoint-discovery": "3.936.0",
26
27
  "@aws-sdk/middleware-host-header": "3.936.0",
27
28
  "@aws-sdk/middleware-logger": "3.936.0",
28
29
  "@aws-sdk/middleware-recursion-detection": "3.936.0",
29
- "@aws-sdk/middleware-user-agent": "3.943.0",
30
+ "@aws-sdk/middleware-user-agent": "3.946.0",
30
31
  "@aws-sdk/region-config-resolver": "3.936.0",
31
32
  "@aws-sdk/types": "3.936.0",
32
33
  "@aws-sdk/util-endpoints": "3.936.0",
33
34
  "@aws-sdk/util-user-agent-browser": "3.936.0",
34
- "@aws-sdk/util-user-agent-node": "3.943.0",
35
+ "@aws-sdk/util-user-agent-node": "3.946.0",
35
36
  "@smithy/config-resolver": "^4.4.3",
36
- "@smithy/core": "^3.18.5",
37
+ "@smithy/core": "^3.18.7",
37
38
  "@smithy/fetch-http-handler": "^5.3.6",
38
39
  "@smithy/hash-node": "^4.2.5",
39
40
  "@smithy/invalid-dependency": "^4.2.5",
40
41
  "@smithy/middleware-content-length": "^4.2.5",
41
- "@smithy/middleware-endpoint": "^4.3.12",
42
- "@smithy/middleware-retry": "^4.4.12",
42
+ "@smithy/middleware-endpoint": "^4.3.14",
43
+ "@smithy/middleware-retry": "^4.4.14",
43
44
  "@smithy/middleware-serde": "^4.2.6",
44
45
  "@smithy/middleware-stack": "^4.2.5",
45
46
  "@smithy/node-config-provider": "^4.3.5",
46
47
  "@smithy/node-http-handler": "^4.4.5",
47
48
  "@smithy/protocol-http": "^5.3.5",
48
- "@smithy/smithy-client": "^4.9.8",
49
+ "@smithy/smithy-client": "^4.9.10",
49
50
  "@smithy/types": "^4.9.0",
50
51
  "@smithy/url-parser": "^4.2.5",
51
52
  "@smithy/util-base64": "^4.3.0",
52
53
  "@smithy/util-body-length-browser": "^4.2.0",
53
54
  "@smithy/util-body-length-node": "^4.2.1",
54
- "@smithy/util-defaults-mode-browser": "^4.3.11",
55
- "@smithy/util-defaults-mode-node": "^4.2.14",
55
+ "@smithy/util-defaults-mode-browser": "^4.3.13",
56
+ "@smithy/util-defaults-mode-node": "^4.2.16",
56
57
  "@smithy/util-endpoints": "^3.2.5",
57
58
  "@smithy/util-middleware": "^4.2.5",
58
59
  "@smithy/util-retry": "^4.2.5",