@aws-sdk/client-timestream-write 3.1087.0 → 3.1089.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 (40) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/TimestreamWrite.d.ts +66 -83
  3. package/dist-types/ts3.4/TimestreamWriteClient.d.ts +11 -36
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +8 -14
  7. package/dist-types/ts3.4/commands/CreateBatchLoadTaskCommand.d.ts +5 -10
  8. package/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +4 -9
  9. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +3 -5
  10. package/dist-types/ts3.4/commands/DeleteDatabaseCommand.d.ts +2 -2
  11. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +2 -2
  12. package/dist-types/ts3.4/commands/DescribeBatchLoadTaskCommand.d.ts +5 -10
  13. package/dist-types/ts3.4/commands/DescribeDatabaseCommand.d.ts +4 -9
  14. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +4 -9
  15. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +4 -9
  16. package/dist-types/ts3.4/commands/ListBatchLoadTasksCommand.d.ts +4 -9
  17. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +3 -8
  18. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +2 -4
  19. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  20. package/dist-types/ts3.4/commands/ResumeBatchLoadTaskCommand.d.ts +5 -10
  21. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +3 -5
  22. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +4 -9
  23. package/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +4 -9
  24. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +3 -5
  25. package/dist-types/ts3.4/commands/WriteRecordsCommand.d.ts +3 -5
  26. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  27. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  28. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  29. package/dist-types/ts3.4/models/enums.d.ts +6 -12
  30. package/dist-types/ts3.4/models/errors.d.ts +8 -24
  31. package/dist-types/ts3.4/models/models_0.d.ts +1 -3
  32. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  33. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +1 -4
  34. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +11 -28
  35. package/dist-types/ts3.4/runtimeConfig.d.ts +10 -22
  36. package/dist-types/ts3.4/runtimeConfig.native.d.ts +11 -28
  37. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +2 -4
  38. package/dist-types/ts3.4/runtimeExtensions.d.ts +2 -4
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +1 -5
  40. package/package.json +39 -39
@@ -1,8 +1,6 @@
1
1
  import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
2
  import { TimestreamWriteClientConfig } from "./TimestreamWriteClient";
