@aws-sdk/client-timestream-influxdb 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
@@ -69,7 +69,7 @@ const commonParams = {
69
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
70
70
  };
71
71
 
72
- var version = "3.1136.0";
72
+ var version = "3.1138.0";
73
73
  var packageInfo = {
74
74
  version: version};
75
75
 
@@ -514,10 +514,10 @@ const _wRCL = "walReplayConcurrencyLimit";
514
514
  const _wRFOE = "walReplayFailOnError";
515
515
  const _wSS = "walSnapshotSize";
516
516
  const n0 = "com.amazonaws.timestreaminfluxdb";
517
- const _s_registry = TypeRegistry.for(_s);
517
+ const _s_registry = new TypeRegistry(_s);
518
518
  var TimestreamInfluxDBServiceException$ = [-3, _s, "TimestreamInfluxDBServiceException", 0, [], []];
519
519
  _s_registry.registerError(TimestreamInfluxDBServiceException$, TimestreamInfluxDBServiceException);
520
- const n0_registry = TypeRegistry.for(n0);
520
+ const n0_registry = new TypeRegistry(n0);
521
521
  var AccessDeniedException$ = [-3, n0, _ADE,
522
522
  { [_e]: _c, [_hE]: 403 },
523
523
  [_m],
@@ -278,10 +278,10 @@ const n0 = "com.amazonaws.timestreaminfluxdb";
278
278
  import { TypeRegistry } from "@smithy/core/schema";
279
279
  import { AccessDeniedException, ConflictException, InternalServerException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/errors";
280
280
  import { TimestreamInfluxDBServiceException } from "../models/TimestreamInfluxDBServiceException";
281
- const _s_registry = TypeRegistry.for(_s);
281
+ const _s_registry = new TypeRegistry(_s);
282
282
  export var TimestreamInfluxDBServiceException$ = [-3, _s, "TimestreamInfluxDBServiceException", 0, [], []];
283
283
  _s_registry.registerError(TimestreamInfluxDBServiceException$, TimestreamInfluxDBServiceException);
284
- const n0_registry = TypeRegistry.for(n0);
284
+ const n0_registry = new TypeRegistry(n0);
285
285
  export var AccessDeniedException$ = [-3, n0, _ADE,
286
286
  { [_e]: _c, [_hE]: 403 },
287
287
  [_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 CreateDbBackupCommandInput, type CreateDbBackupCommandOutput } from "./commands/CreateDbBackupCommand";
3
3
  import { type CreateDbClusterCommandInput, type CreateDbClusterCommandOutput } from "./commands/CreateDbClusterCommand";
4
4
  import { type CreateDbInstanceCommandInput, type CreateDbInstanceCommandOutput } from "./commands/CreateDbInstanceCommand";
@@ -24,155 +24,161 @@ import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from
24
24
  import { type UpdateDbClusterCommandInput, type UpdateDbClusterCommandOutput } from "./commands/UpdateDbClusterCommand";
25
25
  import { type UpdateDbInstanceCommandInput, type UpdateDbInstanceCommandOutput } from "./commands/UpdateDbInstanceCommand";
26
26
  import { TimestreamInfluxDBClient } from "./TimestreamInfluxDBClient";
27
+ /**
28
+ * @public
29
+ */
30
+ export interface TimestreamInfluxDBRequestOptions extends __HttpHandlerOptions {
31
+ metricsRecorder?: __MetricsRecorder<unknown>;
32
+ }
27
33
  export interface TimestreamInfluxDB {
28
34
  /**
29
35
  * @see {@link CreateDbBackupCommand}
30
36
  */
31
- createDbBackup(args: CreateDbBackupCommandInput, options?: __HttpHandlerOptions): Promise<CreateDbBackupCommandOutput>;
37
+ createDbBackup(args: CreateDbBackupCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<CreateDbBackupCommandOutput>;
32
38
  createDbBackup(args: CreateDbBackupCommandInput, cb: (err: any, data?: CreateDbBackupCommandOutput) => void): void;
33
- createDbBackup(args: CreateDbBackupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDbBackupCommandOutput) => void): void;
39
+ createDbBackup(args: CreateDbBackupCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: CreateDbBackupCommandOutput) => void): void;
34
40
  /**
35
41
  * @see {@link CreateDbClusterCommand}
36
42
  */
37
- createDbCluster(args: CreateDbClusterCommandInput, options?: __HttpHandlerOptions): Promise<CreateDbClusterCommandOutput>;
43
+ createDbCluster(args: CreateDbClusterCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<CreateDbClusterCommandOutput>;
38
44
  createDbCluster(args: CreateDbClusterCommandInput, cb: (err: any, data?: CreateDbClusterCommandOutput) => void): void;
39
- createDbCluster(args: CreateDbClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDbClusterCommandOutput) => void): void;
45
+ createDbCluster(args: CreateDbClusterCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: CreateDbClusterCommandOutput) => void): void;
40
46
  /**
41
47
  * @see {@link CreateDbInstanceCommand}
42
48
  */
43
- createDbInstance(args: CreateDbInstanceCommandInput, options?: __HttpHandlerOptions): Promise<CreateDbInstanceCommandOutput>;
49
+ createDbInstance(args: CreateDbInstanceCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<CreateDbInstanceCommandOutput>;
44
50
  createDbInstance(args: CreateDbInstanceCommandInput, cb: (err: any, data?: CreateDbInstanceCommandOutput) => void): void;
45
- createDbInstance(args: CreateDbInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDbInstanceCommandOutput) => void): void;
51
+ createDbInstance(args: CreateDbInstanceCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: CreateDbInstanceCommandOutput) => void): void;
46
52
  /**
47
53
  * @see {@link CreateDbParameterGroupCommand}
48
54
  */
49
- createDbParameterGroup(args: CreateDbParameterGroupCommandInput, options?: __HttpHandlerOptions): Promise<CreateDbParameterGroupCommandOutput>;
55
+ createDbParameterGroup(args: CreateDbParameterGroupCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<CreateDbParameterGroupCommandOutput>;
50
56
  createDbParameterGroup(args: CreateDbParameterGroupCommandInput, cb: (err: any, data?: CreateDbParameterGroupCommandOutput) => void): void;
51
- createDbParameterGroup(args: CreateDbParameterGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDbParameterGroupCommandOutput) => void): void;
57
+ createDbParameterGroup(args: CreateDbParameterGroupCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: CreateDbParameterGroupCommandOutput) => void): void;
52
58
  /**
53
59
  * @see {@link DeleteDbBackupCommand}
54
60
  */
