@aws-sdk/client-timestream-write 3.50.0 → 3.53.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 (45) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/TimestreamWriteServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +130 -1
  5. package/dist-cjs/protocols/Aws_json1_0.js +186 -722
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/TimestreamWriteServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +120 -1
  9. package/dist-es/protocols/Aws_json1_0.js +394 -765
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/TimestreamWriteServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +65 -28
  13. package/dist-types/ts3.4/TimestreamWrite.d.ts +80 -0
  14. package/dist-types/ts3.4/TimestreamWriteClient.d.ts +91 -0
  15. package/dist-types/ts3.4/commands/CreateDatabaseCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CreateTableCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/DeleteDatabaseCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/DeleteTableCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/DescribeDatabaseCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DescribeEndpointsCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DescribeTableCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/ListDatabasesCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/ListTablesCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/UpdateDatabaseCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/UpdateTableCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/WriteRecordsCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/index.d.ts +15 -0
  31. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  32. package/dist-types/ts3.4/index.d.ts +6 -0
  33. package/dist-types/ts3.4/models/TimestreamWriteServiceException.d.ts +6 -0
  34. package/dist-types/ts3.4/models/index.d.ts +1 -0
  35. package/dist-types/ts3.4/models/models_0.d.ts +547 -0
  36. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  37. package/dist-types/ts3.4/pagination/ListDatabasesPaginator.d.ts +4 -0
  38. package/dist-types/ts3.4/pagination/ListTablesPaginator.d.ts +4 -0
  39. package/dist-types/ts3.4/pagination/index.d.ts +3 -0
  40. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +47 -0
  41. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +41 -0
  42. package/dist-types/ts3.4/runtimeConfig.d.ts +41 -0
  43. package/dist-types/ts3.4/runtimeConfig.native.d.ts +40 -0
  44. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  45. package/package.json +34 -34
@@ -3,3 +3,4 @@ export * from "./TimestreamWriteClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { TimestreamWriteServiceException } from "./models/TimestreamWriteServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from TimestreamWrite service.
4
+ */
5
+ export declare class TimestreamWriteServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,19 +1,28 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { TimestreamWriteServiceException as __BaseException } from "./TimestreamWriteServiceException";
2
3
  /**
3
4
  * <p>You are not authorized to perform this action.</p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
8
9
  Message: string | undefined;
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
14
  }
10
15
  /**
11
16
  * <p>Timestream was unable to process this request because it contains resource that already exists.</p>
12
17
  */
