@aws-sdk/client-timestream-write 3.1137.0 → 3.1139.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/index.js CHANGED
@@ -405,10 +405,10 @@ const _hE = "httpError";
405
405
  const _s = "smithy.ts.sdk.synthetic.com.amazonaws.timestreamwrite";
406
406
  const _se = "server";
407
407
  const n0 = "com.amazonaws.timestreamwrite";
408
- const _s_registry = TypeRegistry.for(_s);
408
+ const _s_registry = new TypeRegistry(_s);
409
409
  var TimestreamWriteServiceException$ = [-3, _s, "TimestreamWriteServiceException", 0, [], []];
410
410
  _s_registry.registerError(TimestreamWriteServiceException$, TimestreamWriteServiceException);
411
- const n0_registry = TypeRegistry.for(n0);
411
+ const n0_registry = new TypeRegistry(n0);
412
412
  var AccessDeniedException$ = [-3, n0, _ADE,
413
413
  { [_e]: _c, [_hE]: 403 },
414
414
  [_M],
@@ -899,7 +899,7 @@ var WriteRecords$ = [9, n0, _WR,
899
899
  class DescribeEndpointsCommand extends command(_ep0, _mw1, "DescribeEndpoints", DescribeEndpoints$) {
900
900
  }
901
901
 
902
- var version = "3.1136.0";
902
+ var version = "3.1138.0";
903
903
  var packageInfo = {
904
904
  version: version};
905
905
 
@@ -189,10 +189,10 @@ const n0 = "com.amazonaws.timestreamwrite";
189
189
  import { TypeRegistry } from "@smithy/core/schema";
190
190
  import { AccessDeniedException, ConflictException, InternalServerException, InvalidEndpointException, RejectedRecordsException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
191
191
  import { TimestreamWriteServiceException } from "../models/TimestreamWriteServiceException";
192
- const _s_registry = TypeRegistry.for(_s);
192
+ const _s_registry = new TypeRegistry(_s);
193
193
  export var TimestreamWriteServiceException$ = [-3, _s, "TimestreamWriteServiceException", 0, [], []];
194
194
  _s_registry.registerError(TimestreamWriteServiceException$, TimestreamWriteServiceException);
195
- const n0_registry = TypeRegistry.for(n0);
195
+ const n0_registry = new TypeRegistry(n0);
196
196
  export var AccessDeniedException$ = [-3, n0, _ADE,
197
197
  { [_e]: _c, [_hE]: 403 },
198
198
  [_M],
@@ -1,4 +1,4 @@
1
- import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder, PaginationConfiguration, Paginator } from "@smithy/types";
2
2
  import { type CreateBatchLoadTaskCommandInput, type CreateBatchLoadTaskCommandOutput } from "./commands/CreateBatchLoadTaskCommand";
3
3
  import { type CreateDatabaseCommandInput, type CreateDatabaseCommandOutput } from "./commands/CreateDatabaseCommand";
4
4
  import { type CreateTableCommandInput, type CreateTableCommandOutput } from "./commands/CreateTableCommand";
@@ -19,125 +19,131 @@ import { type UpdateDatabaseCommandInput, type UpdateDatabaseCommandOutput } fro
19
19
  import { type UpdateTableCommandInput, type UpdateTableCommandOutput } from "./commands/UpdateTableCommand";
20
20
  import { type WriteRecordsCommandInput, type WriteRecordsCommandOutput } from "./commands/WriteRecordsCommand";
21
21
  import { TimestreamWriteClient } from "./TimestreamWriteClient";
22
+ /**
23
+ * @public
24
+ */
25
+ export interface TimestreamWriteRequestOptions extends __HttpHandlerOptions {
26
+ metricsRecorder?: __MetricsRecorder<unknown>;
27
+ }
22
28
  export interface TimestreamWrite {
23
29
  /**
24
30
  * @see {@link CreateBatchLoadTaskCommand}
25
31
  */
26
- createBatchLoadTask(args: CreateBatchLoadTaskCommandInput, options?: __HttpHandlerOptions): Promise<CreateBatchLoadTaskCommandOutput>;
32
+ createBatchLoadTask(args: CreateBatchLoadTaskCommandInput, options?: TimestreamWriteRequestOptions): Promise<CreateBatchLoadTaskCommandOutput>;
27
33
  createBatchLoadTask(args: CreateBatchLoadTaskCommandInput, cb: (err: any, data?: CreateBatchLoadTaskCommandOutput) => void): void;
28
- createBatchLoadTask(args: CreateBatchLoadTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBatchLoadTaskCommandOutput) => void): void;
34
+ createBatchLoadTask(args: CreateBatchLoadTaskCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: CreateBatchLoadTaskCommandOutput) => void): void;
29
35
  /**
30
36
  * @see {@link CreateDatabaseCommand}
31
37
  */
32
- createDatabase(args: CreateDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<CreateDatabaseCommandOutput>;
38
+ createDatabase(args: CreateDatabaseCommandInput, options?: TimestreamWriteRequestOptions): Promise<CreateDatabaseCommandOutput>;
33
39
  createDatabase(args: CreateDatabaseCommandInput, cb: (err: any, data?: CreateDatabaseCommandOutput) => void): void;
34
- createDatabase(args: CreateDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDatabaseCommandOutput) => void): void;
40
+ createDatabase(args: CreateDatabaseCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: CreateDatabaseCommandOutput) => void): void;
35
41
  /**
36
42
  * @see {@link CreateTableCommand}
37
43
  */
38
- createTable(args: CreateTableCommandInput, options?: __HttpHandlerOptions): Promise<CreateTableCommandOutput>;
44
+ createTable(args: CreateTableCommandInput, options?: TimestreamWriteRequestOptions): Promise<CreateTableCommandOutput>;
39
45
  createTable(args: CreateTableCommandInput, cb: (err: any, data?: CreateTableCommandOutput) => void): void;
40
- createTable(args: CreateTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateTableCommandOutput) => void): void;
46
+ createTable(args: CreateTableCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: CreateTableCommandOutput) => void): void;
41
47
  /**
42
48
  * @see {@link DeleteDatabaseCommand}
43
49
  */