55
- deleteDbBackup(args: DeleteDbBackupCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDbBackupCommandOutput>;
61
+ deleteDbBackup(args: DeleteDbBackupCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<DeleteDbBackupCommandOutput>;
56
62
  deleteDbBackup(args: DeleteDbBackupCommandInput, cb: (err: any, data?: DeleteDbBackupCommandOutput) => void): void;
57
- deleteDbBackup(args: DeleteDbBackupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDbBackupCommandOutput) => void): void;
63
+ deleteDbBackup(args: DeleteDbBackupCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: DeleteDbBackupCommandOutput) => void): void;
58
64
  /**
59
65
  * @see {@link DeleteDbClusterCommand}
60
66
  */
61
- deleteDbCluster(args: DeleteDbClusterCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDbClusterCommandOutput>;
67
+ deleteDbCluster(args: DeleteDbClusterCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<DeleteDbClusterCommandOutput>;
62
68
  deleteDbCluster(args: DeleteDbClusterCommandInput, cb: (err: any, data?: DeleteDbClusterCommandOutput) => void): void;
63
- deleteDbCluster(args: DeleteDbClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDbClusterCommandOutput) => void): void;
69
+ deleteDbCluster(args: DeleteDbClusterCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: DeleteDbClusterCommandOutput) => void): void;
64
70
  /**
65
71
  * @see {@link DeleteDbInstanceCommand}
66
72
  */
67
- deleteDbInstance(args: DeleteDbInstanceCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDbInstanceCommandOutput>;
73
+ deleteDbInstance(args: DeleteDbInstanceCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<DeleteDbInstanceCommandOutput>;
68
74
  deleteDbInstance(args: DeleteDbInstanceCommandInput, cb: (err: any, data?: DeleteDbInstanceCommandOutput) => void): void;
69
- deleteDbInstance(args: DeleteDbInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDbInstanceCommandOutput) => void): void;
75
+ deleteDbInstance(args: DeleteDbInstanceCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: DeleteDbInstanceCommandOutput) => void): void;
70
76
  /**
71
77
  * @see {@link GetDbBackupCommand}
72
78
  */
73
- getDbBackup(args: GetDbBackupCommandInput, options?: __HttpHandlerOptions): Promise<GetDbBackupCommandOutput>;
79
+ getDbBackup(args: GetDbBackupCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<GetDbBackupCommandOutput>;
74
80
  getDbBackup(args: GetDbBackupCommandInput, cb: (err: any, data?: GetDbBackupCommandOutput) => void): void;
75
- getDbBackup(args: GetDbBackupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDbBackupCommandOutput) => void): void;
81
+ getDbBackup(args: GetDbBackupCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: GetDbBackupCommandOutput) => void): void;
76
82
  /**
77
83
  * @see {@link GetDbClusterCommand}
78
84
  */
79
- getDbCluster(args: GetDbClusterCommandInput, options?: __HttpHandlerOptions): Promise<GetDbClusterCommandOutput>;
85
+ getDbCluster(args: GetDbClusterCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<GetDbClusterCommandOutput>;
80
86
  getDbCluster(args: GetDbClusterCommandInput, cb: (err: any, data?: GetDbClusterCommandOutput) => void): void;
81
- getDbCluster(args: GetDbClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDbClusterCommandOutput) => void): void;
87
+ getDbCluster(args: GetDbClusterCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: GetDbClusterCommandOutput) => void): void;
82
88
  /**
83
89
  * @see {@link GetDbInstanceCommand}
84
90
  */