13
- export interface ConflictException extends __SmithyException, $MetadataBearer {
14
- name: "ConflictException";
15
- $fault: "client";
18
+ export declare class ConflictException extends __BaseException {
19
+ readonly name: "ConflictException";
20
+ readonly $fault: "client";
16
21
  Message: string | undefined;
22
+ /**
23
+ * @internal
24
+ */
25
+ constructor(opts: __ExceptionOptionType<ConflictException, __BaseException>);
17
26
  }
18
27
  /**
19
28
  * <p>
@@ -121,42 +130,62 @@ export declare namespace CreateDatabaseResponse {
121
130
  /**
122
131
  * <p> Timestream was unable to fully process this request because of an internal server error.</p>
123
132
  */
124
- export interface InternalServerException extends __SmithyException, $MetadataBearer {
125
- name: "InternalServerException";
126
- $fault: "server";
133
+ export declare class InternalServerException extends __BaseException {
134
+ readonly name: "InternalServerException";
135
+ readonly $fault: "server";
127
136
  Message: string | undefined;
137
+ /**
138
+ * @internal
139
+ */
140
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
128
141
  }
129
142
  /**
130
143
  * <p>The requested endpoint was invalid.</p>
131
144
  */
132
- export interface InvalidEndpointException extends __SmithyException, $MetadataBearer {
133
- name: "InvalidEndpointException";
134
- $fault: "client";
145
+ export declare class InvalidEndpointException extends __BaseException {
146
+ readonly name: "InvalidEndpointException";
147
+ readonly $fault: "client";
135
148
  Message?: string;
149
+ /**
150
+ * @internal
151
+ */
152
+ constructor(opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>);
136
153
  }
137
154
  /**
138
155
  * <p> Instance quota of resource exceeded for this account.</p>
139
156
  */
140
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
141
- name: "ServiceQuotaExceededException";
142
- $fault: "client";
157
+ export declare class ServiceQuotaExceededException extends __BaseException {
158
+ readonly name: "ServiceQuotaExceededException";
159
+ readonly $fault: "client";
143
160
  Message?: string;
161
+ /**
162
+ * @internal
163
+ */
164
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
144
165
  }
145
166
  /**
146
167
  * <p> Too many requests were made by a user exceeding service quotas. The request was throttled.</p>
147
168
  */
148
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
149
- name: "ThrottlingException";
150
- $fault: "client";
169
+ export declare class ThrottlingException extends __BaseException {
170
+ readonly name: "ThrottlingException";
171
+ readonly $fault: "client";
151
172
  Message: string | undefined;
173
+ /**
174
+ * @internal
175
+ */
176
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
152
177
  }
153
178
  /**
154
179
  * <p> Invalid or malformed request.</p>
155
180
  */
156
- export interface ValidationException extends __SmithyException, $MetadataBearer {
157
- name: "ValidationException";
158
- $fault: "client";
181
+ export declare class ValidationException extends __BaseException {
182
+ readonly name: "ValidationException";
183
+ readonly $fault: "client";
159
184
  Message: string | undefined;
185
+ /**
186
+ * @internal
187
+ */
188
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
160
189
  }
161
190
  export declare enum S3EncryptionOption {
162
191
  SSE_KMS = "SSE_KMS",
@@ -346,10 +375,14 @@ export declare namespace CreateTableResponse {
346
375
  /**
347
376
  * <p>The operation tried to access a nonexistent resource. The resource might not be specified correctly, or its status might not be ACTIVE.</p>
348
377
  */
349
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
350
- name: "ResourceNotFoundException";
351
- $fault: "client";
378
+ export declare class ResourceNotFoundException extends __BaseException {
379
+ readonly name: "ResourceNotFoundException";
380
+ readonly $fault: "client";
352
381
  Message?: string;
382
+ /**
383
+ * @internal
384
+ */
385
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
353
386
  }
354
387
  export interface DeleteDatabaseRequest {
355
388
  /**
@@ -856,11 +889,15 @@ export declare namespace RejectedRecord {
856
889
  * For more information, see <a href="https://docs.aws.amazon.com/timestream/latest/developerguide/ts-limits.html">Quotas</a> in the Timestream Developer Guide.
857
890
  * </p>
858
891
  */
859
- export interface RejectedRecordsException extends __SmithyException, $MetadataBearer {
860
- name: "RejectedRecordsException";
861
- $fault: "client";
892
+ export declare class RejectedRecordsException extends __BaseException {
893
+ readonly name: "RejectedRecordsException";
894
+ readonly $fault: "client";
862
895
  Message?: string;
863
896
  RejectedRecords?: RejectedRecord[];
897
+ /**
898
+ * @internal
899
+ */
900
+ constructor(opts: __ExceptionOptionType<RejectedRecordsException, __BaseException>);
864
901
  }
865
902
  export interface TagResourceRequest {
866
903
  /**
@@ -0,0 +1,80 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
2
+ import { CreateDatabaseCommandInput, CreateDatabaseCommandOutput } from "./commands/CreateDatabaseCommand";
3
+ import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
4
+ import { DeleteDatabaseCommandInput, DeleteDatabaseCommandOutput } from "./commands/DeleteDatabaseCommand";
5
+ import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
6
+ import { DescribeDatabaseCommandInput, DescribeDatabaseCommandOutput } from "./commands/DescribeDatabaseCommand";
7
+ import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand";
8
+ import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
9
+ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
10
+ import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
11
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
12
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
13
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
14
+ import { UpdateDatabaseCommandInput, UpdateDatabaseCommandOutput } from "./commands/UpdateDatabaseCommand";
15
+ import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
16
+ import { WriteRecordsCommandInput, WriteRecordsCommandOutput } from "./commands/WriteRecordsCommand";
17
+ import { TimestreamWriteClient } from "./TimestreamWriteClient";
18
+
19
+ export declare class TimestreamWrite extends TimestreamWriteClient {
20
+
21
+ createDatabase(args: CreateDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<CreateDatabaseCommandOutput>;
22
+ createDatabase(args: CreateDatabaseCommandInput, cb: (err: any, data?: CreateDatabaseCommandOutput) => void): void;
23
+ createDatabase(args: CreateDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDatabaseCommandOutput) => void): void;
24
+
25
+ createTable(args: CreateTableCommandInput, options?: __HttpHandlerOptions): Promise<CreateTableCommandOutput>;
26
+ createTable(args: CreateTableCommandInput, cb: (err: any, data?: CreateTableCommandOutput) => void): void;
27
+ createTable(args: CreateTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTableCommandOutput) => void): void;
28
+
29
+ deleteDatabase(args: DeleteDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDatabaseCommandOutput>;
30
+ deleteDatabase(args: DeleteDatabaseCommandInput, cb: (err: any, data?: DeleteDatabaseCommandOutput) => void): void;
31
+ deleteDatabase(args: DeleteDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDatabaseCommandOutput) => void): void;
32
+
33
+ deleteTable(args: DeleteTableCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTableCommandOutput>;
34
+ deleteTable(args: DeleteTableCommandInput, cb: (err: any, data?: DeleteTableCommandOutput) => void): void;
35
+ deleteTable(args: DeleteTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTableCommandOutput) => void): void;
36
+
37
+ describeDatabase(args: DescribeDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDatabaseCommandOutput>;
38
+ describeDatabase(args: DescribeDatabaseCommandInput, cb: (err: any, data?: DescribeDatabaseCommandOutput) => void): void;
39
+ describeDatabase(args: DescribeDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDatabaseCommandOutput) => void): void;
40
+
41
+ describeEndpoints(args: DescribeEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEndpointsCommandOutput>;
42
+ describeEndpoints(args: DescribeEndpointsCommandInput, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
43
+ describeEndpoints(args: DescribeEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
44
+
45
+ describeTable(args: DescribeTableCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTableCommandOutput>;
46
+ describeTable(args: DescribeTableCommandInput, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
47
+ describeTable(args: DescribeTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
48
+
49
+ listDatabases(args: ListDatabasesCommandInput, options?: __HttpHandlerOptions): Promise<ListDatabasesCommandOutput>;
50
+ listDatabases(args: ListDatabasesCommandInput, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
51
+ listDatabases(args: ListDatabasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
52
+
53
+ listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListTablesCommandOutput>;
54
+ listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
55
+ listTables(args: ListTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
56
+
57
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
58
+ listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
59
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
60
+
61
+ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
62
+ tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
63
+ tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
64
+
65
+ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
66
+ untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
67
+ untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
68
+
69
+ updateDatabase(args: UpdateDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDatabaseCommandOutput>;
70
+ updateDatabase(args: UpdateDatabaseCommandInput, cb: (err: any, data?: UpdateDatabaseCommandOutput) => void): void;
71
+ updateDatabase(args: UpdateDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDatabaseCommandOutput) => void): void;
72
+
73
+ updateTable(args: UpdateTableCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTableCommandOutput>;
74
+ updateTable(args: UpdateTableCommandInput, cb: (err: any, data?: UpdateTableCommandOutput) => void): void;
75
+ updateTable(args: UpdateTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTableCommandOutput) => void): void;
76
+
77
+ writeRecords(args: WriteRecordsCommandInput, options?: __HttpHandlerOptions): Promise<WriteRecordsCommandOutput>;
78
+ writeRecords(args: WriteRecordsCommandInput, cb: (err: any, data?: WriteRecordsCommandOutput) => void): void;
79
+ writeRecords(args: WriteRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: WriteRecordsCommandOutput) => void): void;
80
+ }
@@ -0,0 +1,91 @@
1
+ import { EndpointsInputConfig, EndpointsResolvedConfig, RegionInputConfig, RegionResolvedConfig } from "@aws-sdk/config-resolver";
2
+ import { EndpointDiscoveryInputConfig, EndpointDiscoveryResolvedConfig } from "@aws-sdk/middleware-endpoint-discovery";
3
+ import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
4
+ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry";
5
+ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
6
+ import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
+ import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
+ import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
10
+ import { CreateDatabaseCommandInput, CreateDatabaseCommandOutput } from "./commands/CreateDatabaseCommand";
11
+ import { CreateTableCommandInput, CreateTableCommandOutput } from "./commands/CreateTableCommand";
12
+ import { DeleteDatabaseCommandInput, DeleteDatabaseCommandOutput } from "./commands/DeleteDatabaseCommand";
13
+ import { DeleteTableCommandInput, DeleteTableCommandOutput } from "./commands/DeleteTableCommand";
14
+ import { DescribeDatabaseCommandInput, DescribeDatabaseCommandOutput } from "./commands/DescribeDatabaseCommand";
15
+ import { DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput } from "./commands/DescribeEndpointsCommand";
16
+ import { DescribeTableCommandInput, DescribeTableCommandOutput } from "./commands/DescribeTableCommand";
17
+ import { ListDatabasesCommandInput, ListDatabasesCommandOutput } from "./commands/ListDatabasesCommand";
18
+ import { ListTablesCommandInput, ListTablesCommandOutput } from "./commands/ListTablesCommand";
19
+ import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
20
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
21
+ import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
22
+ import { UpdateDatabaseCommandInput, UpdateDatabaseCommandOutput } from "./commands/UpdateDatabaseCommand";
23
+ import { UpdateTableCommandInput, UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
24
+ import { WriteRecordsCommandInput, WriteRecordsCommandOutput } from "./commands/WriteRecordsCommand";
25
+ export declare type ServiceInputTypes = CreateDatabaseCommandInput | CreateTableCommandInput | DeleteDatabaseCommandInput | DeleteTableCommandInput | DescribeDatabaseCommandInput | DescribeEndpointsCommandInput | DescribeTableCommandInput | ListDatabasesCommandInput | ListTablesCommandInput | ListTagsForResourceCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateDatabaseCommandInput | UpdateTableCommandInput | WriteRecordsCommandInput;
26
+ export declare type ServiceOutputTypes = CreateDatabaseCommandOutput | CreateTableCommandOutput | DeleteDatabaseCommandOutput | DeleteTableCommandOutput | DescribeDatabaseCommandOutput | DescribeEndpointsCommandOutput | DescribeTableCommandOutput | ListDatabasesCommandOutput | ListTablesCommandOutput | ListTagsForResourceCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateDatabaseCommandOutput | UpdateTableCommandOutput | WriteRecordsCommandOutput;
27
+ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
28
+
29
+ requestHandler?: __HttpHandler;
30
+
31
+ sha256?: __HashConstructor;
32
+
33
+ urlParser?: __UrlParser;
34
+
35
+ bodyLengthChecker?: (body: any) => number | undefined;
36
+
37
+ streamCollector?: __StreamCollector;
38
+
39
+ base64Decoder?: __Decoder;
40
+
41
+ base64Encoder?: __Encoder;
42
+
43
+ utf8Decoder?: __Decoder;
44
+
45
+ utf8Encoder?: __Encoder;
46
+
47
+ runtime?: string;
48
+
49
+ disableHostPrefix?: boolean;
50
+
51
+ maxAttempts?: number | __Provider<number>;
52
+
53
+ retryMode?: string | __Provider<string>;
54
+
55
+ logger?: __Logger;
56
+
57
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
58
+
59
+ useFipsEndpoint?: boolean | __Provider<boolean>;
60
+
61
+ serviceId?: string;
62
+
63
+ region?: string | __Provider<string>;
64
+
65
+ credentialDefaultProvider?: (input: any) => __Provider<__Credentials>;
66
+
67
+ regionInfoProvider?: RegionInfoProvider;
68
+
69
+ defaultUserAgentProvider?: Provider<__UserAgent>;
70
+
71
+ endpointDiscoveryEnabledProvider?: __Provider<boolean | undefined>;
72
+
73
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
74
+ }
75
+ declare type TimestreamWriteClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & EndpointDiscoveryInputConfig;
76
+
77
+ export interface TimestreamWriteClientConfig extends TimestreamWriteClientConfigType {
78
+ }
79
+ declare type TimestreamWriteClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RegionResolvedConfig & EndpointsResolvedConfig & RetryResolvedConfig & HostHeaderResolvedConfig & AwsAuthResolvedConfig & UserAgentResolvedConfig & EndpointDiscoveryResolvedConfig;
80
+
81
+ export interface TimestreamWriteClientResolvedConfig extends TimestreamWriteClientResolvedConfigType {
82
+ }
83
+
84
+ export declare class TimestreamWriteClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig> {
85
+
86
+ readonly config: TimestreamWriteClientResolvedConfig;
87
+ constructor(configuration: TimestreamWriteClientConfig);
88
+
89
+ destroy(): void;
90
+ }
91
+ export {};
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CreateDatabaseRequest, CreateDatabaseResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
+ export interface CreateDatabaseCommandInput extends CreateDatabaseRequest {
6
+ }
7
+ export interface CreateDatabaseCommandOutput extends CreateDatabaseResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CreateDatabaseCommand extends $Command<CreateDatabaseCommandInput, CreateDatabaseCommandOutput, TimestreamWriteClientResolvedConfig> {
11
+ readonly input: CreateDatabaseCommandInput;
12
+ constructor(input: CreateDatabaseCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDatabaseCommandInput, CreateDatabaseCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { CreateTableRequest, CreateTableResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
+ export interface CreateTableCommandInput extends CreateTableRequest {
6
+ }
7
+ export interface CreateTableCommandOutput extends CreateTableResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class CreateTableCommand extends $Command<CreateTableCommandInput, CreateTableCommandOutput, TimestreamWriteClientResolvedConfig> {
11
+ readonly input: CreateTableCommandInput;
12
+ constructor(input: CreateTableCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateTableCommandInput, CreateTableCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DeleteDatabaseRequest } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
+ export interface DeleteDatabaseCommandInput extends DeleteDatabaseRequest {
6
+ }
7
+ export interface DeleteDatabaseCommandOutput extends __MetadataBearer {
8
+ }
9
+
10
+ export declare class DeleteDatabaseCommand extends $Command<DeleteDatabaseCommandInput, DeleteDatabaseCommandOutput, TimestreamWriteClientResolvedConfig> {
11
+ readonly input: DeleteDatabaseCommandInput;
12
+ constructor(input: DeleteDatabaseCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteDatabaseCommandInput, DeleteDatabaseCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DeleteTableRequest } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
+ export interface DeleteTableCommandInput extends DeleteTableRequest {
6
+ }
7
+ export interface DeleteTableCommandOutput extends __MetadataBearer {
8
+ }
9
+
10
+ export declare class DeleteTableCommand extends $Command<DeleteTableCommandInput, DeleteTableCommandOutput, TimestreamWriteClientResolvedConfig> {
11
+ readonly input: DeleteTableCommandInput;
12
+ constructor(input: DeleteTableCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteTableCommandInput, DeleteTableCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DescribeDatabaseRequest, DescribeDatabaseResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
+ export interface DescribeDatabaseCommandInput extends DescribeDatabaseRequest {
6
+ }
7
+ export interface DescribeDatabaseCommandOutput extends DescribeDatabaseResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeDatabaseCommand extends $Command<DescribeDatabaseCommandInput, DescribeDatabaseCommandOutput, TimestreamWriteClientResolvedConfig> {
11
+ readonly input: DescribeDatabaseCommandInput;
12
+ constructor(input: DescribeDatabaseCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeDatabaseCommandInput, DescribeDatabaseCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DescribeEndpointsRequest, DescribeEndpointsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
+ export interface DescribeEndpointsCommandInput extends DescribeEndpointsRequest {
6
+ }
7
+ export interface DescribeEndpointsCommandOutput extends DescribeEndpointsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeEndpointsCommand extends $Command<DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput, TimestreamWriteClientResolvedConfig> {
11
+ readonly input: DescribeEndpointsCommandInput;
12
+ constructor(input: DescribeEndpointsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeEndpointsCommandInput, DescribeEndpointsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { DescribeTableRequest, DescribeTableResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
+ export interface DescribeTableCommandInput extends DescribeTableRequest {
6
+ }
7
+ export interface DescribeTableCommandOutput extends DescribeTableResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class DescribeTableCommand extends $Command<DescribeTableCommandInput, DescribeTableCommandOutput, TimestreamWriteClientResolvedConfig> {
11
+ readonly input: DescribeTableCommandInput;
12
+ constructor(input: DescribeTableCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeTableCommandInput, DescribeTableCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListDatabasesRequest, ListDatabasesResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
+ export interface ListDatabasesCommandInput extends ListDatabasesRequest {
6
+ }
7
+ export interface ListDatabasesCommandOutput extends ListDatabasesResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListDatabasesCommand extends $Command<ListDatabasesCommandInput, ListDatabasesCommandOutput, TimestreamWriteClientResolvedConfig> {
11
+ readonly input: ListDatabasesCommandInput;
12
+ constructor(input: ListDatabasesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListDatabasesCommandInput, ListDatabasesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListTablesRequest, ListTablesResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
+ export interface ListTablesCommandInput extends ListTablesRequest {
6
+ }
7
+ export interface ListTablesCommandOutput extends ListTablesResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListTablesCommand extends $Command<ListTablesCommandInput, ListTablesCommandOutput, TimestreamWriteClientResolvedConfig> {
11
+ readonly input: ListTablesCommandInput;
12
+ constructor(input: ListTablesCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTablesCommandInput, ListTablesCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { ListTagsForResourceRequest, ListTagsForResourceResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
+ export interface ListTagsForResourceCommandInput extends ListTagsForResourceRequest {
6
+ }
7
+ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, TimestreamWriteClientResolvedConfig> {
11
+ readonly input: ListTagsForResourceCommandInput;
12
+ constructor(input: ListTagsForResourceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
+ export interface TagResourceCommandInput extends TagResourceRequest {
6
+ }
7
+ export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, TimestreamWriteClientResolvedConfig> {
11
+ readonly input: TagResourceCommandInput;
12
+ constructor(input: TagResourceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TagResourceCommandInput, TagResourceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
+ export interface UntagResourceCommandInput extends UntagResourceRequest {
6
+ }
7
+ export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, TimestreamWriteClientResolvedConfig> {
11
+ readonly input: UntagResourceCommandInput;
12
+ constructor(input: UntagResourceCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UntagResourceCommandInput, UntagResourceCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateDatabaseRequest, UpdateDatabaseResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
+ export interface UpdateDatabaseCommandInput extends UpdateDatabaseRequest {
6
+ }
7
+ export interface UpdateDatabaseCommandOutput extends UpdateDatabaseResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateDatabaseCommand extends $Command<UpdateDatabaseCommandInput, UpdateDatabaseCommandOutput, TimestreamWriteClientResolvedConfig> {
11
+ readonly input: UpdateDatabaseCommandInput;
12
+ constructor(input: UpdateDatabaseCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateDatabaseCommandInput, UpdateDatabaseCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { UpdateTableRequest, UpdateTableResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
+ export interface UpdateTableCommandInput extends UpdateTableRequest {
6
+ }
7
+ export interface UpdateTableCommandOutput extends UpdateTableResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class UpdateTableCommand extends $Command<UpdateTableCommandInput, UpdateTableCommandOutput, TimestreamWriteClientResolvedConfig> {
11
+ readonly input: UpdateTableCommandInput;
12
+ constructor(input: UpdateTableCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateTableCommandInput, UpdateTableCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }
@@ -0,0 +1,17 @@
1
+ import { Command as $Command } from "@aws-sdk/smithy-client";
2
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
3
+ import { WriteRecordsRequest, WriteRecordsResponse } from "../models/models_0";
4
+ import { ServiceInputTypes, ServiceOutputTypes, TimestreamWriteClientResolvedConfig } from "../TimestreamWriteClient";
5
+ export interface WriteRecordsCommandInput extends WriteRecordsRequest {
6
+ }
7
+ export interface WriteRecordsCommandOutput extends WriteRecordsResponse, __MetadataBearer {
8
+ }
9
+
10
+ export declare class WriteRecordsCommand extends $Command<WriteRecordsCommandInput, WriteRecordsCommandOutput, TimestreamWriteClientResolvedConfig> {
11
+ readonly input: WriteRecordsCommandInput;
12
+ constructor(input: WriteRecordsCommandInput);
13
+
14
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: TimestreamWriteClientResolvedConfig, options?: __HttpHandlerOptions): Handler<WriteRecordsCommandInput, WriteRecordsCommandOutput>;
15
+ private serialize;
16
+ private deserialize;
17
+ }