44
- deleteDatabase(args: DeleteDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDatabaseCommandOutput>;
50
+ deleteDatabase(args: DeleteDatabaseCommandInput, options?: TimestreamWriteRequestOptions): Promise<DeleteDatabaseCommandOutput>;
45
51
  deleteDatabase(args: DeleteDatabaseCommandInput, cb: (err: any, data?: DeleteDatabaseCommandOutput) => void): void;
46
- deleteDatabase(args: DeleteDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDatabaseCommandOutput) => void): void;
52
+ deleteDatabase(args: DeleteDatabaseCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: DeleteDatabaseCommandOutput) => void): void;
47
53
  /**
48
54
  * @see {@link DeleteTableCommand}
49
55
  */
50
- deleteTable(args: DeleteTableCommandInput, options?: __HttpHandlerOptions): Promise<DeleteTableCommandOutput>;
56
+ deleteTable(args: DeleteTableCommandInput, options?: TimestreamWriteRequestOptions): Promise<DeleteTableCommandOutput>;
51
57
  deleteTable(args: DeleteTableCommandInput, cb: (err: any, data?: DeleteTableCommandOutput) => void): void;
52
- deleteTable(args: DeleteTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteTableCommandOutput) => void): void;
58
+ deleteTable(args: DeleteTableCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: DeleteTableCommandOutput) => void): void;
53
59
  /**
54
60
  * @see {@link DescribeBatchLoadTaskCommand}
55
61
  */
56
- describeBatchLoadTask(args: DescribeBatchLoadTaskCommandInput, options?: __HttpHandlerOptions): Promise<DescribeBatchLoadTaskCommandOutput>;
62
+ describeBatchLoadTask(args: DescribeBatchLoadTaskCommandInput, options?: TimestreamWriteRequestOptions): Promise<DescribeBatchLoadTaskCommandOutput>;
57
63
  describeBatchLoadTask(args: DescribeBatchLoadTaskCommandInput, cb: (err: any, data?: DescribeBatchLoadTaskCommandOutput) => void): void;
58
- describeBatchLoadTask(args: DescribeBatchLoadTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeBatchLoadTaskCommandOutput) => void): void;
64
+ describeBatchLoadTask(args: DescribeBatchLoadTaskCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: DescribeBatchLoadTaskCommandOutput) => void): void;
59
65
  /**
60
66
  * @see {@link DescribeDatabaseCommand}
61
67
  */