85
- getDbInstance(args: GetDbInstanceCommandInput, options?: __HttpHandlerOptions): Promise<GetDbInstanceCommandOutput>;
91
+ getDbInstance(args: GetDbInstanceCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<GetDbInstanceCommandOutput>;
86
92
  getDbInstance(args: GetDbInstanceCommandInput, cb: (err: any, data?: GetDbInstanceCommandOutput) => void): void;
87
- getDbInstance(args: GetDbInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDbInstanceCommandOutput) => void): void;
93
+ getDbInstance(args: GetDbInstanceCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: GetDbInstanceCommandOutput) => void): void;
88
94
  /**
89
95
  * @see {@link GetDbParameterGroupCommand}
90
96
  */
91
- getDbParameterGroup(args: GetDbParameterGroupCommandInput, options?: __HttpHandlerOptions): Promise<GetDbParameterGroupCommandOutput>;
97
+ getDbParameterGroup(args: GetDbParameterGroupCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<GetDbParameterGroupCommandOutput>;
92
98
  getDbParameterGroup(args: GetDbParameterGroupCommandInput, cb: (err: any, data?: GetDbParameterGroupCommandOutput) => void): void;
93
- getDbParameterGroup(args: GetDbParameterGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDbParameterGroupCommandOutput) => void): void;
99
+ getDbParameterGroup(args: GetDbParameterGroupCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: GetDbParameterGroupCommandOutput) => void): void;
94
100
  /**
95
101
  * @see {@link ListDbBackupsCommand}
96
102
  */
97
103
  listDbBackups(): Promise<ListDbBackupsCommandOutput>;
98
- listDbBackups(args: ListDbBackupsCommandInput, options?: __HttpHandlerOptions): Promise<ListDbBackupsCommandOutput>;
104
+ listDbBackups(args: ListDbBackupsCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<ListDbBackupsCommandOutput>;
99
105
  listDbBackups(args: ListDbBackupsCommandInput, cb: (err: any, data?: ListDbBackupsCommandOutput) => void): void;
100
- listDbBackups(args: ListDbBackupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDbBackupsCommandOutput) => void): void;
106
+ listDbBackups(args: ListDbBackupsCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: ListDbBackupsCommandOutput) => void): void;
101
107
  /**
102
108
  * @see {@link ListDbClustersCommand}
103
109
  */
104
110
  listDbClusters(): Promise<ListDbClustersCommandOutput>;
105
- listDbClusters(args: ListDbClustersCommandInput, options?: __HttpHandlerOptions): Promise<ListDbClustersCommandOutput>;
111
+ listDbClusters(args: ListDbClustersCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<ListDbClustersCommandOutput>;
106
112
  listDbClusters(args: ListDbClustersCommandInput, cb: (err: any, data?: ListDbClustersCommandOutput) => void): void;
107
- listDbClusters(args: ListDbClustersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDbClustersCommandOutput) => void): void;
113
+ listDbClusters(args: ListDbClustersCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: ListDbClustersCommandOutput) => void): void;
108
114
  /**
109
115
  * @see {@link ListDbInstancesCommand}
110
116
  */
111
117
  listDbInstances(): Promise<ListDbInstancesCommandOutput>;
112
- listDbInstances(args: ListDbInstancesCommandInput, options?: __HttpHandlerOptions): Promise<ListDbInstancesCommandOutput>;
118
+ listDbInstances(args: ListDbInstancesCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<ListDbInstancesCommandOutput>;
113
119
  listDbInstances(args: ListDbInstancesCommandInput, cb: (err: any, data?: ListDbInstancesCommandOutput) => void): void;
114
- listDbInstances(args: ListDbInstancesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDbInstancesCommandOutput) => void): void;
120
+ listDbInstances(args: ListDbInstancesCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: ListDbInstancesCommandOutput) => void): void;
115
121
  /**
116
122
  * @see {@link ListDbInstancesForClusterCommand}
117
123
  */
118
- listDbInstancesForCluster(args: ListDbInstancesForClusterCommandInput, options?: __HttpHandlerOptions): Promise<ListDbInstancesForClusterCommandOutput>;
124
+ listDbInstancesForCluster(args: ListDbInstancesForClusterCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<ListDbInstancesForClusterCommandOutput>;
119
125
  listDbInstancesForCluster(args: ListDbInstancesForClusterCommandInput, cb: (err: any, data?: ListDbInstancesForClusterCommandOutput) => void): void;
120
- listDbInstancesForCluster(args: ListDbInstancesForClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDbInstancesForClusterCommandOutput) => void): void;
126
+ listDbInstancesForCluster(args: ListDbInstancesForClusterCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: ListDbInstancesForClusterCommandOutput) => void): void;
121
127
  /**
122
128
  * @see {@link ListDbParameterGroupsCommand}
123
129
  */
124
130
  listDbParameterGroups(): Promise<ListDbParameterGroupsCommandOutput>;
125
- listDbParameterGroups(args: ListDbParameterGroupsCommandInput, options?: __HttpHandlerOptions): Promise<ListDbParameterGroupsCommandOutput>;
131
+ listDbParameterGroups(args: ListDbParameterGroupsCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<ListDbParameterGroupsCommandOutput>;
126
132
  listDbParameterGroups(args: ListDbParameterGroupsCommandInput, cb: (err: any, data?: ListDbParameterGroupsCommandOutput) => void): void;
127
- listDbParameterGroups(args: ListDbParameterGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDbParameterGroupsCommandOutput) => void): void;
133
+ listDbParameterGroups(args: ListDbParameterGroupsCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: ListDbParameterGroupsCommandOutput) => void): void;
128
134
  /**
129
135
  * @see {@link ListTagsForResourceCommand}
130
136
  */