3
- export declare const getRuntimeConfig: (
4
- config: TimestreamWriteClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -10,27 +8,17 @@ export declare const getRuntimeConfig: (
10
8
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
11
9
  credentialDefaultProvider:
12
10
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
13
- | ((
14
- _: unknown
15
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
11
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
16
12
  defaultUserAgentProvider: (
17
- config?: import("@aws-sdk/core/client").PreviouslyResolved
13
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
18
14
  ) => Promise<import("@smithy/types").UserAgent>;
19
- endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<
20
- boolean | undefined
21
- >;
15
+ endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<boolean | undefined>;
22
16
  maxAttempts: number | import("@smithy/types").Provider<number>;
23
17
  region: string | import("@smithy/types").Provider<any>;
24
- requestHandler:
25
- | import("@smithy/core/protocols").HttpHandler<any>
26
- | RequestHandler;
18
+ requestHandler: import("@smithy/core/protocols").HttpHandler<any> | RequestHandler;
27
19
  retryMode: string | import("@smithy/types").Provider<string>;
28
20
  streamCollector: (
29
- stream:
30
- | import("stream").Readable
31
- | import("stream/web").ReadableStream
32
- | ReadableStream
33
- | Blob
21
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
34
22
  ) => Promise<Uint8Array>;
35
23
  useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) &
36
24
  (boolean | import("@smithy/types").Provider<boolean | undefined>);
@@ -58,13 +46,8 @@ export declare const getRuntimeConfig: (
58
46
  logger: import("@smithy/types").Logger;
59
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
60
48
  customUserAgent?: string | import("@smithy/types").UserAgent;
61
- userAgentAppId?:
62
- | string
63
- | undefined
64
- | import("@smithy/types").Provider<string | undefined>;
65
- retryStrategy?:
66
- | import("@smithy/types").RetryStrategy
67
- | import("@smithy/types").RetryStrategyV2;
49
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
50
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
68
51
  endpoint?:
69
52
  | ((
70
53
  | string
@@ -86,7 +69,7 @@ export declare const getRuntimeConfig: (
86
69
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
87
70
  context?: {
88
71
  logger?: import("@smithy/types").Logger;
89
- }
72
+ },
90
73
  ) => import("@smithy/types").EndpointV2;
91
74
  tls?: boolean;
92
75
  serviceConfiguredEndpoint?: never;
@@ -99,14 +82,14 @@ export declare const getRuntimeConfig: (
99
82
  signer?:
100
83
  | import("@smithy/types").RequestSigner
101
84
  | ((
102
- authScheme?: import("@smithy/types").AuthScheme
85
+ authScheme?: import("@smithy/types").AuthScheme,
103
86
  ) => Promise<import("@smithy/types").RequestSigner>);
104
87
  signingEscapePath?: boolean;
105
88
  systemClockOffset?: number;
106
89
  signingRegion?: string;
107
90
  signerConstructor?: new (
108
91
  options: import("@smithy/signature-v4").SignatureV4Init &
109
- import("@smithy/signature-v4").SignatureV4CryptoInit
92
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
110
93
  ) => import("@smithy/types").RequestSigner;
111
94
  endpointCacheSize?: number;
112
95
  endpointDiscoveryEnabled?: boolean | undefined;
@@ -1,8 +1,6 @@
1
1
  import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import { TimestreamWriteClientConfig } from "./TimestreamWriteClient";
3
- export declare const getRuntimeConfig: (
4
- config: TimestreamWriteClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) => {
6
4
  runtime: string;
7
5
  defaultsMode: import("@smithy/types").Provider<
8
6
  import("@smithy/core/client").ResolvedDefaultsMode
@@ -12,26 +10,18 @@ export declare const getRuntimeConfig: (
12
10
  credentialDefaultProvider:
13
11
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
14
12
  | ((
15
- init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit
13
+ init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
16
14
  ) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider);
17
15
  defaultUserAgentProvider: (
18
- config?: import("@aws-sdk/core/client").PreviouslyResolved
16
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
19
17
  ) => Promise<import("@smithy/types").UserAgent>;
20
- endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<
21
- boolean | undefined
22
- >;
18
+ endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<boolean | undefined>;
23
19
  maxAttempts: number | import("@smithy/types").Provider<number>;
24
20
  region: string | import("@smithy/types").Provider<string>;
25
- requestHandler:
26
- | RequestHandler
27
- | import("@smithy/core/protocols").HttpHandler<any>;
21
+ requestHandler: RequestHandler | import("@smithy/core/protocols").HttpHandler<any>;
28
22
  retryMode: string | import("@smithy/types").Provider<string>;
29
23
  streamCollector: (
30
- stream:
31
- | import("stream").Readable
32
- | import("stream/web").ReadableStream
33
- | ReadableStream
34
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
35
25
  ) => Promise<Uint8Array>;
36
26
  useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
37
27
  useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
@@ -58,9 +48,7 @@ export declare const getRuntimeConfig: (
58
48
  logger: import("@smithy/types").Logger;
59
49
  extensions: import("./runtimeExtensions").RuntimeExtension[];
60
50
  customUserAgent?: string | import("@smithy/types").UserAgent;
61
- retryStrategy?:
62
- | import("@smithy/types").RetryStrategy
63
- | import("@smithy/types").RetryStrategyV2;
51
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
64
52
  endpoint?:
65
53
  | ((
66
54
  | string
@@ -82,7 +70,7 @@ export declare const getRuntimeConfig: (
82
70
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
83
71
  context?: {
84
72
  logger?: import("@smithy/types").Logger;
85
- }
73
+ },
86
74
  ) => import("@smithy/types").EndpointV2;
87
75
  tls?: boolean;
88
76
  serviceConfiguredEndpoint?: never;
@@ -94,14 +82,14 @@ export declare const getRuntimeConfig: (
94
82
  signer?:
95
83
  | import("@smithy/types").RequestSigner
96
84
  | ((
97
- authScheme?: import("@smithy/types").AuthScheme
85
+ authScheme?: import("@smithy/types").AuthScheme,
98
86
  ) => Promise<import("@smithy/types").RequestSigner>);
99
87
  signingEscapePath?: boolean;
100
88
  systemClockOffset?: number;
101
89
  signingRegion?: string;
102
90
  signerConstructor?: new (
103
91
  options: import("@smithy/signature-v4").SignatureV4Init &
104
- import("@smithy/signature-v4").SignatureV4CryptoInit
92
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
105
93
  ) => import("@smithy/types").RequestSigner;
106
94
  endpointCacheSize?: number;
107
95
  endpointDiscoveryEnabled?: boolean | undefined;
@@ -1,7 +1,5 @@
1
1
  import { TimestreamWriteClientConfig } from "./TimestreamWriteClient";
2
- export declare const getRuntimeConfig: (
3
- config: TimestreamWriteClientConfig
4
- ) => {
2
+ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) => {
5
3
  runtime: string;
6
4
  requestHandler:
7
5
  | import("@smithy/types").NodeHttpHandlerOptions
@@ -23,11 +21,7 @@ export declare const getRuntimeConfig: (
23
21
  urlParser: import("@smithy/types").UrlParser;
24
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
25
23
  streamCollector: (
26
- stream:
27
- | import("stream").Readable
28
- | import("stream/web").ReadableStream
29
- | ReadableStream
30
- | Blob
24
+ stream: import("stream").Readable | import("stream/web").ReadableStream | ReadableStream | Blob,
31
25
  ) => Promise<Uint8Array>;
32
26
  base64Decoder: import("@smithy/types").Decoder;
33
27
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -42,33 +36,22 @@ export declare const getRuntimeConfig: (
42
36
  region: string | import("@smithy/types").Provider<any>;
43
37
  profile?: string;
44
38
  defaultUserAgentProvider: (
45
- config?: import("@aws-sdk/core/client").PreviouslyResolved
39
+ config?: import("@aws-sdk/core/client").PreviouslyResolved,
46
40
  ) => Promise<import("@smithy/types").UserAgent>;
47
41
  credentialDefaultProvider:
48
42
  | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
49
- | ((
50
- _: unknown
51
- ) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
43
+ | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
52
44
  maxAttempts: number | import("@smithy/types").Provider<number>;
53
45
  retryMode: string | import("@smithy/types").Provider<string>;
54
46
  logger: import("@smithy/types").Logger;
55
47
  extensions: import("./runtimeExtensions").RuntimeExtension[];
56
48
  defaultsMode:
57
49
  | import("@smithy/core/client").DefaultsMode
58
- | import("@smithy/types").Provider<
59
- import("@smithy/core/client").DefaultsMode
60
- >;
61
- endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<
62
- boolean | undefined
63
- >;
50
+ | import("@smithy/types").Provider<import("@smithy/core/client").DefaultsMode>;
51
+ endpointDiscoveryEnabledProvider: import("@smithy/types").Provider<boolean | undefined>;
64
52
  customUserAgent?: string | import("@smithy/types").UserAgent;
65
- userAgentAppId?:
66
- | string
67
- | undefined
68
- | import("@smithy/types").Provider<string | undefined>;
69
- retryStrategy?:
70
- | import("@smithy/types").RetryStrategy
71
- | import("@smithy/types").RetryStrategyV2;
53
+ userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
54
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
72
55
  endpoint?:
73
56
  | ((
74
57
  | string
@@ -90,7 +73,7 @@ export declare const getRuntimeConfig: (
90
73
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
91
74
  context?: {
92
75
  logger?: import("@smithy/types").Logger;
93
- }
76
+ },
94
77
  ) => import("@smithy/types").EndpointV2;
95
78
  tls?: boolean;
96
79
  serviceConfiguredEndpoint?: never;
@@ -103,14 +86,14 @@ export declare const getRuntimeConfig: (
103
86
  signer?:
104
87
  | import("@smithy/types").RequestSigner
105
88
  | ((
106
- authScheme?: import("@smithy/types").AuthScheme
89
+ authScheme?: import("@smithy/types").AuthScheme,
107
90
  ) => Promise<import("@smithy/types").RequestSigner>);
108
91
  signingEscapePath?: boolean;
109
92
  systemClockOffset?: number;
110
93
  signingRegion?: string;
111
94
  signerConstructor?: new (
112
95
  options: import("@smithy/signature-v4").SignatureV4Init &
113
- import("@smithy/signature-v4").SignatureV4CryptoInit
96
+ import("@smithy/signature-v4").SignatureV4CryptoInit,
114
97
  ) => import("@smithy/types").RequestSigner;
115
98
  endpointCacheSize?: number;
116
99
  endpointDiscoveryEnabled?: boolean | undefined;
@@ -1,8 +1,6 @@
1
1
  import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
2
2
  import { TimestreamWriteClientConfig } from "./TimestreamWriteClient";
3
- export declare const getRuntimeConfig: (
4
- config: TimestreamWriteClientConfig
5
- ) => {
3
+ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) => {
6
4
  apiVersion: string;
7
5
  base64Decoder: import("@smithy/types").Decoder;
8
6
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -11,7 +9,7 @@ export declare const getRuntimeConfig: (
11
9
  endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
12
10
  context?: {
13
11
  logger?: import("@smithy/types").Logger;
14
- }
12
+ },
15
13
  ) => import("@smithy/types").EndpointV2;
16
14
  extensions: import("./runtimeExtensions").RuntimeExtension[];
17
15
  httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").TimestreamWriteHttpAuthSchemeProvider;
@@ -1,13 +1,11 @@
1
1
  import { TimestreamWriteExtensionConfiguration } from "./extensionConfiguration";
2
2
  export interface RuntimeExtension {
3
- configure(
4
- extensionConfiguration: TimestreamWriteExtensionConfiguration
5
- ): void;
3
+ configure(extensionConfiguration: TimestreamWriteExtensionConfiguration): void;
6
4
  }
7
5
  export interface RuntimeExtensionsConfig {
8
6
  extensions: RuntimeExtension[];
9
7
  }
10
8
  export declare const resolveRuntimeExtensions: (
11
9
  runtimeConfig: any,
12
- extensions: RuntimeExtension[]
10
+ extensions: RuntimeExtension[],
13
11
  ) => any;
@@ -1,9 +1,5 @@
1
1
  import { TypeRegistry } from "@smithy/core/schema";
2
- import {
3
- StaticErrorSchema,
4
- StaticOperationSchema,
5
- StaticStructureSchema,
6
- } from "@smithy/types";
2
+ import { StaticErrorSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
7
3
  export declare var TimestreamWriteServiceException$: StaticErrorSchema;
8
4
  export declare var AccessDeniedException$: StaticErrorSchema;
9
5
  export declare var ConflictException$: StaticErrorSchema;
package/package.json CHANGED
@@ -1,7 +1,38 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-timestream-write",
3
+ "version": "3.1089.0",
3
4
  "description": "AWS SDK for JavaScript Timestream Write Client for Node.js, Browser and React Native",
4
- "version": "3.1087.0",
5
+ "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-timestream-write",
6
+ "license": "Apache-2.0",
7
+ "author": {
8
+ "name": "AWS SDK for JavaScript Team",
9
+ "url": "https://aws.amazon.com/sdk-for-javascript/"
10
+ },
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "https://github.com/aws/aws-sdk-js-v3.git",
14
+ "directory": "clients/client-timestream-write"
15
+ },
16
+ "files": [
17
+ "dist-*/**"
18
+ ],
19
+ "sideEffects": false,
20
+ "main": "./dist-cjs/index.js",
21
+ "module": "./dist-es/index.js",
22
+ "browser": {
23
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
24
+ },
25
+ "types": "./dist-types/index.d.ts",
26
+ "typesVersions": {
27
+ "<4.5": {
28
+ "dist-types/*": [
29
+ "dist-types/ts3.4/*"
30
+ ]
31
+ }
32
+ },
33
+ "react-native": {
34
+ "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
35
+ },
5
36
  "scripts": {
6
37
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
38
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -14,18 +45,14 @@
14
45
  "generate:client": "node ../../scripts/generate-clients/single-service",
15
46
  "test:index": "tsc --noEmit ./test/index-types.ts && node ./test/index-objects.spec.mjs"
16
47
  },
17
- "main": "./dist-cjs/index.js",
18
- "types": "./dist-types/index.d.ts",
19
- "module": "./dist-es/index.js",
20
- "sideEffects": false,
21
48
  "dependencies": {
22
- "@aws-sdk/core": "^3.975.2",
23
- "@aws-sdk/credential-provider-node": "^3.972.68",
24
- "@aws-sdk/middleware-endpoint-discovery": "^3.972.24",
25
- "@aws-sdk/types": "^3.974.1",
26
- "@smithy/core": "^3.29.3",
27
- "@smithy/fetch-http-handler": "^5.6.5",
28
- "@smithy/node-http-handler": "^4.9.5",
49
+ "@aws-sdk/core": "^3.975.3",
50
+ "@aws-sdk/credential-provider-node": "^3.972.70",
51
+ "@aws-sdk/middleware-endpoint-discovery": "^3.972.25",
52
+ "@aws-sdk/types": "^3.974.2",
53
+ "@smithy/core": "^3.29.4",
54
+ "@smithy/fetch-http-handler": "^5.6.6",
55
+ "@smithy/node-http-handler": "^4.9.6",
29
56
  "@smithy/types": "^4.16.1",
30
57
  "tslib": "^2.6.2"
31
58
  },
@@ -39,32 +66,5 @@
39
66
  },
40
67
  "engines": {
41
68
  "node": ">=20.0.0"
42
- },
43
- "typesVersions": {
44
- "<4.5": {
45
- "dist-types/*": [
46
- "dist-types/ts3.4/*"
47
- ]
48
- }
49
- },
50
- "files": [
51
- "dist-*/**"
52
- ],
53
- "author": {
54
- "name": "AWS SDK for JavaScript Team",
55
- "url": "https://aws.amazon.com/sdk-for-javascript/"
56
- },
57
- "license": "Apache-2.0",
58
- "browser": {
59
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.browser"
60
- },
61
- "react-native": {
62
- "./dist-es/runtimeConfig": "./dist-es/runtimeConfig.native"
63
- },
64
- "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-timestream-write",
65
- "repository": {
66
- "type": "git",
67
- "url": "https://github.com/aws/aws-sdk-js-v3.git",
68
- "directory": "clients/client-timestream-write"
69
69
  }
70
70
  }