@aws-sdk/client-timestream-write 3.1018.0 → 3.1020.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/auth/httpAuthSchemeProvider.js +2 -2
- package/dist-cjs/runtimeConfig.js +4 -3
- package/dist-cjs/runtimeConfig.shared.js +2 -2
- package/dist-es/TimestreamWrite.js +5 -5
- package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/runtimeConfig.shared.js +1 -1
- package/dist-types/TimestreamWrite.d.ts +19 -19
- package/dist-types/TimestreamWriteClient.d.ts +22 -22
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/errors.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +1 -1
- package/dist-types/pagination/ListBatchLoadTasksPaginator.d.ts +1 -1
- package/dist-types/pagination/ListDatabasesPaginator.d.ts +1 -1
- package/dist-types/pagination/ListTablesPaginator.d.ts +1 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/TimestreamWriteClient.d.ts +3 -4
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
- package/package.json +13 -13
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.resolveHttpAuthSchemeConfig = exports.defaultTimestreamWriteHttpAuthSchemeProvider = exports.defaultTimestreamWriteHttpAuthSchemeParametersProvider = void 0;
|
|
4
|
-
const
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const util_middleware_1 = require("@smithy/util-middleware");
|
|
6
6
|
const defaultTimestreamWriteHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
7
7
|
return {
|
|
@@ -38,7 +38,7 @@ const defaultTimestreamWriteHttpAuthSchemeProvider = (authParameters) => {
|
|
|
38
38
|
};
|
|
39
39
|
exports.defaultTimestreamWriteHttpAuthSchemeProvider = defaultTimestreamWriteHttpAuthSchemeProvider;
|
|
40
40
|
const resolveHttpAuthSchemeConfig = (config) => {
|
|
41
|
-
const config_0 = (0,
|
|
41
|
+
const config_0 = (0, httpAuthSchemes_1.resolveAwsSdkSigV4Config)(config);
|
|
42
42
|
return Object.assign(config_0, {
|
|
43
43
|
authSchemePreference: (0, util_middleware_1.normalizeProvider)(config.authSchemePreference ?? []),
|
|
44
44
|
});
|
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
const package_json_1 = tslib_1.__importDefault(require("../package.json"));
|
|
6
|
-
const
|
|
6
|
+
const client_1 = require("@aws-sdk/core/client");
|
|
7
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
7
8
|
const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
|
|
8
9
|
const middleware_endpoint_discovery_1 = require("@aws-sdk/middleware-endpoint-discovery");
|
|
9
10
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
@@ -22,7 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
22
23
|
const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
|
|
23
24
|
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
24
25
|
const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
|
|
25
|
-
(0,
|
|
26
|
+
(0, client_1.emitWarningIfUnsupportedVersion)(process.version);
|
|
26
27
|
const loaderConfig = {
|
|
27
28
|
profile: config?.profile,
|
|
28
29
|
logger: clientSharedValues.logger,
|
|
@@ -32,7 +33,7 @@ const getRuntimeConfig = (config) => {
|
|
|
32
33
|
...config,
|
|
33
34
|
runtime: "node",
|
|
34
35
|
defaultsMode,
|
|
35
|
-
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(
|
|
36
|
+
authSchemePreference: config?.authSchemePreference ?? (0, node_config_provider_1.loadConfig)(httpAuthSchemes_1.NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
36
37
|
bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
|
|
37
38
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
|
|
38
39
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? (0, util_user_agent_node_1.createDefaultUserAgentProvider)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
|
-
const
|
|
4
|
+
const httpAuthSchemes_1 = require("@aws-sdk/core/httpAuthSchemes");
|
|
5
5
|
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
6
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
@@ -23,7 +23,7 @@ const getRuntimeConfig = (config) => {
|
|
|
23
23
|
{
|
|
24
24
|
schemeId: "aws.auth#sigv4",
|
|
25
25
|
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
26
|
-
signer: new
|
|
26
|
+
signer: new httpAuthSchemes_1.AwsSdkSigV4Signer(),
|
|
27
27
|
},
|
|
28
28
|
],
|
|
29
29
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
2
|
import { CreateBatchLoadTaskCommand, } from "./commands/CreateBatchLoadTaskCommand";
|
|
3
3
|
import { CreateDatabaseCommand, } from "./commands/CreateDatabaseCommand";
|
|
4
|
-
import { CreateTableCommand } from "./commands/CreateTableCommand";
|
|
4
|
+
import { CreateTableCommand, } from "./commands/CreateTableCommand";
|
|
5
5
|
import { DeleteDatabaseCommand, } from "./commands/DeleteDatabaseCommand";
|
|
6
|
-
import { DeleteTableCommand } from "./commands/DeleteTableCommand";
|
|
6
|
+
import { DeleteTableCommand, } from "./commands/DeleteTableCommand";
|
|
7
7
|
import { DescribeBatchLoadTaskCommand, } from "./commands/DescribeBatchLoadTaskCommand";
|
|
8
8
|
import { DescribeDatabaseCommand, } from "./commands/DescribeDatabaseCommand";
|
|
9
9
|
import { DescribeEndpointsCommand, } from "./commands/DescribeEndpointsCommand";
|
|
10
10
|
import { DescribeTableCommand, } from "./commands/DescribeTableCommand";
|
|
11
11
|
import { ListBatchLoadTasksCommand, } from "./commands/ListBatchLoadTasksCommand";
|
|
12
12
|
import { ListDatabasesCommand, } from "./commands/ListDatabasesCommand";
|
|
13
|
-
import { ListTablesCommand } from "./commands/ListTablesCommand";
|
|
13
|
+
import { ListTablesCommand, } from "./commands/ListTablesCommand";
|
|
14
14
|
import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
|
|
15
15
|
import { ResumeBatchLoadTaskCommand, } from "./commands/ResumeBatchLoadTaskCommand";
|
|
16
|
-
import { TagResourceCommand } from "./commands/TagResourceCommand";
|
|
16
|
+
import { TagResourceCommand, } from "./commands/TagResourceCommand";
|
|
17
17
|
import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
|
|
18
18
|
import { UpdateDatabaseCommand, } from "./commands/UpdateDatabaseCommand";
|
|
19
|
-
import { UpdateTableCommand } from "./commands/UpdateTableCommand";
|
|
19
|
+
import { UpdateTableCommand, } from "./commands/UpdateTableCommand";
|
|
20
20
|
import { WriteRecordsCommand, } from "./commands/WriteRecordsCommand";
|
|
21
21
|
import { paginateListBatchLoadTasks } from "./pagination/ListBatchLoadTasksPaginator";
|
|
22
22
|
import { paginateListDatabases } from "./pagination/ListDatabasesPaginator";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
|
|
1
|
+
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
3
3
|
export const defaultTimestreamWriteHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
4
|
return {
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { emitWarningIfUnsupportedVersion as awsCheckVersion
|
|
2
|
+
import { emitWarningIfUnsupportedVersion as awsCheckVersion } from "@aws-sdk/core/client";
|
|
3
|
+
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
3
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
4
5
|
import { NODE_ENDPOINT_DISCOVERY_CONFIG_OPTIONS } from "@aws-sdk/middleware-endpoint-discovery";
|
|
5
6
|
import { createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS } from "@aws-sdk/util-user-agent-node";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
1
|
+
import { AwsSdkSigV4Signer } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
3
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
4
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
|
|
2
|
-
import { CreateBatchLoadTaskCommandInput, CreateBatchLoadTaskCommandOutput } from "./commands/CreateBatchLoadTaskCommand";
|
|
3
|
-
import { CreateDatabaseCommandInput, CreateDatabaseCommandOutput } from "./commands/CreateDatabaseCommand";
|
|
4
|
-
import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
|
|
5
|
-
import { DeleteDatabaseCommandInput, DeleteDatabaseCommandOutput } from "./commands/DeleteDatabaseCommand";
|
|
6
|
-
import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
|
|
7
|
-
import { DescribeBatchLoadTaskCommandInput, DescribeBatchLoadTaskCommandOutput } from "./commands/DescribeBatchLoadTaskCommand";
|
|
8
|
-
import { DescribeDatabaseCommandInput, DescribeDatabaseCommandOutput } from "./commands/DescribeDatabaseCommand";
|
|
9
|
-
import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand";
|
|
10
|
-
import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
|
|
11
|
-
import { ListBatchLoadTasksCommandInput, ListBatchLoadTasksCommandOutput } from "./commands/ListBatchLoadTasksCommand";
|
|
12
|
-
import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
|
|
13
|
-
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
14
|
-
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
15
|
-
import { ResumeBatchLoadTaskCommandInput, ResumeBatchLoadTaskCommandOutput } from "./commands/ResumeBatchLoadTaskCommand";
|
|
16
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
17
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
18
|
-
import { UpdateDatabaseCommandInput, UpdateDatabaseCommandOutput } from "./commands/UpdateDatabaseCommand";
|
|
19
|
-
import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
|
|
20
|
-
import { WriteRecordsCommandInput, WriteRecordsCommandOutput } from "./commands/WriteRecordsCommand";
|
|
2
|
+
import { type CreateBatchLoadTaskCommandInput, type CreateBatchLoadTaskCommandOutput } from "./commands/CreateBatchLoadTaskCommand";
|
|
3
|
+
import { type CreateDatabaseCommandInput, type CreateDatabaseCommandOutput } from "./commands/CreateDatabaseCommand";
|
|
4
|
+
import { type CreateTableCommandInput, type CreateTableCommandOutput } from "./commands/CreateTableCommand";
|
|
5
|
+
import { type DeleteDatabaseCommandInput, type DeleteDatabaseCommandOutput } from "./commands/DeleteDatabaseCommand";
|
|
6
|
+
import { type DeleteTableCommandInput, type DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
|
|
7
|
+
import { type DescribeBatchLoadTaskCommandInput, type DescribeBatchLoadTaskCommandOutput } from "./commands/DescribeBatchLoadTaskCommand";
|
|
8
|
+
import { type DescribeDatabaseCommandInput, type DescribeDatabaseCommandOutput } from "./commands/DescribeDatabaseCommand";
|
|
9
|
+
import { type DescribeEndpointsCommandInput, type DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand";
|
|
10
|
+
import { type DescribeTableCommandInput, type DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
|
|
11
|
+
import { type ListBatchLoadTasksCommandInput, type ListBatchLoadTasksCommandOutput } from "./commands/ListBatchLoadTasksCommand";
|
|
12
|
+
import { type ListDatabasesCommandInput, type ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
|
|
13
|
+
import { type ListTablesCommandInput, type ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
14
|
+
import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
15
|
+
import { type ResumeBatchLoadTaskCommandInput, type ResumeBatchLoadTaskCommandOutput } from "./commands/ResumeBatchLoadTaskCommand";
|
|
16
|
+
import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
17
|
+
import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
18
|
+
import { type UpdateDatabaseCommandInput, type UpdateDatabaseCommandOutput } from "./commands/UpdateDatabaseCommand";
|
|
19
|
+
import { type UpdateTableCommandInput, type UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
|
|
20
|
+
import { type WriteRecordsCommandInput, type WriteRecordsCommandOutput } from "./commands/WriteRecordsCommand";
|
|
21
21
|
import { TimestreamWriteClient } from "./TimestreamWriteClient";
|
|
22
22
|
export interface TimestreamWrite {
|
|
23
23
|
/**
|
|
@@ -6,28 +6,28 @@ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/m
|
|
|
6
6
|
import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
7
7
|
import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
8
8
|
import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
|
|
9
|
-
import {
|
|
9
|
+
import type { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
10
10
|
import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
11
|
-
import { CreateBatchLoadTaskCommandInput, CreateBatchLoadTaskCommandOutput } from "./commands/CreateBatchLoadTaskCommand";
|
|
12
|
-
import { CreateDatabaseCommandInput, CreateDatabaseCommandOutput } from "./commands/CreateDatabaseCommand";
|
|
13
|
-
import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
|
|
14
|
-
import { DeleteDatabaseCommandInput, DeleteDatabaseCommandOutput } from "./commands/DeleteDatabaseCommand";
|
|
15
|
-
import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
|
|
16
|
-
import { DescribeBatchLoadTaskCommandInput, DescribeBatchLoadTaskCommandOutput } from "./commands/DescribeBatchLoadTaskCommand";
|
|
17
|
-
import { DescribeDatabaseCommandInput, DescribeDatabaseCommandOutput } from "./commands/DescribeDatabaseCommand";
|
|
18
|
-
import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand";
|
|
19
|
-
import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
|
|
20
|
-
import { ListBatchLoadTasksCommandInput, ListBatchLoadTasksCommandOutput } from "./commands/ListBatchLoadTasksCommand";
|
|
21
|
-
import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
|
|
22
|
-
import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
23
|
-
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
24
|
-
import { ResumeBatchLoadTaskCommandInput, ResumeBatchLoadTaskCommandOutput } from "./commands/ResumeBatchLoadTaskCommand";
|
|
25
|
-
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
26
|
-
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
27
|
-
import { UpdateDatabaseCommandInput, UpdateDatabaseCommandOutput } from "./commands/UpdateDatabaseCommand";
|
|
28
|
-
import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
|
|
29
|
-
import { WriteRecordsCommandInput, WriteRecordsCommandOutput } from "./commands/WriteRecordsCommand";
|
|
30
|
-
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
11
|
+
import type { CreateBatchLoadTaskCommandInput, CreateBatchLoadTaskCommandOutput } from "./commands/CreateBatchLoadTaskCommand";
|
|
12
|
+
import type { CreateDatabaseCommandInput, CreateDatabaseCommandOutput } from "./commands/CreateDatabaseCommand";
|
|
13
|
+
import type { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
|
|
14
|
+
import type { DeleteDatabaseCommandInput, DeleteDatabaseCommandOutput } from "./commands/DeleteDatabaseCommand";
|
|
15
|
+
import type { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
|
|
16
|
+
import type { DescribeBatchLoadTaskCommandInput, DescribeBatchLoadTaskCommandOutput } from "./commands/DescribeBatchLoadTaskCommand";
|
|
17
|
+
import type { DescribeDatabaseCommandInput, DescribeDatabaseCommandOutput } from "./commands/DescribeDatabaseCommand";
|
|
18
|
+
import { type DescribeEndpointsCommandInput, type DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand";
|
|
19
|
+
import type { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
|
|
20
|
+
import type { ListBatchLoadTasksCommandInput, ListBatchLoadTasksCommandOutput } from "./commands/ListBatchLoadTasksCommand";
|
|
21
|
+
import type { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
|
|
22
|
+
import type { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
|
|
23
|
+
import type { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
24
|
+
import type { ResumeBatchLoadTaskCommandInput, ResumeBatchLoadTaskCommandOutput } from "./commands/ResumeBatchLoadTaskCommand";
|
|
25
|
+
import type { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
26
|
+
import type { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
27
|
+
import type { UpdateDatabaseCommandInput, UpdateDatabaseCommandOutput } from "./commands/UpdateDatabaseCommand";
|
|
28
|
+
import type { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
|
|
29
|
+
import type { WriteRecordsCommandInput, WriteRecordsCommandOutput } from "./commands/WriteRecordsCommand";
|
|
30
|
+
import { type ClientInputEndpointParameters, type ClientResolvedEndpointParameters, type EndpointParameters } from "./endpoint/EndpointParameters";
|
|
31
31
|
import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
32
32
|
export { __Client };
|
|
33
33
|
/**
|
|
@@ -136,7 +136,7 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
136
136
|
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
137
137
|
* @internal
|
|
138
138
|
*/
|
|
139
|
-
defaultUserAgentProvider?:
|
|
139
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
140
140
|
/**
|
|
141
141
|
* Default credentials provider; Not available in browser runtime.
|
|
142
142
|
* @deprecated
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import type { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
2
|
import type { TimestreamWriteHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core/httpAuthSchemes";
|
|
2
2
|
import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
|
|
3
3
|
import { type TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
|
|
4
4
|
/**
|
package/dist-types/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
*/
|
|
18
18
|
export * from "./TimestreamWriteClient";
|
|
19
19
|
export * from "./TimestreamWrite";
|
|
20
|
-
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
20
|
+
export type { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
21
21
|
export type { RuntimeExtension } from "./runtimeExtensions";
|
|
22
22
|
export type { TimestreamWriteExtensionConfiguration } from "./extensionConfiguration";
|
|
23
23
|
export * from "./commands";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { RejectedRecord } from "./models_0";
|
|
2
|
+
import type { RejectedRecord } from "./models_0";
|
|
3
3
|
import { TimestreamWriteServiceException as __BaseException } from "./TimestreamWriteServiceException";
|
|
4
4
|
/**
|
|
5
5
|
* <p>You are not authorized to perform this action.</p>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BatchLoadDataFormat, BatchLoadStatus, DimensionValueType, MeasureValueType, PartitionKeyEnforcementLevel, PartitionKeyType, S3EncryptionOption, ScalarMeasureValueType, TableStatus, TimeUnit } from "./enums";
|
|
1
|
+
import type { BatchLoadDataFormat, BatchLoadStatus, DimensionValueType, MeasureValueType, PartitionKeyEnforcementLevel, PartitionKeyType, S3EncryptionOption, ScalarMeasureValueType, TableStatus, TimeUnit } from "./enums";
|
|
2
2
|
/**
|
|
3
3
|
* <p>Details about the progress of a batch load task.</p>
|
|
4
4
|
* @public
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListBatchLoadTasksCommandInput, ListBatchLoadTasksCommandOutput } from "../commands/ListBatchLoadTasksCommand";
|
|
3
|
-
import { TimestreamWritePaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { TimestreamWritePaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "../commands/ListDatabasesCommand";
|
|
3
|
-
import { TimestreamWritePaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { TimestreamWritePaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Paginator } from "@smithy/types";
|
|
2
2
|
import { ListTablesCommandInput, ListTablesCommandOutput } from "../commands/ListTablesCommand";
|
|
3
|
-
import { TimestreamWritePaginationConfiguration } from "./Interfaces";
|
|
3
|
+
import type { TimestreamWritePaginationConfiguration } from "./Interfaces";
|
|
4
4
|
/**
|
|
5
5
|
* @public
|
|
6
6
|
*/
|
|
@@ -19,7 +19,7 @@ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) =>
|
|
|
19
19
|
useDualstackEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
20
20
|
useFipsEndpoint: (boolean | import("@smithy/types").Provider<boolean>) & (boolean | import("@smithy/types").Provider<boolean | undefined>);
|
|
21
21
|
cacheMiddleware?: boolean | undefined;
|
|
22
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
|
|
22
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
|
|
23
23
|
protocolSettings: {
|
|
24
24
|
defaultNamespace?: string;
|
|
25
25
|
[setting: string]: unknown;
|
|
@@ -21,7 +21,7 @@ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) =>
|
|
|
21
21
|
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
22
22
|
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
23
23
|
cacheMiddleware?: boolean | undefined;
|
|
24
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
|
|
24
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
|
|
25
25
|
protocolSettings: {
|
|
26
26
|
defaultNamespace?: string;
|
|
27
27
|
[setting: string]: unknown;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) =>
|
|
|
7
7
|
sha256: import("@smithy/types").HashConstructor;
|
|
8
8
|
requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
|
|
9
9
|
cacheMiddleware?: boolean;
|
|
10
|
-
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core").AwsJson1_0Protocol;
|
|
10
|
+
protocol: import("@smithy/types").ClientProtocol<any, any> | import("@smithy/types").ClientProtocolCtor<any, any> | typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
|
|
11
11
|
protocolSettings: {
|
|
12
12
|
defaultNamespace?: string;
|
|
13
13
|
[setting: string]: unknown;
|
|
@@ -30,6 +30,7 @@ import {
|
|
|
30
30
|
Client as __Client,
|
|
31
31
|
} from "@smithy/smithy-client";
|
|
32
32
|
import {
|
|
33
|
+
AwsCredentialIdentityProvider,
|
|
33
34
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
34
35
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
35
36
|
ChecksumConstructor as __ChecksumConstructor,
|
|
@@ -38,11 +39,9 @@ import {
|
|
|
38
39
|
HashConstructor as __HashConstructor,
|
|
39
40
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
40
41
|
Logger as __Logger,
|
|
42
|
+
Provider as __Provider,
|
|
41
43
|
StreamCollector as __StreamCollector,
|
|
42
44
|
UrlParser as __UrlParser,
|
|
43
|
-
AwsCredentialIdentityProvider,
|
|
44
|
-
Provider,
|
|
45
|
-
Provider as __Provider,
|
|
46
45
|
UserAgent as __UserAgent,
|
|
47
46
|
} from "@smithy/types";
|
|
48
47
|
import {
|
|
@@ -190,7 +189,7 @@ export interface ClientDefaults
|
|
|
190
189
|
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
191
190
|
region?: string | __Provider<string>;
|
|
192
191
|
profile?: string;
|
|
193
|
-
defaultUserAgentProvider?:
|
|
192
|
+
defaultUserAgentProvider?: __Provider<__UserAgent>;
|
|
194
193
|
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
195
194
|
maxAttempts?: number | __Provider<number>;
|
|
196
195
|
retryMode?: string | __Provider<string>;
|
|
@@ -35,7 +35,7 @@ export declare const getRuntimeConfig: (
|
|
|
35
35
|
protocol:
|
|
36
36
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
37
37
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
38
|
-
| typeof import("@aws-sdk/core").AwsJson1_0Protocol;
|
|
38
|
+
| typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
|
|
39
39
|
protocolSettings: {
|
|
40
40
|
defaultNamespace?: string;
|
|
41
41
|
[setting: string]: unknown;
|
|
@@ -35,7 +35,7 @@ export declare const getRuntimeConfig: (
|
|
|
35
35
|
protocol:
|
|
36
36
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
37
37
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
38
|
-
| typeof import("@aws-sdk/core").AwsJson1_0Protocol;
|
|
38
|
+
| typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
|
|
39
39
|
protocolSettings: {
|
|
40
40
|
defaultNamespace?: string;
|
|
41
41
|
[setting: string]: unknown;
|
|
@@ -14,7 +14,7 @@ export declare const getRuntimeConfig: (
|
|
|
14
14
|
protocol:
|
|
15
15
|
| import("@smithy/types").ClientProtocol<any, any>
|
|
16
16
|
| import("@smithy/types").ClientProtocolCtor<any, any>
|
|
17
|
-
| typeof import("@aws-sdk/core").AwsJson1_0Protocol;
|
|
17
|
+
| typeof import("@aws-sdk/core/protocols").AwsJson1_0Protocol;
|
|
18
18
|
protocolSettings: {
|
|
19
19
|
defaultNamespace?: string;
|
|
20
20
|
[setting: string]: unknown;
|
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.
|
|
4
|
+
"version": "3.1020.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-timestream-write",
|
|
@@ -21,39 +21,39 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
24
|
+
"@aws-sdk/core": "^3.973.26",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.28",
|
|
26
26
|
"@aws-sdk/middleware-endpoint-discovery": "^3.972.9",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
28
28
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "^3.972.9",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "^3.972.27",
|
|
31
31
|
"@aws-sdk/region-config-resolver": "^3.972.10",
|
|
32
32
|
"@aws-sdk/types": "^3.973.6",
|
|
33
33
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "^3.973.13",
|
|
36
36
|
"@smithy/config-resolver": "^4.4.13",
|
|
37
|
-
"@smithy/core": "^3.23.
|
|
37
|
+
"@smithy/core": "^3.23.13",
|
|
38
38
|
"@smithy/fetch-http-handler": "^5.3.15",
|
|
39
39
|
"@smithy/hash-node": "^4.2.12",
|
|
40
40
|
"@smithy/invalid-dependency": "^4.2.12",
|
|
41
41
|
"@smithy/middleware-content-length": "^4.2.12",
|
|
42
|
-
"@smithy/middleware-endpoint": "^4.4.
|
|
43
|
-
"@smithy/middleware-retry": "^4.4.
|
|
44
|
-
"@smithy/middleware-serde": "^4.2.
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.4.28",
|
|
43
|
+
"@smithy/middleware-retry": "^4.4.45",
|
|
44
|
+
"@smithy/middleware-serde": "^4.2.16",
|
|
45
45
|
"@smithy/middleware-stack": "^4.2.12",
|
|
46
46
|
"@smithy/node-config-provider": "^4.3.12",
|
|
47
|
-
"@smithy/node-http-handler": "^4.5.
|
|
47
|
+
"@smithy/node-http-handler": "^4.5.1",
|
|
48
48
|
"@smithy/protocol-http": "^5.3.12",
|
|
49
|
-
"@smithy/smithy-client": "^4.12.
|
|
49
|
+
"@smithy/smithy-client": "^4.12.8",
|
|
50
50
|
"@smithy/types": "^4.13.1",
|
|
51
51
|
"@smithy/url-parser": "^4.2.12",
|
|
52
52
|
"@smithy/util-base64": "^4.3.2",
|
|
53
53
|
"@smithy/util-body-length-browser": "^4.2.2",
|
|
54
54
|
"@smithy/util-body-length-node": "^4.2.3",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^4.3.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^4.2.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.3.44",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.2.48",
|
|
57
57
|
"@smithy/util-endpoints": "^3.3.3",
|
|
58
58
|
"@smithy/util-middleware": "^4.2.12",
|
|
59
59
|
"@smithy/util-retry": "^4.2.12",
|