@aws-sdk/client-timestream-write 3.194.0 → 3.196.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/CHANGELOG.md +19 -0
- package/dist-cjs/TimestreamWriteClient.js +12 -9
- package/dist-cjs/commands/CreateDatabaseCommand.js +10 -0
- package/dist-cjs/commands/CreateTableCommand.js +10 -0
- package/dist-cjs/commands/DeleteDatabaseCommand.js +10 -0
- package/dist-cjs/commands/DeleteTableCommand.js +10 -0
- package/dist-cjs/commands/DescribeDatabaseCommand.js +10 -0
- package/dist-cjs/commands/DescribeEndpointsCommand.js +10 -0
- package/dist-cjs/commands/DescribeTableCommand.js +10 -0
- package/dist-cjs/commands/ListDatabasesCommand.js +10 -0
- package/dist-cjs/commands/ListTablesCommand.js +10 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-cjs/commands/TagResourceCommand.js +10 -0
- package/dist-cjs/commands/UntagResourceCommand.js +10 -0
- package/dist-cjs/commands/UpdateDatabaseCommand.js +10 -0
- package/dist-cjs/commands/UpdateTableCommand.js +10 -0
- package/dist-cjs/commands/WriteRecordsCommand.js +10 -0
- package/dist-cjs/endpoint/EndpointParameters.js +13 -0
- package/dist-cjs/endpoint/endpointResolver.js +12 -0
- package/dist-cjs/endpoint/ruleset.js +312 -0
- package/dist-cjs/runtimeConfig.shared.js +3 -3
- package/dist-es/TimestreamWriteClient.js +13 -10
- package/dist-es/commands/CreateDatabaseCommand.js +10 -0
- package/dist-es/commands/CreateTableCommand.js +10 -0
- package/dist-es/commands/DeleteDatabaseCommand.js +10 -0
- package/dist-es/commands/DeleteTableCommand.js +10 -0
- package/dist-es/commands/DescribeDatabaseCommand.js +10 -0
- package/dist-es/commands/DescribeEndpointsCommand.js +10 -0
- package/dist-es/commands/DescribeTableCommand.js +10 -0
- package/dist-es/commands/ListDatabasesCommand.js +10 -0
- package/dist-es/commands/ListTablesCommand.js +10 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +10 -0
- package/dist-es/commands/TagResourceCommand.js +10 -0
- package/dist-es/commands/UntagResourceCommand.js +10 -0
- package/dist-es/commands/UpdateDatabaseCommand.js +10 -0
- package/dist-es/commands/UpdateTableCommand.js +10 -0
- package/dist-es/commands/WriteRecordsCommand.js +10 -0
- package/dist-es/endpoint/EndpointParameters.js +8 -0
- package/dist-es/endpoint/endpointResolver.js +8 -0
- package/dist-es/endpoint/ruleset.js +309 -0
- package/dist-es/runtimeConfig.shared.js +2 -2
- package/dist-types/TimestreamWriteClient.d.ts +6 -9
- package/dist-types/commands/CreateDatabaseCommand.d.ts +2 -0
- package/dist-types/commands/CreateTableCommand.d.ts +2 -0
- package/dist-types/commands/DeleteDatabaseCommand.d.ts +2 -0
- package/dist-types/commands/DeleteTableCommand.d.ts +2 -0
- package/dist-types/commands/DescribeDatabaseCommand.d.ts +2 -0
- package/dist-types/commands/DescribeEndpointsCommand.d.ts +2 -0
- package/dist-types/commands/DescribeTableCommand.d.ts +2 -0
- package/dist-types/commands/ListDatabasesCommand.d.ts +2 -0
- package/dist-types/commands/ListTablesCommand.d.ts +2 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/commands/UpdateDatabaseCommand.d.ts +2 -0
- package/dist-types/commands/UpdateTableCommand.d.ts +2 -0
- package/dist-types/commands/WriteRecordsCommand.d.ts +2 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +19 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/runtimeConfig.browser.d.ts +4 -2
- package/dist-types/runtimeConfig.d.ts +4 -2
- package/dist-types/runtimeConfig.native.d.ts +4 -2
- package/dist-types/runtimeConfig.shared.d.ts +3 -1
- package/dist-types/ts3.4/TimestreamWriteClient.d.ts +15 -8
- package/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteDatabaseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeDatabaseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/WriteRecordsCommand.d.ts +2 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +26 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.d.ts +14 -4
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +14 -3
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +6 -1
- package/package.json +5 -3
- package/dist-cjs/endpoints.js +0 -163
- package/dist-es/endpoints.js +0 -159
- package/dist-types/endpoints.d.ts +0 -2
- package/dist-types/ts3.4/endpoints.d.ts +0 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { UpdateTableRequest, UpdateTableResponse } from "../models/models_0";
|
|
@@ -32,6 +33,7 @@ export interface UpdateTableCommandOutput extends UpdateTableResponse, __Metadat
|
|
|
32
33
|
*/
|
|
33
34
|
export declare class UpdateTableCommand extends $Command<UpdateTableCommandInput, UpdateTableCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
34
35
|
readonly input: UpdateTableCommandInput;
|
|
36
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
35
37
|
constructor(input: UpdateTableCommandInput);
|
|
36
38
|
/**
|
|
37
39
|
* @internal
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { WriteRecordsRequest, WriteRecordsResponse } from "../models/models_0";
|
|
@@ -68,6 +69,7 @@ export interface WriteRecordsCommandOutput extends WriteRecordsResponse, __Metad
|
|
|
68
69
|
*/
|
|
69
70
|
export declare class WriteRecordsCommand extends $Command<WriteRecordsCommandInput, WriteRecordsCommandOutput, TimestreamWriteClientResolvedConfig> {
|
|
70
71
|
readonly input: WriteRecordsCommandInput;
|
|
72
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
71
73
|
constructor(input: WriteRecordsCommandInput);
|
|
72
74
|
/**
|
|
73
75
|
* @internal
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EndpointParameters as __EndpointParameters, Provider } from "@aws-sdk/types";
|
|
2
|
+
export interface ClientInputEndpointParameters {
|
|
3
|
+
region?: string | Provider<string>;
|
|
4
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
5
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
6
|
+
endpoint?: string | Provider<string>;
|
|
7
|
+
}
|
|
8
|
+
export declare type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
9
|
+
defaultSigningName: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
|
|
12
|
+
defaultSigningName: string;
|
|
13
|
+
};
|
|
14
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
+
Region?: string;
|
|
16
|
+
UseDualStack?: boolean;
|
|
17
|
+
UseFIPS?: boolean;
|
|
18
|
+
Endpoint?: string;
|
|
19
|
+
}
|
|
@@ -27,8 +27,10 @@ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) =>
|
|
|
27
27
|
disableHostPrefix: boolean;
|
|
28
28
|
logger: import("@aws-sdk/types").Logger;
|
|
29
29
|
serviceId: string;
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
|
|
31
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
33
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
32
34
|
tls?: boolean | undefined;
|
|
33
35
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
34
36
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
@@ -27,8 +27,10 @@ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) =>
|
|
|
27
27
|
disableHostPrefix: boolean;
|
|
28
28
|
logger: import("@aws-sdk/types").Logger;
|
|
29
29
|
serviceId: string;
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
endpoint?: ((string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | import("@aws-sdk/types").EndpointV2 | import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>) & (string | import("@aws-sdk/types").Provider<string>)) | undefined;
|
|
31
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
32
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
33
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
32
34
|
tls?: boolean | undefined;
|
|
33
35
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
34
36
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
@@ -23,11 +23,13 @@ export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) =>
|
|
|
23
23
|
serviceId: string;
|
|
24
24
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
26
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
27
|
endpointDiscoveryEnabledProvider: import("@aws-sdk/types").Provider<boolean | undefined>;
|
|
29
28
|
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
30
|
-
endpoint?: string | import("@aws-sdk/types").Endpoint
|
|
29
|
+
endpoint?: string | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Endpoint & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").EndpointV2 & import("@aws-sdk/types").Provider<string>) | (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> & import("@aws-sdk/types").Provider<string>) | undefined;
|
|
30
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
31
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
31
33
|
tls?: boolean | undefined;
|
|
32
34
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
33
35
|
credentials?: import("@aws-sdk/types").Credentials | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials> | undefined;
|
|
@@ -6,8 +6,10 @@ import { TimestreamWriteClientConfig } from "./TimestreamWriteClient";
|
|
|
6
6
|
export declare const getRuntimeConfig: (config: TimestreamWriteClientConfig) => {
|
|
7
7
|
apiVersion: string;
|
|
8
8
|
disableHostPrefix: boolean;
|
|
9
|
+
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
10
|
+
logger?: __Logger | undefined;
|
|
11
|
+
}) => import("@aws-sdk/types").EndpointV2;
|
|
9
12
|
logger: __Logger;
|
|
10
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
11
13
|
serviceId: string;
|
|
12
14
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
13
15
|
};
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
|
-
EndpointsInputConfig,
|
|
3
|
-
EndpointsResolvedConfig,
|
|
4
2
|
RegionInputConfig,
|
|
5
3
|
RegionResolvedConfig,
|
|
6
4
|
} from "@aws-sdk/config-resolver";
|
|
5
|
+
import {
|
|
6
|
+
EndpointInputConfig,
|
|
7
|
+
EndpointResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-endpoint";
|
|
7
9
|
import {
|
|
8
10
|
EndpointDiscoveryInputConfig,
|
|
9
11
|
EndpointDiscoveryResolvedConfig,
|
|
@@ -41,7 +43,6 @@ import {
|
|
|
41
43
|
Logger as __Logger,
|
|
42
44
|
Provider as __Provider,
|
|
43
45
|
Provider,
|
|
44
|
-
RegionInfoProvider,
|
|
45
46
|
StreamCollector as __StreamCollector,
|
|
46
47
|
UrlParser as __UrlParser,
|
|
47
48
|
UserAgent as __UserAgent,
|
|
@@ -106,6 +107,11 @@ import {
|
|
|
106
107
|
WriteRecordsCommandInput,
|
|
107
108
|
WriteRecordsCommandOutput,
|
|
108
109
|
} from "./commands/WriteRecordsCommand";
|
|
110
|
+
import {
|
|
111
|
+
ClientInputEndpointParameters,
|
|
112
|
+
ClientResolvedEndpointParameters,
|
|
113
|
+
EndpointParameters,
|
|
114
|
+
} from "./endpoint/EndpointParameters";
|
|
109
115
|
export declare type ServiceInputTypes =
|
|
110
116
|
| CreateDatabaseCommandInput
|
|
111
117
|
| CreateTableCommandInput
|
|
@@ -159,7 +165,6 @@ export interface ClientDefaults
|
|
|
159
165
|
serviceId?: string;
|
|
160
166
|
region?: string | __Provider<string>;
|
|
161
167
|
credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
|
|
162
|
-
regionInfoProvider?: RegionInfoProvider;
|
|
163
168
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
164
169
|
endpointDiscoveryEnabledProvider?: __Provider<boolean | undefined>;
|
|
165
170
|
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
@@ -169,24 +174,26 @@ declare type TimestreamWriteClientConfigType = Partial<
|
|
|
169
174
|
> &
|
|
170
175
|
ClientDefaults &
|
|
171
176
|
RegionInputConfig &
|
|
172
|
-
|
|
177
|
+
EndpointInputConfig<EndpointParameters> &
|
|
173
178
|
RetryInputConfig &
|
|
174
179
|
HostHeaderInputConfig &
|
|
175
180
|
AwsAuthInputConfig &
|
|
176
181
|
UserAgentInputConfig &
|
|
177
|
-
EndpointDiscoveryInputConfig
|
|
182
|
+
EndpointDiscoveryInputConfig &
|
|
183
|
+
ClientInputEndpointParameters;
|
|
178
184
|
export interface TimestreamWriteClientConfig
|
|
179
185
|
extends TimestreamWriteClientConfigType {}
|
|
180
186
|
declare type TimestreamWriteClientResolvedConfigType =
|
|
181
187
|
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
182
188
|
Required<ClientDefaults> &
|
|
183
189
|
RegionResolvedConfig &
|
|
184
|
-
|
|
190
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
185
191
|
RetryResolvedConfig &
|
|
186
192
|
HostHeaderResolvedConfig &
|
|
187
193
|
AwsAuthResolvedConfig &
|
|
188
194
|
UserAgentResolvedConfig &
|
|
189
|
-
EndpointDiscoveryResolvedConfig
|
|
195
|
+
EndpointDiscoveryResolvedConfig &
|
|
196
|
+
ClientResolvedEndpointParameters;
|
|
190
197
|
export interface TimestreamWriteClientResolvedConfig
|
|
191
198
|
extends TimestreamWriteClientResolvedConfigType {}
|
|
192
199
|
export declare class TimestreamWriteClient extends __Client<
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class CreateDatabaseCommand extends $Command<
|
|
|
24
25
|
TimestreamWriteClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: CreateDatabaseCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: CreateDatabaseCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -21,6 +22,7 @@ export declare class CreateTableCommand extends $Command<
|
|
|
21
22
|
TimestreamWriteClientResolvedConfig
|
|
22
23
|
> {
|
|
23
24
|
readonly input: CreateTableCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
24
26
|
constructor(input: CreateTableCommandInput);
|
|
25
27
|
resolveMiddleware(
|
|
26
28
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -19,6 +20,7 @@ export declare class DeleteDatabaseCommand extends $Command<
|
|
|
19
20
|
TimestreamWriteClientResolvedConfig
|
|
20
21
|
> {
|
|
21
22
|
readonly input: DeleteDatabaseCommandInput;
|
|
23
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
22
24
|
constructor(input: DeleteDatabaseCommandInput);
|
|
23
25
|
resolveMiddleware(
|
|
24
26
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -19,6 +20,7 @@ export declare class DeleteTableCommand extends $Command<
|
|
|
19
20
|
TimestreamWriteClientResolvedConfig
|
|
20
21
|
> {
|
|
21
22
|
readonly input: DeleteTableCommandInput;
|
|
23
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
22
24
|
constructor(input: DeleteTableCommandInput);
|
|
23
25
|
resolveMiddleware(
|
|
24
26
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class DescribeDatabaseCommand extends $Command<
|
|
|
24
25
|
TimestreamWriteClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: DescribeDatabaseCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: DescribeDatabaseCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class DescribeEndpointsCommand extends $Command<
|
|
|
25
26
|
TimestreamWriteClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: DescribeEndpointsCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: DescribeEndpointsCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class DescribeTableCommand extends $Command<
|
|
|
24
25
|
TimestreamWriteClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: DescribeTableCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: DescribeTableCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class ListDatabasesCommand extends $Command<
|
|
|
24
25
|
TimestreamWriteClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: ListDatabasesCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: ListDatabasesCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -21,6 +22,7 @@ export declare class ListTablesCommand extends $Command<
|
|
|
21
22
|
TimestreamWriteClientResolvedConfig
|
|
22
23
|
> {
|
|
23
24
|
readonly input: ListTablesCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
24
26
|
constructor(input: ListTablesCommandInput);
|
|
25
27
|
resolveMiddleware(
|
|
26
28
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -25,6 +26,7 @@ export declare class ListTagsForResourceCommand extends $Command<
|
|
|
25
26
|
TimestreamWriteClientResolvedConfig
|
|
26
27
|
> {
|
|
27
28
|
readonly input: ListTagsForResourceCommandInput;
|
|
29
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
28
30
|
constructor(input: ListTagsForResourceCommandInput);
|
|
29
31
|
resolveMiddleware(
|
|
30
32
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -21,6 +22,7 @@ export declare class TagResourceCommand extends $Command<
|
|
|
21
22
|
TimestreamWriteClientResolvedConfig
|
|
22
23
|
> {
|
|
23
24
|
readonly input: TagResourceCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
24
26
|
constructor(input: TagResourceCommandInput);
|
|
25
27
|
resolveMiddleware(
|
|
26
28
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class UntagResourceCommand extends $Command<
|
|
|
24
25
|
TimestreamWriteClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: UntagResourceCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: UntagResourceCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -24,6 +25,7 @@ export declare class UpdateDatabaseCommand extends $Command<
|
|
|
24
25
|
TimestreamWriteClientResolvedConfig
|
|
25
26
|
> {
|
|
26
27
|
readonly input: UpdateDatabaseCommandInput;
|
|
28
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
27
29
|
constructor(input: UpdateDatabaseCommandInput);
|
|
28
30
|
resolveMiddleware(
|
|
29
31
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -21,6 +22,7 @@ export declare class UpdateTableCommand extends $Command<
|
|
|
21
22
|
TimestreamWriteClientResolvedConfig
|
|
22
23
|
> {
|
|
23
24
|
readonly input: UpdateTableCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
24
26
|
constructor(input: UpdateTableCommandInput);
|
|
25
27
|
resolveMiddleware(
|
|
26
28
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EndpointParameterInstructions } from "@aws-sdk/middleware-endpoint";
|
|
1
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import {
|
|
3
4
|
Handler,
|
|
@@ -21,6 +22,7 @@ export declare class WriteRecordsCommand extends $Command<
|
|
|
21
22
|
TimestreamWriteClientResolvedConfig
|
|
22
23
|
> {
|
|
23
24
|
readonly input: WriteRecordsCommandInput;
|
|
25
|
+
static getEndpointParameterInstructions(): EndpointParameterInstructions;
|
|
24
26
|
constructor(input: WriteRecordsCommandInput);
|
|
25
27
|
resolveMiddleware(
|
|
26
28
|
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import {
|
|
2
|
+
EndpointParameters as __EndpointParameters,
|
|
3
|
+
Provider,
|
|
4
|
+
} from "@aws-sdk/types";
|
|
5
|
+
export interface ClientInputEndpointParameters {
|
|
6
|
+
region?: string | Provider<string>;
|
|
7
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
8
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
9
|
+
endpoint?: string | Provider<string>;
|
|
10
|
+
}
|
|
11
|
+
export declare type ClientResolvedEndpointParameters =
|
|
12
|
+
ClientInputEndpointParameters & {
|
|
13
|
+
defaultSigningName: string;
|
|
14
|
+
};
|
|
15
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
16
|
+
options: T & ClientInputEndpointParameters
|
|
17
|
+
) => T &
|
|
18
|
+
ClientInputEndpointParameters & {
|
|
19
|
+
defaultSigningName: string;
|
|
20
|
+
};
|
|
21
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
22
|
+
Region?: string;
|
|
23
|
+
UseDualStack?: boolean;
|
|
24
|
+
UseFIPS?: boolean;
|
|
25
|
+
Endpoint?: string;
|
|
26
|
+
}
|
|
@@ -41,12 +41,22 @@ export declare const getRuntimeConfig: (
|
|
|
41
41
|
disableHostPrefix: boolean;
|
|
42
42
|
logger: import("@aws-sdk/types").Logger;
|
|
43
43
|
serviceId: string;
|
|
44
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
45
44
|
endpoint?:
|
|
46
|
-
|
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
| ((
|
|
46
|
+
| string
|
|
47
|
+
| import("@aws-sdk/types").Endpoint
|
|
48
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
49
|
+
| import("@aws-sdk/types").EndpointV2
|
|
50
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
51
|
+
) &
|
|
52
|
+
(string | import("@aws-sdk/types").Provider<string>))
|
|
49
53
|
| undefined;
|
|
54
|
+
endpointProvider: (
|
|
55
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
56
|
+
context?: {
|
|
57
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
58
|
+
}
|
|
59
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
50
60
|
tls?: boolean | undefined;
|
|
51
61
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
52
62
|
credentials?:
|
|
@@ -41,12 +41,22 @@ export declare const getRuntimeConfig: (
|
|
|
41
41
|
disableHostPrefix: boolean;
|
|
42
42
|
logger: import("@aws-sdk/types").Logger;
|
|
43
43
|
serviceId: string;
|
|
44
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
45
44
|
endpoint?:
|
|
46
|
-
|
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
| ((
|
|
46
|
+
| string
|
|
47
|
+
| import("@aws-sdk/types").Endpoint
|
|
48
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint>
|
|
49
|
+
| import("@aws-sdk/types").EndpointV2
|
|
50
|
+
| import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2>
|
|
51
|
+
) &
|
|
52
|
+
(string | import("@aws-sdk/types").Provider<string>))
|
|
49
53
|
| undefined;
|
|
54
|
+
endpointProvider: (
|
|
55
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
56
|
+
context?: {
|
|
57
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
58
|
+
}
|
|
59
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
50
60
|
tls?: boolean | undefined;
|
|
51
61
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
52
62
|
credentials?:
|
|
@@ -31,7 +31,6 @@ export declare const getRuntimeConfig: (
|
|
|
31
31
|
credentialDefaultProvider: (
|
|
32
32
|
input: any
|
|
33
33
|
) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
34
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
35
34
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<
|
|
36
35
|
import("@aws-sdk/types").UserAgent
|
|
37
36
|
>;
|
|
@@ -45,9 +44,21 @@ export declare const getRuntimeConfig: (
|
|
|
45
44
|
>;
|
|
46
45
|
endpoint?:
|
|
47
46
|
| string
|
|
48
|
-
| import("@aws-sdk/types").Endpoint
|
|
49
|
-
|
|
47
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> &
|
|
48
|
+
import("@aws-sdk/types").Provider<string>)
|
|
49
|
+
| (import("@aws-sdk/types").Endpoint &
|
|
50
|
+
import("@aws-sdk/types").Provider<string>)
|
|
51
|
+
| (import("@aws-sdk/types").EndpointV2 &
|
|
52
|
+
import("@aws-sdk/types").Provider<string>)
|
|
53
|
+
| (import("@aws-sdk/types").Provider<import("@aws-sdk/types").EndpointV2> &
|
|
54
|
+
import("@aws-sdk/types").Provider<string>)
|
|
50
55
|
| undefined;
|
|
56
|
+
endpointProvider: (
|
|
57
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
58
|
+
context?: {
|
|
59
|
+
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
60
|
+
}
|
|
61
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
51
62
|
tls?: boolean | undefined;
|
|
52
63
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
53
64
|
credentials?:
|
|
@@ -5,8 +5,13 @@ export declare const getRuntimeConfig: (
|
|
|
5
5
|
) => {
|
|
6
6
|
apiVersion: string;
|
|
7
7
|
disableHostPrefix: boolean;
|
|
8
|
+
endpointProvider: (
|
|
9
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
10
|
+
context?: {
|
|
11
|
+
logger?: __Logger | undefined;
|
|
12
|
+
}
|
|
13
|
+
) => import("@aws-sdk/types").EndpointV2;
|
|
8
14
|
logger: __Logger;
|
|
9
|
-
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
10
15
|
serviceId: string;
|
|
11
16
|
urlParser: import("@aws-sdk/types").UrlParser;
|
|
12
17
|
};
|
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.196.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,13 +19,14 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.196.0",
|
|
23
23
|
"@aws-sdk/config-resolver": "3.193.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.196.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.193.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.193.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.193.0",
|
|
28
28
|
"@aws-sdk/middleware-content-length": "3.193.0",
|
|
29
|
+
"@aws-sdk/middleware-endpoint": "3.193.0",
|
|
29
30
|
"@aws-sdk/middleware-endpoint-discovery": "3.193.0",
|
|
30
31
|
"@aws-sdk/middleware-host-header": "3.193.0",
|
|
31
32
|
"@aws-sdk/middleware-logger": "3.193.0",
|
|
@@ -47,6 +48,7 @@
|
|
|
47
48
|
"@aws-sdk/util-body-length-node": "3.188.0",
|
|
48
49
|
"@aws-sdk/util-defaults-mode-browser": "3.193.0",
|
|
49
50
|
"@aws-sdk/util-defaults-mode-node": "3.193.0",
|
|
51
|
+
"@aws-sdk/util-endpoints": "3.196.0",
|
|
50
52
|
"@aws-sdk/util-user-agent-browser": "3.193.0",
|
|
51
53
|
"@aws-sdk/util-user-agent-node": "3.193.0",
|
|
52
54
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|