62
- describeDatabase(args: DescribeDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<DescribeDatabaseCommandOutput>;
68
+ describeDatabase(args: DescribeDatabaseCommandInput, options?: TimestreamWriteRequestOptions): Promise<DescribeDatabaseCommandOutput>;
63
69
  describeDatabase(args: DescribeDatabaseCommandInput, cb: (err: any, data?: DescribeDatabaseCommandOutput) => void): void;
64
- describeDatabase(args: DescribeDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeDatabaseCommandOutput) => void): void;
70
+ describeDatabase(args: DescribeDatabaseCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: DescribeDatabaseCommandOutput) => void): void;
65
71
  /**
66
72
  * @see {@link DescribeEndpointsCommand}
67
73
  */
68
74
  describeEndpoints(): Promise<DescribeEndpointsCommandOutput>;
69
- describeEndpoints(args: DescribeEndpointsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeEndpointsCommandOutput>;
75
+ describeEndpoints(args: DescribeEndpointsCommandInput, options?: TimestreamWriteRequestOptions): Promise<DescribeEndpointsCommandOutput>;
70
76
  describeEndpoints(args: DescribeEndpointsCommandInput, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
71
- describeEndpoints(args: DescribeEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
77
+ describeEndpoints(args: DescribeEndpointsCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: DescribeEndpointsCommandOutput) => void): void;
72
78
  /**
73
79
  * @see {@link DescribeTableCommand}
74
80
  */
75
- describeTable(args: DescribeTableCommandInput, options?: __HttpHandlerOptions): Promise<DescribeTableCommandOutput>;
81
+ describeTable(args: DescribeTableCommandInput, options?: TimestreamWriteRequestOptions): Promise<DescribeTableCommandOutput>;
76
82
  describeTable(args: DescribeTableCommandInput, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
77
- describeTable(args: DescribeTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
83
+ describeTable(args: DescribeTableCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: DescribeTableCommandOutput) => void): void;
78
84
  /**
79
85
  * @see {@link ListBatchLoadTasksCommand}
80
86
  */
81
87
  listBatchLoadTasks(): Promise<ListBatchLoadTasksCommandOutput>;
82
- listBatchLoadTasks(args: ListBatchLoadTasksCommandInput, options?: __HttpHandlerOptions): Promise<ListBatchLoadTasksCommandOutput>;
88
+ listBatchLoadTasks(args: ListBatchLoadTasksCommandInput, options?: TimestreamWriteRequestOptions): Promise<ListBatchLoadTasksCommandOutput>;
83
89
  listBatchLoadTasks(args: ListBatchLoadTasksCommandInput, cb: (err: any, data?: ListBatchLoadTasksCommandOutput) => void): void;
84
- listBatchLoadTasks(args: ListBatchLoadTasksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBatchLoadTasksCommandOutput) => void): void;
90
+ listBatchLoadTasks(args: ListBatchLoadTasksCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: ListBatchLoadTasksCommandOutput) => void): void;
85
91
  /**
86
92
  * @see {@link ListDatabasesCommand}
87
93
  */
88
94
  listDatabases(): Promise<ListDatabasesCommandOutput>;
89
- listDatabases(args: ListDatabasesCommandInput, options?: __HttpHandlerOptions): Promise<ListDatabasesCommandOutput>;
95
+ listDatabases(args: ListDatabasesCommandInput, options?: TimestreamWriteRequestOptions): Promise<ListDatabasesCommandOutput>;
90
96
  listDatabases(args: ListDatabasesCommandInput, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
91
- listDatabases(args: ListDatabasesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
97
+ listDatabases(args: ListDatabasesCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: ListDatabasesCommandOutput) => void): void;
92
98
  /**
93
99
  * @see {@link ListTablesCommand}
94
100
  */
95
101
  listTables(): Promise<ListTablesCommandOutput>;
96
- listTables(args: ListTablesCommandInput, options?: __HttpHandlerOptions): Promise<ListTablesCommandOutput>;
102
+ listTables(args: ListTablesCommandInput, options?: TimestreamWriteRequestOptions): Promise<ListTablesCommandOutput>;
97
103
  listTables(args: ListTablesCommandInput, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
98
- listTables(args: ListTablesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
104
+ listTables(args: ListTablesCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: ListTablesCommandOutput) => void): void;
99
105
  /**
100
106
  * @see {@link ListTagsForResourceCommand}
101
107
  */
102
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
108
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: TimestreamWriteRequestOptions): Promise<ListTagsForResourceCommandOutput>;
103
109
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
104
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
110
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
105
111
  /**
106
112
  * @see {@link ResumeBatchLoadTaskCommand}
107
113
  */
108
- resumeBatchLoadTask(args: ResumeBatchLoadTaskCommandInput, options?: __HttpHandlerOptions): Promise<ResumeBatchLoadTaskCommandOutput>;
114
+ resumeBatchLoadTask(args: ResumeBatchLoadTaskCommandInput, options?: TimestreamWriteRequestOptions): Promise<ResumeBatchLoadTaskCommandOutput>;
109
115
  resumeBatchLoadTask(args: ResumeBatchLoadTaskCommandInput, cb: (err: any, data?: ResumeBatchLoadTaskCommandOutput) => void): void;
110
- resumeBatchLoadTask(args: ResumeBatchLoadTaskCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResumeBatchLoadTaskCommandOutput) => void): void;
116
+ resumeBatchLoadTask(args: ResumeBatchLoadTaskCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: ResumeBatchLoadTaskCommandOutput) => void): void;
111
117
  /**
112
118
  * @see {@link TagResourceCommand}
113
119
  */