131
- listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
137
+ listTagsForResource(args: ListTagsForResourceCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<ListTagsForResourceCommandOutput>;
132
138
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
133
- listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
139
+ listTagsForResource(args: ListTagsForResourceCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
134
140
  /**
135
141
  * @see {@link RebootDbClusterCommand}
136
142
  */
137
- rebootDbCluster(args: RebootDbClusterCommandInput, options?: __HttpHandlerOptions): Promise<RebootDbClusterCommandOutput>;
143
+ rebootDbCluster(args: RebootDbClusterCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<RebootDbClusterCommandOutput>;
138
144
  rebootDbCluster(args: RebootDbClusterCommandInput, cb: (err: any, data?: RebootDbClusterCommandOutput) => void): void;
139
- rebootDbCluster(args: RebootDbClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RebootDbClusterCommandOutput) => void): void;
145
+ rebootDbCluster(args: RebootDbClusterCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: RebootDbClusterCommandOutput) => void): void;
140
146
  /**
141
147
  * @see {@link RebootDbInstanceCommand}
142
148
  */
143
- rebootDbInstance(args: RebootDbInstanceCommandInput, options?: __HttpHandlerOptions): Promise<RebootDbInstanceCommandOutput>;
149
+ rebootDbInstance(args: RebootDbInstanceCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<RebootDbInstanceCommandOutput>;
144
150
  rebootDbInstance(args: RebootDbInstanceCommandInput, cb: (err: any, data?: RebootDbInstanceCommandOutput) => void): void;
145
- rebootDbInstance(args: RebootDbInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RebootDbInstanceCommandOutput) => void): void;
151
+ rebootDbInstance(args: RebootDbInstanceCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: RebootDbInstanceCommandOutput) => void): void;
146
152
  /**
147
153
  * @see {@link RestoreFromDbBackupCommand}
148
154
  */
149
- restoreFromDbBackup(args: RestoreFromDbBackupCommandInput, options?: __HttpHandlerOptions): Promise<RestoreFromDbBackupCommandOutput>;
155
+ restoreFromDbBackup(args: RestoreFromDbBackupCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<RestoreFromDbBackupCommandOutput>;
150
156
  restoreFromDbBackup(args: RestoreFromDbBackupCommandInput, cb: (err: any, data?: RestoreFromDbBackupCommandOutput) => void): void;
151
- restoreFromDbBackup(args: RestoreFromDbBackupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreFromDbBackupCommandOutput) => void): void;
157
+ restoreFromDbBackup(args: RestoreFromDbBackupCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: RestoreFromDbBackupCommandOutput) => void): void;
152
158
  /**
153
159
  * @see {@link TagResourceCommand}
154
160
  */