114
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
120
+ tagResource(args: TagResourceCommandInput, options?: TimestreamWriteRequestOptions): Promise<TagResourceCommandOutput>;
115
121
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
116
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
122
+ tagResource(args: TagResourceCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
117
123
  /**
118
124
  * @see {@link UntagResourceCommand}
119
125
  */
120
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
126
+ untagResource(args: UntagResourceCommandInput, options?: TimestreamWriteRequestOptions): Promise<UntagResourceCommandOutput>;
121
127
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
122
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
128
+ untagResource(args: UntagResourceCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
123
129
  /**
124
130
  * @see {@link UpdateDatabaseCommand}
125
131
  */
126
- updateDatabase(args: UpdateDatabaseCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDatabaseCommandOutput>;
132
+ updateDatabase(args: UpdateDatabaseCommandInput, options?: TimestreamWriteRequestOptions): Promise<UpdateDatabaseCommandOutput>;
127
133
  updateDatabase(args: UpdateDatabaseCommandInput, cb: (err: any, data?: UpdateDatabaseCommandOutput) => void): void;
128
- updateDatabase(args: UpdateDatabaseCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDatabaseCommandOutput) => void): void;
134
+ updateDatabase(args: UpdateDatabaseCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: UpdateDatabaseCommandOutput) => void): void;
129
135
  /**
130
136
  * @see {@link UpdateTableCommand}
131
137
  */
132
- updateTable(args: UpdateTableCommandInput, options?: __HttpHandlerOptions): Promise<UpdateTableCommandOutput>;
138
+ updateTable(args: UpdateTableCommandInput, options?: TimestreamWriteRequestOptions): Promise<UpdateTableCommandOutput>;
133
139
  updateTable(args: UpdateTableCommandInput, cb: (err: any, data?: UpdateTableCommandOutput) => void): void;
134
- updateTable(args: UpdateTableCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateTableCommandOutput) => void): void;
140
+ updateTable(args: UpdateTableCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: UpdateTableCommandOutput) => void): void;
135
141
  /**
136
142
  * @see {@link WriteRecordsCommand}
137
143
  */
138
- writeRecords(args: WriteRecordsCommandInput, options?: __HttpHandlerOptions): Promise<WriteRecordsCommandOutput>;
144
+ writeRecords(args: WriteRecordsCommandInput, options?: TimestreamWriteRequestOptions): Promise<WriteRecordsCommandOutput>;
139
145
  writeRecords(args: WriteRecordsCommandInput, cb: (err: any, data?: WriteRecordsCommandOutput) => void): void;