155
- tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
161
+ tagResource(args: TagResourceCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<TagResourceCommandOutput>;
156
162
  tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
157
- tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
163
+ tagResource(args: TagResourceCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
158
164
  /**
159
165
  * @see {@link UntagResourceCommand}
160
166
  */
161
- untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
167
+ untagResource(args: UntagResourceCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<UntagResourceCommandOutput>;
162
168
  untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
163
- untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
169
+ untagResource(args: UntagResourceCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
164
170
  /**
165
171
  * @see {@link UpdateDbClusterCommand}
166
172
  */
167
- updateDbCluster(args: UpdateDbClusterCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDbClusterCommandOutput>;
173
+ updateDbCluster(args: UpdateDbClusterCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<UpdateDbClusterCommandOutput>;
168
174
  updateDbCluster(args: UpdateDbClusterCommandInput, cb: (err: any, data?: UpdateDbClusterCommandOutput) => void): void;
169
- updateDbCluster(args: UpdateDbClusterCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDbClusterCommandOutput) => void): void;
175
+ updateDbCluster(args: UpdateDbClusterCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: UpdateDbClusterCommandOutput) => void): void;
170
176
  /**
171
177
  * @see {@link UpdateDbInstanceCommand}
172
178
  */
173
- updateDbInstance(args: UpdateDbInstanceCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDbInstanceCommandOutput>;
179
+ updateDbInstance(args: UpdateDbInstanceCommandInput, options?: TimestreamInfluxDBRequestOptions): Promise<UpdateDbInstanceCommandOutput>;
174
180
  updateDbInstance(args: UpdateDbInstanceCommandInput, cb: (err: any, data?: UpdateDbInstanceCommandOutput) => void): void;
175
- updateDbInstance(args: UpdateDbInstanceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDbInstanceCommandOutput) => void): void;
181
+ updateDbInstance(args: UpdateDbInstanceCommandInput, options: TimestreamInfluxDBRequestOptions, cb: (err: any, data?: UpdateDbInstanceCommandOutput) => void): void;
176
182
  /**
177
183
  * @see {@link ListDbBackupsCommand}
178
184
  * @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";
@@ -94,10 +95,13 @@ import {
94
95
  UpdateDbInstanceCommandOutput,
95
96
  } from "./commands/UpdateDbInstanceCommand";
96
97
  import { TimestreamInfluxDBClient } from "./TimestreamInfluxDBClient";
98
+ export interface TimestreamInfluxDBRequestOptions extends __HttpHandlerOptions {
99
+ metricsRecorder?: __MetricsRecorder<unknown>;
100
+ }
97
101
  export interface TimestreamInfluxDB {
98
102
  createDbBackup(
99
103
  args: CreateDbBackupCommandInput,
100
- options?: __HttpHandlerOptions,
104
+ options?: TimestreamInfluxDBRequestOptions,
101
105
  ): Promise<CreateDbBackupCommandOutput>;
102
106
  createDbBackup(
103
107
  args: CreateDbBackupCommandInput,
@@ -105,12 +109,12 @@ export interface TimestreamInfluxDB {
105
109
  ): void;
106
110
  createDbBackup(
107
111
  args: CreateDbBackupCommandInput,
108
- options: __HttpHandlerOptions,
112
+ options: TimestreamInfluxDBRequestOptions,
109
113
  cb: (err: any, data?: CreateDbBackupCommandOutput) => void,
110
114
  ): void;
111
115
  createDbCluster(
112
116
  args: CreateDbClusterCommandInput,
113
- options?: __HttpHandlerOptions,
117
+ options?: TimestreamInfluxDBRequestOptions,
114
118
  ): Promise<CreateDbClusterCommandOutput>;
115
119
  createDbCluster(
116
120
  args: CreateDbClusterCommandInput,
@@ -118,12 +122,12 @@ export interface TimestreamInfluxDB {
118
122
  ): void;
119
123
  createDbCluster(
120
124
  args: CreateDbClusterCommandInput,
121
- options: __HttpHandlerOptions,
125
+ options: TimestreamInfluxDBRequestOptions,
122
126
  cb: (err: any, data?: CreateDbClusterCommandOutput) => void,
123
127
  ): void;
124
128
  createDbInstance(
125
129
  args: CreateDbInstanceCommandInput,
126
- options?: __HttpHandlerOptions,
130
+ options?: TimestreamInfluxDBRequestOptions,
127
131
  ): Promise<CreateDbInstanceCommandOutput>;
128
132
  createDbInstance(
129
133
  args: CreateDbInstanceCommandInput,
@@ -131,12 +135,12 @@ export interface TimestreamInfluxDB {
131
135
  ): void;
132
136
  createDbInstance(
133
137
  args: CreateDbInstanceCommandInput,
134
- options: __HttpHandlerOptions,
138
+ options: TimestreamInfluxDBRequestOptions,
135
139
  cb: (err: any, data?: CreateDbInstanceCommandOutput) => void,
136
140
  ): void;
137
141
  createDbParameterGroup(
138
142
  args: CreateDbParameterGroupCommandInput,
139
- options?: __HttpHandlerOptions,
143
+ options?: TimestreamInfluxDBRequestOptions,
140
144
  ): Promise<CreateDbParameterGroupCommandOutput>;
141
145
  createDbParameterGroup(
142
146
  args: CreateDbParameterGroupCommandInput,
@@ -144,12 +148,12 @@ export interface TimestreamInfluxDB {
144
148
  ): void;
145
149
  createDbParameterGroup(
146
150
  args: CreateDbParameterGroupCommandInput,
147
- options: __HttpHandlerOptions,
151
+ options: TimestreamInfluxDBRequestOptions,
148
152
  cb: (err: any, data?: CreateDbParameterGroupCommandOutput) => void,
149
153
  ): void;
150
154
  deleteDbBackup(
151
155
  args: DeleteDbBackupCommandInput,
152
- options?: __HttpHandlerOptions,
156
+ options?: TimestreamInfluxDBRequestOptions,
153
157
  ): Promise<DeleteDbBackupCommandOutput>;
154
158
  deleteDbBackup(
155
159
  args: DeleteDbBackupCommandInput,
@@ -157,12 +161,12 @@ export interface TimestreamInfluxDB {
157
161
  ): void;
158
162
  deleteDbBackup(
159
163
  args: DeleteDbBackupCommandInput,
160
- options: __HttpHandlerOptions,
164
+ options: TimestreamInfluxDBRequestOptions,
161
165
  cb: (err: any, data?: DeleteDbBackupCommandOutput) => void,
162
166
  ): void;
163
167
  deleteDbCluster(
164
168
  args: DeleteDbClusterCommandInput,
165
- options?: __HttpHandlerOptions,
169
+ options?: TimestreamInfluxDBRequestOptions,
166
170
  ): Promise<DeleteDbClusterCommandOutput>;
167
171
  deleteDbCluster(
168
172
  args: DeleteDbClusterCommandInput,
@@ -170,12 +174,12 @@ export interface TimestreamInfluxDB {
170
174
  ): void;
171
175
  deleteDbCluster(
172
176
  args: DeleteDbClusterCommandInput,
173
- options: __HttpHandlerOptions,
177
+ options: TimestreamInfluxDBRequestOptions,
174
178
  cb: (err: any, data?: DeleteDbClusterCommandOutput) => void,
175
179
  ): void;
176
180
  deleteDbInstance(
177
181
  args: DeleteDbInstanceCommandInput,
178
- options?: __HttpHandlerOptions,
182
+ options?: TimestreamInfluxDBRequestOptions,
179
183
  ): Promise<DeleteDbInstanceCommandOutput>;
180
184
  deleteDbInstance(
181
185
  args: DeleteDbInstanceCommandInput,
@@ -183,12 +187,12 @@ export interface TimestreamInfluxDB {
183
187
  ): void;
184
188
  deleteDbInstance(
185
189
  args: DeleteDbInstanceCommandInput,
186
- options: __HttpHandlerOptions,
190
+ options: TimestreamInfluxDBRequestOptions,
187
191
  cb: (err: any, data?: DeleteDbInstanceCommandOutput) => void,
188
192
  ): void;
189
193
  getDbBackup(
190
194
  args: GetDbBackupCommandInput,
191
- options?: __HttpHandlerOptions,
195
+ options?: TimestreamInfluxDBRequestOptions,
192
196
  ): Promise<GetDbBackupCommandOutput>;
193
197
  getDbBackup(
194
198
  args: GetDbBackupCommandInput,
@@ -196,12 +200,12 @@ export interface TimestreamInfluxDB {
196
200
  ): void;
197
201
  getDbBackup(
198
202
  args: GetDbBackupCommandInput,
199
- options: __HttpHandlerOptions,
203
+ options: TimestreamInfluxDBRequestOptions,
200
204
  cb: (err: any, data?: GetDbBackupCommandOutput) => void,
201
205
  ): void;
202
206
  getDbCluster(
203
207
  args: GetDbClusterCommandInput,
204
- options?: __HttpHandlerOptions,
208
+ options?: TimestreamInfluxDBRequestOptions,
205
209
  ): Promise<GetDbClusterCommandOutput>;
206
210
  getDbCluster(
207
211
  args: GetDbClusterCommandInput,
@@ -209,12 +213,12 @@ export interface TimestreamInfluxDB {
209
213
  ): void;
210
214
  getDbCluster(
211
215
  args: GetDbClusterCommandInput,
212
- options: __HttpHandlerOptions,
216
+ options: TimestreamInfluxDBRequestOptions,
213
217
  cb: (err: any, data?: GetDbClusterCommandOutput) => void,
214
218
  ): void;
215
219
  getDbInstance(
216
220
  args: GetDbInstanceCommandInput,
217
- options?: __HttpHandlerOptions,
221
+ options?: TimestreamInfluxDBRequestOptions,
218
222
  ): Promise<GetDbInstanceCommandOutput>;
219
223
  getDbInstance(
220
224
  args: GetDbInstanceCommandInput,
@@ -222,12 +226,12 @@ export interface TimestreamInfluxDB {
222
226
  ): void;
223
227
  getDbInstance(
224
228
  args: GetDbInstanceCommandInput,
225
- options: __HttpHandlerOptions,
229
+ options: TimestreamInfluxDBRequestOptions,
226
230
  cb: (err: any, data?: GetDbInstanceCommandOutput) => void,
227
231
  ): void;
228
232
  getDbParameterGroup(
229
233
  args: GetDbParameterGroupCommandInput,
230
- options?: __HttpHandlerOptions,
234
+ options?: TimestreamInfluxDBRequestOptions,
231
235
  ): Promise<GetDbParameterGroupCommandOutput>;
232
236
  getDbParameterGroup(
233
237
  args: GetDbParameterGroupCommandInput,
@@ -235,13 +239,13 @@ export interface TimestreamInfluxDB {
235
239
  ): void;
236
240
  getDbParameterGroup(
237
241
  args: GetDbParameterGroupCommandInput,
238
- options: __HttpHandlerOptions,
242
+ options: TimestreamInfluxDBRequestOptions,
239
243
  cb: (err: any, data?: GetDbParameterGroupCommandOutput) => void,
240
244
  ): void;
241
245
  listDbBackups(): Promise<ListDbBackupsCommandOutput>;
242
246
  listDbBackups(
243
247
  args: ListDbBackupsCommandInput,
244
- options?: __HttpHandlerOptions,
248
+ options?: TimestreamInfluxDBRequestOptions,
245
249
  ): Promise<ListDbBackupsCommandOutput>;
246
250
  listDbBackups(
247
251
  args: ListDbBackupsCommandInput,
@@ -249,13 +253,13 @@ export interface TimestreamInfluxDB {
249
253
  ): void;
250
254
  listDbBackups(
251
255
  args: ListDbBackupsCommandInput,
252
- options: __HttpHandlerOptions,
256
+ options: TimestreamInfluxDBRequestOptions,
253
257
  cb: (err: any, data?: ListDbBackupsCommandOutput) => void,
254
258
  ): void;
255
259
  listDbClusters(): Promise<ListDbClustersCommandOutput>;
256
260
  listDbClusters(
257
261
  args: ListDbClustersCommandInput,
258
- options?: __HttpHandlerOptions,
262
+ options?: TimestreamInfluxDBRequestOptions,
259
263
  ): Promise<ListDbClustersCommandOutput>;
260
264
  listDbClusters(
261
265
  args: ListDbClustersCommandInput,
@@ -263,13 +267,13 @@ export interface TimestreamInfluxDB {
263
267
  ): void;
264
268
  listDbClusters(
265
269
  args: ListDbClustersCommandInput,
266
- options: __HttpHandlerOptions,
270
+ options: TimestreamInfluxDBRequestOptions,
267
271
  cb: (err: any, data?: ListDbClustersCommandOutput) => void,
268
272
  ): void;
269
273
  listDbInstances(): Promise<ListDbInstancesCommandOutput>;
270
274
  listDbInstances(
271
275
  args: ListDbInstancesCommandInput,
272
- options?: __HttpHandlerOptions,
276
+ options?: TimestreamInfluxDBRequestOptions,
273
277
  ): Promise<ListDbInstancesCommandOutput>;
274
278
  listDbInstances(
275
279
  args: ListDbInstancesCommandInput,
@@ -277,12 +281,12 @@ export interface TimestreamInfluxDB {
277
281
  ): void;
278
282
  listDbInstances(
279
283
  args: ListDbInstancesCommandInput,
280
- options: __HttpHandlerOptions,
284
+ options: TimestreamInfluxDBRequestOptions,
281
285
  cb: (err: any, data?: ListDbInstancesCommandOutput) => void,
282
286
  ): void;
283
287
  listDbInstancesForCluster(
284
288
  args: ListDbInstancesForClusterCommandInput,
285
- options?: __HttpHandlerOptions,
289
+ options?: TimestreamInfluxDBRequestOptions,
286
290
  ): Promise<ListDbInstancesForClusterCommandOutput>;
287
291
  listDbInstancesForCluster(
288
292
  args: ListDbInstancesForClusterCommandInput,
@@ -290,13 +294,13 @@ export interface TimestreamInfluxDB {
290
294
  ): void;
291
295
  listDbInstancesForCluster(
292
296
  args: ListDbInstancesForClusterCommandInput,
293
- options: __HttpHandlerOptions,
297
+ options: TimestreamInfluxDBRequestOptions,
294
298
  cb: (err: any, data?: ListDbInstancesForClusterCommandOutput) => void,
295
299
  ): void;
296
300
  listDbParameterGroups(): Promise<ListDbParameterGroupsCommandOutput>;
297
301
  listDbParameterGroups(
298
302
  args: ListDbParameterGroupsCommandInput,
299
- options?: __HttpHandlerOptions,
303
+ options?: TimestreamInfluxDBRequestOptions,
300
304
  ): Promise<ListDbParameterGroupsCommandOutput>;
301
305
  listDbParameterGroups(
302
306
  args: ListDbParameterGroupsCommandInput,
@@ -304,12 +308,12 @@ export interface TimestreamInfluxDB {
304
308
  ): void;
305
309
  listDbParameterGroups(
306
310
  args: ListDbParameterGroupsCommandInput,
307
- options: __HttpHandlerOptions,
311
+ options: TimestreamInfluxDBRequestOptions,
308
312
  cb: (err: any, data?: ListDbParameterGroupsCommandOutput) => void,
309
313
  ): void;
310
314
  listTagsForResource(
311
315
  args: ListTagsForResourceCommandInput,
312
- options?: __HttpHandlerOptions,
316
+ options?: TimestreamInfluxDBRequestOptions,
313
317
  ): Promise<ListTagsForResourceCommandOutput>;
314
318
  listTagsForResource(
315
319
  args: ListTagsForResourceCommandInput,
@@ -317,12 +321,12 @@ export interface TimestreamInfluxDB {
317
321
  ): void;
318
322
  listTagsForResource(
319
323
  args: ListTagsForResourceCommandInput,
320
- options: __HttpHandlerOptions,
324
+ options: TimestreamInfluxDBRequestOptions,
321
325
  cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
322
326
  ): void;
323
327
  rebootDbCluster(
324
328
  args: RebootDbClusterCommandInput,
325
- options?: __HttpHandlerOptions,
329
+ options?: TimestreamInfluxDBRequestOptions,
326
330
  ): Promise<RebootDbClusterCommandOutput>;
327
331
  rebootDbCluster(
328
332
  args: RebootDbClusterCommandInput,
@@ -330,12 +334,12 @@ export interface TimestreamInfluxDB {
330
334
  ): void;
331
335
  rebootDbCluster(
332
336
  args: RebootDbClusterCommandInput,
333
- options: __HttpHandlerOptions,
337
+ options: TimestreamInfluxDBRequestOptions,
334
338
  cb: (err: any, data?: RebootDbClusterCommandOutput) => void,
335
339
  ): void;
336
340
  rebootDbInstance(
337
341
  args: RebootDbInstanceCommandInput,
338
- options?: __HttpHandlerOptions,
342
+ options?: TimestreamInfluxDBRequestOptions,
339
343
  ): Promise<RebootDbInstanceCommandOutput>;
340
344
  rebootDbInstance(
341
345
  args: RebootDbInstanceCommandInput,
@@ -343,12 +347,12 @@ export interface TimestreamInfluxDB {
343
347
  ): void;
344
348
  rebootDbInstance(
345
349
  args: RebootDbInstanceCommandInput,
346
- options: __HttpHandlerOptions,
350
+ options: TimestreamInfluxDBRequestOptions,
347
351
  cb: (err: any, data?: RebootDbInstanceCommandOutput) => void,
348
352
  ): void;
349
353
  restoreFromDbBackup(
350
354
  args: RestoreFromDbBackupCommandInput,
351
- options?: __HttpHandlerOptions,
355
+ options?: TimestreamInfluxDBRequestOptions,
352
356
  ): Promise<RestoreFromDbBackupCommandOutput>;
353
357
  restoreFromDbBackup(
354
358
  args: RestoreFromDbBackupCommandInput,
@@ -356,12 +360,12 @@ export interface TimestreamInfluxDB {
356
360
  ): void;
357
361
  restoreFromDbBackup(
358
362
  args: RestoreFromDbBackupCommandInput,
359
- options: __HttpHandlerOptions,
363
+ options: TimestreamInfluxDBRequestOptions,
360
364
  cb: (err: any, data?: RestoreFromDbBackupCommandOutput) => void,
361
365
  ): void;
362
366
  tagResource(
363
367
  args: TagResourceCommandInput,
364
- options?: __HttpHandlerOptions,
368
+ options?: TimestreamInfluxDBRequestOptions,
365
369
  ): Promise<TagResourceCommandOutput>;
366
370
  tagResource(
367
371
  args: TagResourceCommandInput,
@@ -369,12 +373,12 @@ export interface TimestreamInfluxDB {
369
373
  ): void;
370
374
  tagResource(
371
375
  args: TagResourceCommandInput,
372
- options: __HttpHandlerOptions,
376
+ options: TimestreamInfluxDBRequestOptions,
373
377
  cb: (err: any, data?: TagResourceCommandOutput) => void,
374
378
  ): void;
375
379
  untagResource(
376
380
  args: UntagResourceCommandInput,
377
- options?: __HttpHandlerOptions,
381
+ options?: TimestreamInfluxDBRequestOptions,
378
382
  ): Promise<UntagResourceCommandOutput>;
379
383
  untagResource(
380
384
  args: UntagResourceCommandInput,
@@ -382,12 +386,12 @@ export interface TimestreamInfluxDB {
382
386
  ): void;
383
387
  untagResource(
384
388
  args: UntagResourceCommandInput,
385
- options: __HttpHandlerOptions,
389
+ options: TimestreamInfluxDBRequestOptions,
386
390
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
387
391
  ): void;
388
392
  updateDbCluster(
389
393
  args: UpdateDbClusterCommandInput,
390
- options?: __HttpHandlerOptions,
394
+ options?: TimestreamInfluxDBRequestOptions,
391
395
  ): Promise<UpdateDbClusterCommandOutput>;
392
396
  updateDbCluster(
393
397
  args: UpdateDbClusterCommandInput,
@@ -395,12 +399,12 @@ export interface TimestreamInfluxDB {
395
399
  ): void;
396
400
  updateDbCluster(
397
401
  args: UpdateDbClusterCommandInput,
398
- options: __HttpHandlerOptions,
402
+ options: TimestreamInfluxDBRequestOptions,
399
403
  cb: (err: any, data?: UpdateDbClusterCommandOutput) => void,
400
404
  ): void;
401
405
  updateDbInstance(
402
406
  args: UpdateDbInstanceCommandInput,
403
- options?: __HttpHandlerOptions,
407
+ options?: TimestreamInfluxDBRequestOptions,
404
408
  ): Promise<UpdateDbInstanceCommandOutput>;
405
409
  updateDbInstance(
406
410
  args: UpdateDbInstanceCommandInput,
@@ -408,7 +412,7 @@ export interface TimestreamInfluxDB {
408
412
  ): void;
409
413
  updateDbInstance(
410
414
  args: UpdateDbInstanceCommandInput,
411
- options: __HttpHandlerOptions,
415
+ options: TimestreamInfluxDBRequestOptions,
412
416
  cb: (err: any, data?: UpdateDbInstanceCommandOutput) => void,
413
417
  ): void;
414
418
  paginateListDbBackups(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-timestream-influxdb",
3
- "version": "3.1137.0",
3
+ "version": "3.1139.0",
4
4
  "description": "AWS SDK for JavaScript Timestream Influxdb Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-timestream-influxdb",
6
6
  "license": "Apache-2.0",
@@ -46,13 +46,13 @@
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/types": "^3.974.5",
52
- "@smithy/core": "^3.33.3",
53
- "@smithy/fetch-http-handler": "^5.7.2",
54
- "@smithy/node-http-handler": "^4.11.3",
55
- "@smithy/types": "^4.17.2",
49
+ "@aws-sdk/core": "^3.978.1",
50
+ "@aws-sdk/credential-provider-node": "^3.972.84",
51
+ "@aws-sdk/types": "^3.974.6",
52
+ "@smithy/core": "^3.35.0",
53
+ "@smithy/fetch-http-handler": "^5.8.0",
54
+ "@smithy/node-http-handler": "^4.12.1",
55
+ "@smithy/types": "^4.19.0",
56
56
  "tslib": "^2.6.2"
57
57
  },
58
58
  "devDependencies": {