140
- writeRecords(args: WriteRecordsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: WriteRecordsCommandOutput) => void): void;
146
+ writeRecords(args: WriteRecordsCommandInput, options: TimestreamWriteRequestOptions, cb: (err: any, data?: WriteRecordsCommandOutput) => void): void;
141
147
  /**
142
148
  * @see {@link ListBatchLoadTasksCommand}
143
149
  * @param args - command input.
@@ -1,5 +1,6 @@
1
1
  import {
2
2
  HttpHandlerOptions as __HttpHandlerOptions,
3
+ MetricsRecorder as __MetricsRecorder,
3
4
  PaginationConfiguration,
4
5
  Paginator,
5
6
  } from "@smithy/types";
@@ -65,10 +66,13 @@ import {
65
66
  WriteRecordsCommandOutput,
66
67
  } from "./commands/WriteRecordsCommand";
67
68
  import { TimestreamWriteClient } from "./TimestreamWriteClient";
69
+ export interface TimestreamWriteRequestOptions extends __HttpHandlerOptions {
70
+ metricsRecorder?: __MetricsRecorder<unknown>;
71
+ }
68
72
  export interface TimestreamWrite {
69
73
  createBatchLoadTask(
70
74
  args: CreateBatchLoadTaskCommandInput,
71
- options?: __HttpHandlerOptions,
75
+ options?: TimestreamWriteRequestOptions,
72
76
  ): Promise<CreateBatchLoadTaskCommandOutput>;
73
77
  createBatchLoadTask(
74
78
  args: CreateBatchLoadTaskCommandInput,
@@ -76,12 +80,12 @@ export interface TimestreamWrite {
76
80
  ): void;
77
81
  createBatchLoadTask(
78
82
  args: CreateBatchLoadTaskCommandInput,
79
- options: __HttpHandlerOptions,
83
+ options: TimestreamWriteRequestOptions,
80
84
  cb: (err: any, data?: CreateBatchLoadTaskCommandOutput) => void,
81
85
  ): void;
82
86
  createDatabase(
83
87
  args: CreateDatabaseCommandInput,
84
- options?: __HttpHandlerOptions,
88
+ options?: TimestreamWriteRequestOptions,
85
89
  ): Promise<CreateDatabaseCommandOutput>;
86
90
  createDatabase(
87
91
  args: CreateDatabaseCommandInput,
@@ -89,12 +93,12 @@ export interface TimestreamWrite {
89
93
  ): void;
90
94
  createDatabase(
91
95
  args: CreateDatabaseCommandInput,
92
- options: __HttpHandlerOptions,
96
+ options: TimestreamWriteRequestOptions,
93
97
  cb: (err: any, data?: CreateDatabaseCommandOutput) => void,
94
98
  ): void;
95
99
  createTable(
96
100
  args: CreateTableCommandInput,
97
- options?: __HttpHandlerOptions,
101
+ options?: TimestreamWriteRequestOptions,
98
102
  ): Promise<CreateTableCommandOutput>;
99
103
  createTable(
100
104
  args: CreateTableCommandInput,
@@ -102,12 +106,12 @@ export interface TimestreamWrite {
102
106
  ): void;
103
107
  createTable(
104
108
  args: CreateTableCommandInput,
105
- options: __HttpHandlerOptions,
109
+ options: TimestreamWriteRequestOptions,
106
110
  cb: (err: any, data?: CreateTableCommandOutput) => void,
107
111
  ): void;
108
112
  deleteDatabase(
109
113
  args: DeleteDatabaseCommandInput,
110
- options?: __HttpHandlerOptions,
114
+ options?: TimestreamWriteRequestOptions,
111
115
  ): Promise<DeleteDatabaseCommandOutput>;
112
116
  deleteDatabase(
113
117
  args: DeleteDatabaseCommandInput,
@@ -115,12 +119,12 @@ export interface TimestreamWrite {
115
119
  ): void;
116
120
  deleteDatabase(
117
121
  args: DeleteDatabaseCommandInput,
118
- options: __HttpHandlerOptions,
122
+ options: TimestreamWriteRequestOptions,
119
123
  cb: (err: any, data?: DeleteDatabaseCommandOutput) => void,
120
124
  ): void;
121
125
  deleteTable(
122
126
  args: DeleteTableCommandInput,
123
- options?: __HttpHandlerOptions,
127
+ options?: TimestreamWriteRequestOptions,
124
128
  ): Promise<DeleteTableCommandOutput>;
125
129
  deleteTable(
126
130
  args: DeleteTableCommandInput,
@@ -128,12 +132,12 @@ export interface TimestreamWrite {
128
132
  ): void;
129
133
  deleteTable(
130
134
  args: DeleteTableCommandInput,
131
- options: __HttpHandlerOptions,
135
+ options: TimestreamWriteRequestOptions,
132
136
  cb: (err: any, data?: DeleteTableCommandOutput) => void,
133
137
  ): void;
134
138
  describeBatchLoadTask(
135
139
  args: DescribeBatchLoadTaskCommandInput,
136
- options?: __HttpHandlerOptions,
140
+ options?: TimestreamWriteRequestOptions,
137
141
  ): Promise<DescribeBatchLoadTaskCommandOutput>;
138
142
  describeBatchLoadTask(
139
143
  args: DescribeBatchLoadTaskCommandInput,
@@ -141,12 +145,12 @@ export interface TimestreamWrite {
141
145
  ): void;
142
146
  describeBatchLoadTask(
143
147
  args: DescribeBatchLoadTaskCommandInput,
144
- options: __HttpHandlerOptions,
148
+ options: TimestreamWriteRequestOptions,
145
149
  cb: (err: any, data?: DescribeBatchLoadTaskCommandOutput) => void,
146
150
  ): void;
147
151
  describeDatabase(
148
152
  args: DescribeDatabaseCommandInput,
149
- options?: __HttpHandlerOptions,
153
+ options?: TimestreamWriteRequestOptions,
150
154
  ): Promise<DescribeDatabaseCommandOutput>;
151
155
  describeDatabase(
152
156
  args: DescribeDatabaseCommandInput,
@@ -154,13 +158,13 @@ export interface TimestreamWrite {
154
158
  ): void;
155
159
  describeDatabase(
156
160
  args: DescribeDatabaseCommandInput,
157
- options: __HttpHandlerOptions,
161
+ options: TimestreamWriteRequestOptions,
158
162
  cb: (err: any, data?: DescribeDatabaseCommandOutput) => void,
159
163
  ): void;
160
164
  describeEndpoints(): Promise<DescribeEndpointsCommandOutput>;
161
165
  describeEndpoints(
162
166
  args: DescribeEndpointsCommandInput,
163
- options?: __HttpHandlerOptions,
167
+ options?: TimestreamWriteRequestOptions,
164
168
  ): Promise<DescribeEndpointsCommandOutput>;
165
169
  describeEndpoints(
166
170
  args: DescribeEndpointsCommandInput,
@@ -168,12 +172,12 @@ export interface TimestreamWrite {
168
172
  ): void;
169
173
  describeEndpoints(
170
174
  args: DescribeEndpointsCommandInput,
171
- options: __HttpHandlerOptions,
175
+ options: TimestreamWriteRequestOptions,
172
176
  cb: (err: any, data?: DescribeEndpointsCommandOutput) => void,
173
177
  ): void;
174
178
  describeTable(
175
179
  args: DescribeTableCommandInput,
176
- options?: __HttpHandlerOptions,
180
+ options?: TimestreamWriteRequestOptions,
177
181
  ): Promise<DescribeTableCommandOutput>;
178
182
  describeTable(
179
183
  args: DescribeTableCommandInput,
@@ -181,13 +185,13 @@ export interface TimestreamWrite {
181
185
  ): void;
182
186
  describeTable(
183
187
  args: DescribeTableCommandInput,
184
- options: __HttpHandlerOptions,
188
+ options: TimestreamWriteRequestOptions,
185
189
  cb: (err: any, data?: DescribeTableCommandOutput) => void,
186
190
  ): void;
187
191
  listBatchLoadTasks(): Promise<ListBatchLoadTasksCommandOutput>;
188
192
  listBatchLoadTasks(
189
193
  args: ListBatchLoadTasksCommandInput,
190
- options?: __HttpHandlerOptions,
194
+ options?: TimestreamWriteRequestOptions,
191
195
  ): Promise<ListBatchLoadTasksCommandOutput>;
192
196
  listBatchLoadTasks(
193
197
  args: ListBatchLoadTasksCommandInput,
@@ -195,13 +199,13 @@ export interface TimestreamWrite {
195
199
  ): void;
196
200
  listBatchLoadTasks(
197
201
  args: ListBatchLoadTasksCommandInput,
198
- options: __HttpHandlerOptions,
202
+ options: TimestreamWriteRequestOptions,
199
203
  cb: (err: any, data?: ListBatchLoadTasksCommandOutput) => void,
200
204
  ): void;
201
205
  listDatabases(): Promise<ListDatabasesCommandOutput>;
202
206
  listDatabases(
203
207
  args: ListDatabasesCommandInput,
204
- options?: __HttpHandlerOptions,
208
+ options?: TimestreamWriteRequestOptions,
205
209
  ): Promise<ListDatabasesCommandOutput>;
206
210
  listDatabases(
207
211
  args: ListDatabasesCommandInput,
@@ -209,13 +213,13 @@ export interface TimestreamWrite {
209
213
  ): void;
210
214
  listDatabases(
211
215
  args: ListDatabasesCommandInput,
212
- options: __HttpHandlerOptions,
216
+ options: TimestreamWriteRequestOptions,
213
217
  cb: (err: any, data?: ListDatabasesCommandOutput) => void,
214
218
  ): void;
215
219
  listTables(): Promise<ListTablesCommandOutput>;
216
220
  listTables(
217
221
  args: ListTablesCommandInput,
218
- options?: __HttpHandlerOptions,
222
+ options?: TimestreamWriteRequestOptions,
219
223
  ): Promise<ListTablesCommandOutput>;
220
224
  listTables(
221
225
  args: ListTablesCommandInput,
@@ -223,12 +227,12 @@ export interface TimestreamWrite {
223
227
  ): void;
224
228
  listTables(
225
229
  args: ListTablesCommandInput,
226
- options: __HttpHandlerOptions,
230
+ options: TimestreamWriteRequestOptions,
227
231
  cb: (err: any, data?: ListTablesCommandOutput) => void,
228
232
  ): void;
229
233
  listTagsForResource(
230
234
  args: ListTagsForResourceCommandInput,
231
- options?: __HttpHandlerOptions,
235
+ options?: TimestreamWriteRequestOptions,
232
236
  ): Promise<ListTagsForResourceCommandOutput>;
233
237
  listTagsForResource(
234
238
  args: ListTagsForResourceCommandInput,
@@ -236,12 +240,12 @@ export interface TimestreamWrite {
236
240
  ): void;
237
241
  listTagsForResource(
238
242
  args: ListTagsForResourceCommandInput,
239
- options: __HttpHandlerOptions,
243
+ options: TimestreamWriteRequestOptions,
240
244
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
241
245
  ): void;
242
246
  resumeBatchLoadTask(
243
247
  args: ResumeBatchLoadTaskCommandInput,
244
- options?: __HttpHandlerOptions,
248
+ options?: TimestreamWriteRequestOptions,
245
249
  ): Promise<ResumeBatchLoadTaskCommandOutput>;
246
250
  resumeBatchLoadTask(
247
251
  args: ResumeBatchLoadTaskCommandInput,
@@ -249,12 +253,12 @@ export interface TimestreamWrite {
249
253
  ): void;
250
254
  resumeBatchLoadTask(
251
255
  args: ResumeBatchLoadTaskCommandInput,
252
- options: __HttpHandlerOptions,
256
+ options: TimestreamWriteRequestOptions,
253
257
  cb: (err: any, data?: ResumeBatchLoadTaskCommandOutput) => void,
254
258
  ): void;
255
259
  tagResource(
256
260
  args: TagResourceCommandInput,
257
- options?: __HttpHandlerOptions,
261
+ options?: TimestreamWriteRequestOptions,
258
262
  ): Promise<TagResourceCommandOutput>;
259
263
  tagResource(
260
264
  args: TagResourceCommandInput,
@@ -262,12 +266,12 @@ export interface TimestreamWrite {
262
266
  ): void;
263
267
  tagResource(
264
268
  args: TagResourceCommandInput,
265
- options: __HttpHandlerOptions,
269
+ options: TimestreamWriteRequestOptions,
266
270
  cb: (err: any, data?: TagResourceCommandOutput) => void,
267
271
  ): void;
268
272
  untagResource(
269
273
  args: UntagResourceCommandInput,
270
- options?: __HttpHandlerOptions,
274
+ options?: TimestreamWriteRequestOptions,
271
275
  ): Promise<UntagResourceCommandOutput>;
272
276
  untagResource(
273
277
  args: UntagResourceCommandInput,
@@ -275,12 +279,12 @@ export interface TimestreamWrite {
275
279
  ): void;
276
280
  untagResource(
277
281
  args: UntagResourceCommandInput,
278
- options: __HttpHandlerOptions,
282
+ options: TimestreamWriteRequestOptions,
279
283
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
280
284
  ): void;
281
285
  updateDatabase(
282
286
  args: UpdateDatabaseCommandInput,
283
- options?: __HttpHandlerOptions,
287
+ options?: TimestreamWriteRequestOptions,
284
288
  ): Promise<UpdateDatabaseCommandOutput>;
285
289
  updateDatabase(
286
290
  args: UpdateDatabaseCommandInput,
@@ -288,12 +292,12 @@ export interface TimestreamWrite {
288
292
  ): void;
289
293
  updateDatabase(
290
294
  args: UpdateDatabaseCommandInput,
291
- options: __HttpHandlerOptions,
295
+ options: TimestreamWriteRequestOptions,
292
296
  cb: (err: any, data?: UpdateDatabaseCommandOutput) => void,
293
297
  ): void;
294
298
  updateTable(
295
299
  args: UpdateTableCommandInput,
296
- options?: __HttpHandlerOptions,
300
+ options?: TimestreamWriteRequestOptions,
297
301
  ): Promise<UpdateTableCommandOutput>;
298
302
  updateTable(
299
303
  args: UpdateTableCommandInput,
@@ -301,12 +305,12 @@ export interface TimestreamWrite {
301
305
  ): void;
302
306
  updateTable(
303
307
  args: UpdateTableCommandInput,
304
- options: __HttpHandlerOptions,
308
+ options: TimestreamWriteRequestOptions,
305
309
  cb: (err: any, data?: UpdateTableCommandOutput) => void,
306
310
  ): void;
307
311
  writeRecords(
308
312
  args: WriteRecordsCommandInput,
309
- options?: __HttpHandlerOptions,
313
+ options?: TimestreamWriteRequestOptions,
310
314
  ): Promise<WriteRecordsCommandOutput>;
311
315
  writeRecords(
312
316
  args: WriteRecordsCommandInput,
@@ -314,7 +318,7 @@ export interface TimestreamWrite {
314
318
  ): void;
315
319
  writeRecords(
316
320
  args: WriteRecordsCommandInput,
317
- options: __HttpHandlerOptions,
321
+ options: TimestreamWriteRequestOptions,
318
322
  cb: (err: any, data?: WriteRecordsCommandOutput) => void,
319
323
  ): void;
320
324
  paginateListBatchLoadTasks(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-timestream-write",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Timestream Write Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-timestream-write",
6
6
  "license": "Apache-2.0",
@@ -46,14 +46,14 @@
46
46
  "test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
47
47
  },
48
48
  "dependencies": {
49
- "@aws-sdk/core": "^3.978.0",
50
- "@aws-sdk/credential-provider-node": "^3.972.83",
51
- "@aws-sdk/middleware-endpoint-discovery": "^3.972.30",
52
- "@aws-sdk/types": "^3.974.5",
53
- "@smithy/core": "^3.33.3",
54
- "@smithy/fetch-http-handler": "^5.7.2",
55
- "@smithy/node-http-handler": "^4.11.3",
56
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/middleware-endpoint-discovery": "^3.972.31",
52
+ "@aws-sdk/types": "^3.974.6",
53
+ "@smithy/core": "^3.35.0",
54
+ "@smithy/fetch-http-handler": "^5.8.0",
55
+ "@smithy/node-http-handler": "^4.12.1",
56
+ "@smithy/types": "^4.19.0",
57
57
  "tslib": "^2.6.2"
58
58
  },
59
59
  "devDependencies": {