@aws-sdk/client-timestream-influxdb 3.658.0 → 3.661.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.
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateDbInstanceInputFilterSensitiveLog = exports._Parameters = exports.TracingType = exports.LogLevel = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.Status = exports.DeploymentType = exports.DbStorageType = exports.DbInstanceType = exports.ConflictException = exports.AccessDeniedException = void 0;
3
+ exports.CreateDbInstanceInputFilterSensitiveLog = exports._Parameters = exports.TracingType = exports.LogLevel = exports.DurationType = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.Status = exports.DeploymentType = exports.DbStorageType = exports.DbInstanceType = exports.ConflictException = exports.AccessDeniedException = void 0;
4
4
  const smithy_client_1 = require("@smithy/smithy-client");
5
5
  const TimestreamInfluxDBServiceException_1 = require("./TimestreamInfluxDBServiceException");
6
6
  class AccessDeniedException extends TimestreamInfluxDBServiceException_1.TimestreamInfluxDBServiceException {
@@ -136,6 +136,12 @@ class ValidationException extends TimestreamInfluxDBServiceException_1.Timestrea
136
136
  }
137
137
  }
138
138
  exports.ValidationException = ValidationException;
139
+ exports.DurationType = {
140
+ HOURS: "hours",
141
+ MILLISECONDS: "milliseconds",
142
+ MINUTES: "minutes",
143
+ SECONDS: "seconds",
144
+ };
139
145
  exports.LogLevel = {
140
146
  DEBUG: "debug",
141
147
  ERROR: "error",
@@ -126,6 +126,12 @@ export class ValidationException extends __BaseException {
126
126
  this.reason = opts.reason;
127
127
  }
128
128
  }
129
+ export const DurationType = {
130
+ HOURS: "hours",
131
+ MILLISECONDS: "milliseconds",
132
+ MINUTES: "minutes",
133
+ SECONDS: "seconds",
134
+ };
129
135
  export const LogLevel = {
130
136
  DEBUG: "debug",
131
137
  ERROR: "error",
@@ -61,6 +61,7 @@ declare const CreateDbInstanceCommand_base: {
61
61
  * tags: { // RequestTagMap
62
62
  * "<keys>": "STRING_VALUE",
63
63
  * },
64
+ * port: Number("int"),
64
65
  * };
65
66
  * const command = new CreateDbInstanceCommand(input);
66
67
  * const response = await client.send(command);
@@ -70,6 +71,7 @@ declare const CreateDbInstanceCommand_base: {
70
71
  * // arn: "STRING_VALUE", // required
71
72
  * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE",
72
73
  * // endpoint: "STRING_VALUE",
74
+ * // port: Number("int"),
73
75
  * // dbInstanceType: "db.influx.medium" || "db.influx.large" || "db.influx.xlarge" || "db.influx.2xlarge" || "db.influx.4xlarge" || "db.influx.8xlarge" || "db.influx.12xlarge" || "db.influx.16xlarge",
74
76
  * // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",
75
77
  * // allocatedStorage: Number("int"),
@@ -46,6 +46,48 @@ declare const CreateDbParameterGroupCommand_base: {
46
46
  * queryQueueSize: Number("int"),
47
47
  * tracingType: "log" || "jaeger",
48
48
  * metricsDisabled: true || false,
49
+ * httpIdleTimeout: { // Duration
50
+ * durationType: "hours" || "minutes" || "seconds" || "milliseconds", // required
51
+ * value: Number("long"), // required
52
+ * },
53
+ * httpReadHeaderTimeout: {
54
+ * durationType: "hours" || "minutes" || "seconds" || "milliseconds", // required
55
+ * value: Number("long"), // required
56
+ * },
57
+ * httpReadTimeout: {
58
+ * durationType: "hours" || "minutes" || "seconds" || "milliseconds", // required
59
+ * value: Number("long"), // required
60
+ * },
61
+ * httpWriteTimeout: {
62
+ * durationType: "hours" || "minutes" || "seconds" || "milliseconds", // required
63
+ * value: Number("long"), // required
64
+ * },
65
+ * influxqlMaxSelectBuckets: Number("long"),
66
+ * influxqlMaxSelectPoint: Number("long"),
67
+ * influxqlMaxSelectSeries: Number("long"),
68
+ * pprofDisabled: true || false,
69
+ * queryInitialMemoryBytes: Number("long"),
70
+ * queryMaxMemoryBytes: Number("long"),
71
+ * queryMemoryBytes: Number("long"),
72
+ * sessionLength: Number("int"),
73
+ * sessionRenewDisabled: true || false,
74
+ * storageCacheMaxMemorySize: Number("long"),
75
+ * storageCacheSnapshotMemorySize: Number("long"),
76
+ * storageCacheSnapshotWriteColdDuration: {
77
+ * durationType: "hours" || "minutes" || "seconds" || "milliseconds", // required
78
+ * value: Number("long"), // required
79
+ * },
80
+ * storageCompactFullWriteColdDuration: "<Duration>",
81
+ * storageCompactThroughputBurst: Number("long"),
82
+ * storageMaxConcurrentCompactions: Number("int"),
83
+ * storageMaxIndexLogFileSize: Number("long"),
84
+ * storageNoValidateFieldSize: true || false,
85
+ * storageRetentionCheckInterval: "<Duration>",
86
+ * storageSeriesFileMaxConcurrentSnapshotCompactions: Number("int"),
87
+ * storageSeriesIdSetCacheSize: Number("long"),
88
+ * storageWalMaxConcurrentWrites: Number("int"),
89
+ * storageWalMaxWriteDelay: "<Duration>",
90
+ * uiDisabled: true || false,
49
91
  * },
50
92
  * },
51
93
  * tags: { // RequestTagMap
@@ -68,6 +110,48 @@ declare const CreateDbParameterGroupCommand_base: {
68
110
  * // queryQueueSize: Number("int"),
69
111
  * // tracingType: "log" || "jaeger",
70
112
  * // metricsDisabled: true || false,
113
+ * // httpIdleTimeout: { // Duration
114
+ * // durationType: "hours" || "minutes" || "seconds" || "milliseconds", // required
115
+ * // value: Number("long"), // required
116
+ * // },
117
+ * // httpReadHeaderTimeout: {
118
+ * // durationType: "hours" || "minutes" || "seconds" || "milliseconds", // required
119
+ * // value: Number("long"), // required
120
+ * // },
121
+ * // httpReadTimeout: {
122
+ * // durationType: "hours" || "minutes" || "seconds" || "milliseconds", // required
123
+ * // value: Number("long"), // required
124
+ * // },
125
+ * // httpWriteTimeout: {
126
+ * // durationType: "hours" || "minutes" || "seconds" || "milliseconds", // required
127
+ * // value: Number("long"), // required
128
+ * // },
129
+ * // influxqlMaxSelectBuckets: Number("long"),
130
+ * // influxqlMaxSelectPoint: Number("long"),
131
+ * // influxqlMaxSelectSeries: Number("long"),
132
+ * // pprofDisabled: true || false,
133
+ * // queryInitialMemoryBytes: Number("long"),
134
+ * // queryMaxMemoryBytes: Number("long"),
135
+ * // queryMemoryBytes: Number("long"),
136
+ * // sessionLength: Number("int"),
137
+ * // sessionRenewDisabled: true || false,
138
+ * // storageCacheMaxMemorySize: Number("long"),
139
+ * // storageCacheSnapshotMemorySize: Number("long"),
140
+ * // storageCacheSnapshotWriteColdDuration: {
141
+ * // durationType: "hours" || "minutes" || "seconds" || "milliseconds", // required
142
+ * // value: Number("long"), // required
143
+ * // },
144
+ * // storageCompactFullWriteColdDuration: "<Duration>",
145
+ * // storageCompactThroughputBurst: Number("long"),
146
+ * // storageMaxConcurrentCompactions: Number("int"),
147
+ * // storageMaxIndexLogFileSize: Number("long"),
148
+ * // storageNoValidateFieldSize: true || false,
149
+ * // storageRetentionCheckInterval: "<Duration>",
150
+ * // storageSeriesFileMaxConcurrentSnapshotCompactions: Number("int"),
151
+ * // storageSeriesIdSetCacheSize: Number("long"),
152
+ * // storageWalMaxConcurrentWrites: Number("int"),
153
+ * // storageWalMaxWriteDelay: "<Duration>",
154
+ * // uiDisabled: true || false,
71
155
  * // },
72
156
  * // },
73
157
  * // };
@@ -45,6 +45,7 @@ declare const DeleteDbInstanceCommand_base: {
45
45
  * // arn: "STRING_VALUE", // required
46
46
  * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE",
47
47
  * // endpoint: "STRING_VALUE",
48
+ * // port: Number("int"),
48
49
  * // dbInstanceType: "db.influx.medium" || "db.influx.large" || "db.influx.xlarge" || "db.influx.2xlarge" || "db.influx.4xlarge" || "db.influx.8xlarge" || "db.influx.12xlarge" || "db.influx.16xlarge",
49
50
  * // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",
50
51
  * // allocatedStorage: Number("int"),
@@ -45,6 +45,7 @@ declare const GetDbInstanceCommand_base: {
45
45
  * // arn: "STRING_VALUE", // required
46
46
  * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE",
47
47
  * // endpoint: "STRING_VALUE",
48
+ * // port: Number("int"),
48
49
  * // dbInstanceType: "db.influx.medium" || "db.influx.large" || "db.influx.xlarge" || "db.influx.2xlarge" || "db.influx.4xlarge" || "db.influx.8xlarge" || "db.influx.12xlarge" || "db.influx.16xlarge",
49
50
  * // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",
50
51
  * // allocatedStorage: Number("int"),
@@ -53,6 +53,48 @@ declare const GetDbParameterGroupCommand_base: {
53
53
  * // queryQueueSize: Number("int"),
54
54
  * // tracingType: "log" || "jaeger",
55
55
  * // metricsDisabled: true || false,
56
+ * // httpIdleTimeout: { // Duration
57
+ * // durationType: "hours" || "minutes" || "seconds" || "milliseconds", // required
58
+ * // value: Number("long"), // required
59
+ * // },
60
+ * // httpReadHeaderTimeout: {
61
+ * // durationType: "hours" || "minutes" || "seconds" || "milliseconds", // required
62
+ * // value: Number("long"), // required
63
+ * // },
64
+ * // httpReadTimeout: {
65
+ * // durationType: "hours" || "minutes" || "seconds" || "milliseconds", // required
66
+ * // value: Number("long"), // required
67
+ * // },
68
+ * // httpWriteTimeout: {
69
+ * // durationType: "hours" || "minutes" || "seconds" || "milliseconds", // required
70
+ * // value: Number("long"), // required
71
+ * // },
72
+ * // influxqlMaxSelectBuckets: Number("long"),
73
+ * // influxqlMaxSelectPoint: Number("long"),
74
+ * // influxqlMaxSelectSeries: Number("long"),
75
+ * // pprofDisabled: true || false,
76
+ * // queryInitialMemoryBytes: Number("long"),
77
+ * // queryMaxMemoryBytes: Number("long"),
78
+ * // queryMemoryBytes: Number("long"),
79
+ * // sessionLength: Number("int"),
80
+ * // sessionRenewDisabled: true || false,
81
+ * // storageCacheMaxMemorySize: Number("long"),
82
+ * // storageCacheSnapshotMemorySize: Number("long"),
83
+ * // storageCacheSnapshotWriteColdDuration: {
84
+ * // durationType: "hours" || "minutes" || "seconds" || "milliseconds", // required
85
+ * // value: Number("long"), // required
86
+ * // },
87
+ * // storageCompactFullWriteColdDuration: "<Duration>",
88
+ * // storageCompactThroughputBurst: Number("long"),
89
+ * // storageMaxConcurrentCompactions: Number("int"),
90
+ * // storageMaxIndexLogFileSize: Number("long"),
91
+ * // storageNoValidateFieldSize: true || false,
92
+ * // storageRetentionCheckInterval: "<Duration>",
93
+ * // storageSeriesFileMaxConcurrentSnapshotCompactions: Number("int"),
94
+ * // storageSeriesIdSetCacheSize: Number("long"),
95
+ * // storageWalMaxConcurrentWrites: Number("int"),
96
+ * // storageWalMaxWriteDelay: "<Duration>",
97
+ * // uiDisabled: true || false,
56
98
  * // },
57
99
  * // },
58
100
  * // };
@@ -48,6 +48,7 @@ declare const ListDbInstancesCommand_base: {
48
48
  * // arn: "STRING_VALUE", // required
49
49
  * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE",
50
50
  * // endpoint: "STRING_VALUE",
51
+ * // port: Number("int"),
51
52
  * // dbInstanceType: "db.influx.medium" || "db.influx.large" || "db.influx.xlarge" || "db.influx.2xlarge" || "db.influx.4xlarge" || "db.influx.8xlarge" || "db.influx.12xlarge" || "db.influx.16xlarge",
52
53
  * // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",
53
54
  * // allocatedStorage: Number("int"),
@@ -43,6 +43,7 @@ declare const UpdateDbInstanceCommand_base: {
43
43
  * },
44
44
  * },
45
45
  * dbParameterGroupIdentifier: "STRING_VALUE",
46
+ * port: Number("int"),
46
47
  * dbInstanceType: "db.influx.medium" || "db.influx.large" || "db.influx.xlarge" || "db.influx.2xlarge" || "db.influx.4xlarge" || "db.influx.8xlarge" || "db.influx.12xlarge" || "db.influx.16xlarge",
47
48
  * deploymentType: "SINGLE_AZ" || "WITH_MULTIAZ_STANDBY",
48
49
  * };
@@ -54,6 +55,7 @@ declare const UpdateDbInstanceCommand_base: {
54
55
  * // arn: "STRING_VALUE", // required
55
56
  * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE",
56
57
  * // endpoint: "STRING_VALUE",
58
+ * // port: Number("int"),
57
59
  * // dbInstanceType: "db.influx.medium" || "db.influx.large" || "db.influx.xlarge" || "db.influx.2xlarge" || "db.influx.4xlarge" || "db.influx.8xlarge" || "db.influx.12xlarge" || "db.influx.16xlarge",
58
60
  * // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",
59
61
  * // allocatedStorage: Number("int"),
@@ -195,6 +195,14 @@ export interface CreateDbInstanceInput {
195
195
  * @public
196
196
  */
197
197
  tags?: Record<string, string>;
198
+ /**
199
+ * <p>The port number on which InfluxDB accepts connections.</p>
200
+ * <p>Valid Values: 1024-65535</p>
201
+ * <p>Default: 8086</p>
202
+ * <p>Constraints: The value can't be 2375-2376, 7788-7799, 8090, or 51678-51680</p>
203
+ * @public
204
+ */
205
+ port?: number;
198
206
  }
199
207
  /**
200
208
  * @public
@@ -244,6 +252,11 @@ export interface CreateDbInstanceOutput {
244
252
  * @public
245
253
  */
246
254
  endpoint?: string;
255
+ /**
256
+ * <p>The port number on which InfluxDB accepts connections. The default value is 8086.</p>
257
+ * @public
258
+ */
259
+ port?: number;
247
260
  /**
248
261
  * <p>The Timestream for InfluxDB instance type that InfluxDB runs on.</p>
249
262
  * @public
@@ -438,6 +451,11 @@ export interface DeleteDbInstanceOutput {
438
451
  * @public
439
452
  */
440
453
  endpoint?: string;
454
+ /**
455
+ * <p>The port number on which InfluxDB accepts connections.</p>
456
+ * @public
457
+ */
458
+ port?: number;
441
459
  /**
442
460
  * <p>The Timestream for InfluxDB instance type that InfluxDB runs on.</p>
443
461
  * @public
@@ -538,6 +556,11 @@ export interface GetDbInstanceOutput {
538
556
  * @public
539
557
  */
540
558
  endpoint?: string;
559
+ /**
560
+ * <p>The port number on which InfluxDB accepts connections.</p>
561
+ * @public
562
+ */
563
+ port?: number;
541
564
  /**
542
565
  * <p>The Timestream for InfluxDB instance type that InfluxDB runs on.</p>
543
566
  * @public
@@ -644,6 +667,11 @@ export interface DbInstanceSummary {
644
667
  * @public
645
668
  */
646
669
  endpoint?: string;
670
+ /**
671
+ * <p>The port number on which InfluxDB accepts connections.</p>
672
+ * @public
673
+ */
674
+ port?: number;
647
675
  /**
648
676
  * <p>The Timestream for InfluxDB instance type to run InfluxDB on.</p>
649
677
  * @public
@@ -700,6 +728,15 @@ export interface UpdateDbInstanceInput {
700
728
  * @public
701
729
  */
702
730
  dbParameterGroupIdentifier?: string;
731
+ /**
732
+ * <p>The port number on which InfluxDB accepts connections.</p>
733
+ * <p>If you change the Port value, your database restarts immediately.</p>
734
+ * <p>Valid Values: 1024-65535</p>
735
+ * <p>Default: 8086</p>
736
+ * <p>Constraints: The value can't be 2375-2376, 7788-7799, 8090, or 51678-51680</p>
737
+ * @public
738
+ */
739
+ port?: number;
703
740
  /**
704
741
  * <p>The Timestream for InfluxDB DB instance type to run InfluxDB on.</p>
705
742
  * @public
@@ -740,6 +777,11 @@ export interface UpdateDbInstanceOutput {
740
777
  * @public
741
778
  */
742
779
  endpoint?: string;
780
+ /**
781
+ * <p>The port number on which InfluxDB accepts connections.</p>
782
+ * @public
783
+ */
784
+ port?: number;
743
785
  /**
744
786
  * <p>The Timestream for InfluxDB instance type that InfluxDB runs on.</p>
745
787
  * @public
@@ -801,6 +843,36 @@ export interface UpdateDbInstanceOutput {
801
843
  */
802
844
  influxAuthParametersSecretArn?: string;
803
845
  }
846
+ /**
847
+ * @public
848
+ * @enum
849
+ */
850
+ export declare const DurationType: {
851
+ readonly HOURS: "hours";
852
+ readonly MILLISECONDS: "milliseconds";
853
+ readonly MINUTES: "minutes";
854
+ readonly SECONDS: "seconds";
855
+ };
856
+ /**
857
+ * @public
858
+ */
859
+ export type DurationType = (typeof DurationType)[keyof typeof DurationType];
860
+ /**
861
+ * <p>Duration for InfluxDB parameters in Timestream for InfluxDB.</p>
862
+ * @public
863
+ */
864
+ export interface Duration {
865
+ /**
866
+ * <p>The type of duration for InfluxDB parameters.</p>
867
+ * @public
868
+ */
869
+ durationType: DurationType | undefined;
870
+ /**
871
+ * <p>The value of duration for InfluxDB parameters.</p>
872
+ * @public
873
+ */
874
+ value: number | undefined;
875
+ }
804
876
  /**
805
877
  * @public
806
878
  * @enum
@@ -872,6 +944,168 @@ export interface InfluxDBv2Parameters {
872
944
  * @public
873
945
  */
874
946
  metricsDisabled?: boolean;
947
+ /**
948
+ * <p>Maximum duration the server should keep established connections alive while waiting for new requests. Set to 0 for no timeout.</p>
949
+ * <p>Default: 3 minutes</p>
950
+ * @public
951
+ */
952
+ httpIdleTimeout?: Duration;
953
+ /**
954
+ * <p>Maximum duration the server should try to read HTTP headers for new requests. Set to 0 for no timeout.</p>
955
+ * <p>Default: 10 seconds</p>
956
+ * @public
957
+ */
958
+ httpReadHeaderTimeout?: Duration;
959
+ /**
960
+ * <p>Maximum duration the server should try to read the entirety of new requests. Set to 0 for no timeout.</p>
961
+ * <p>Default: 0</p>
962
+ * @public
963
+ */
964
+ httpReadTimeout?: Duration;
965
+ /**
966
+ * <p>Maximum duration the server should spend processing and responding to write requests. Set to 0 for no timeout.</p>
967
+ * <p>Default: 0</p>
968
+ * @public
969
+ */
970
+ httpWriteTimeout?: Duration;
971
+ /**
972
+ * <p>Maximum number of group by time buckets a SELECT statement can create. 0 allows an unlimited number of buckets.</p>
973
+ * <p>Default: 0</p>
974
+ * @public
975
+ */
976
+ influxqlMaxSelectBuckets?: number;
977
+ /**
978
+ * <p>Maximum number of points a SELECT statement can process. 0 allows an unlimited number of points. InfluxDB checks the point count every second (so queries exceeding the maximum aren’t immediately aborted).</p>
979
+ * <p>Default: 0</p>
980
+ * @public
981
+ */
982
+ influxqlMaxSelectPoint?: number;
983
+ /**
984
+ * <p>Maximum number of series a SELECT statement can return. 0 allows an unlimited number of series.</p>
985
+ * <p>Default: 0</p>
986
+ * @public
987
+ */
988
+ influxqlMaxSelectSeries?: number;
989
+ /**
990
+ * <p>Disable the /debug/pprof HTTP endpoint. This endpoint provides runtime profiling data and can be helpful when debugging.</p>
991
+ * <p>Default: false</p>
992
+ * @public
993
+ */
994
+ pprofDisabled?: boolean;
995
+ /**
996
+ * <p>Initial bytes of memory allocated for a query.</p>
997
+ * <p>Default: 0</p>
998
+ * @public
999
+ */
1000
+ queryInitialMemoryBytes?: number;
1001
+ /**
1002
+ * <p>Maximum number of queries allowed in execution queue. When queue limit is reached, new queries are rejected. Setting to 0 allows an unlimited number of queries in the queue.</p>
1003
+ * <p>Default: 0</p>
1004
+ * @public
1005
+ */
1006
+ queryMaxMemoryBytes?: number;
1007
+ /**
1008
+ * <p>Maximum bytes of memory allowed for a single query. Must be greater or equal to queryInitialMemoryBytes.</p>
1009
+ * <p>Default: 0</p>
1010
+ * @public
1011
+ */
1012
+ queryMemoryBytes?: number;
1013
+ /**
1014
+ * <p>Specifies the Time to Live (TTL) in minutes for newly created user sessions.</p>
1015
+ * <p>Default: 60</p>
1016
+ * @public
1017
+ */
1018
+ sessionLength?: number;
1019
+ /**
1020
+ * <p>Disables automatically extending a user’s session TTL on each request. By default, every request sets the session’s expiration time to five minutes from now. When disabled, sessions expire after the specified <a href="https://docs.influxdata.com/influxdb/v2/reference/config-options/#session-length">session length</a> and the user is redirected to the login page, even if recently active.</p>
1021
+ * <p>Default: false</p>
1022
+ * @public
1023
+ */
1024
+ sessionRenewDisabled?: boolean;
1025
+ /**
1026
+ * <p>Maximum size (in bytes) a shard’s cache can reach before it starts rejecting writes. Must be greater than storageCacheSnapShotMemorySize and lower than instance’s total memory capacity. We recommend setting it to below 15% of the total memory capacity.</p>
1027
+ * <p>Default: 1073741824</p>
1028
+ * @public
1029
+ */
1030
+ storageCacheMaxMemorySize?: number;
1031
+ /**
1032
+ * <p>Size (in bytes) at which the storage engine will snapshot the cache and write it to a TSM file to make more memory available. Must not be greater than storageCacheMaxMemorySize.</p>
1033
+ * <p>Default: 26214400</p>
1034
+ * @public
1035
+ */
1036
+ storageCacheSnapshotMemorySize?: number;
1037
+ /**
1038
+ * <p>Duration at which the storage engine will snapshot the cache and write it to a new TSM file if the shard hasn’t received writes or deletes.</p>
1039
+ * <p>Default: 10 minutes</p>
1040
+ * @public
1041
+ */
1042
+ storageCacheSnapshotWriteColdDuration?: Duration;
1043
+ /**
1044
+ * <p>Duration at which the storage engine will compact all TSM files in a shard if it hasn't received writes or deletes.</p>
1045
+ * <p>Default: 4 hours</p>
1046
+ * @public
1047
+ */
1048
+ storageCompactFullWriteColdDuration?: Duration;
1049
+ /**
1050
+ * <p>Rate limit (in bytes per second) that TSM compactions can write to disk.</p>
1051
+ * <p>Default: 50331648</p>
1052
+ * @public
1053
+ */
1054
+ storageCompactThroughputBurst?: number;
1055
+ /**
1056
+ * <p>Maximum number of full and level compactions that can run concurrently. A value of 0 results in 50% of runtime.GOMAXPROCS(0) used at runtime. Any number greater than zero limits compactions to that value. This setting does not apply to cache snapshotting.</p>
1057
+ * <p>Default: 0</p>
1058
+ * @public
1059
+ */
1060
+ storageMaxConcurrentCompactions?: number;
1061
+ /**
1062
+ * <p>Size (in bytes) at which an index write-ahead log (WAL) file will compact into an index file. Lower sizes will cause log files to be compacted more quickly and result in lower heap usage at the expense of write throughput.</p>
1063
+ * <p>Default: 1048576</p>
1064
+ * @public
1065
+ */
1066
+ storageMaxIndexLogFileSize?: number;
1067
+ /**
1068
+ * <p>Skip field size validation on incoming write requests.</p>
1069
+ * <p>Default: false</p>
1070
+ * @public
1071
+ */
1072
+ storageNoValidateFieldSize?: boolean;
1073
+ /**
1074
+ * <p>Interval of retention policy enforcement checks. Must be greater than 0.</p>
1075
+ * <p>Default: 30 minutes</p>
1076
+ * @public
1077
+ */
1078
+ storageRetentionCheckInterval?: Duration;
1079
+ /**
1080
+ * <p>Maximum number of snapshot compactions that can run concurrently across all series partitions in a database.</p>
1081
+ * <p>Default: 0</p>
1082
+ * @public
1083
+ */
1084
+ storageSeriesFileMaxConcurrentSnapshotCompactions?: number;
1085
+ /**
1086
+ * <p>Size of the internal cache used in the TSI index to store previously calculated series results. Cached results are returned quickly rather than needing to be recalculated when a subsequent query with the same tag key/value predicate is executed. Setting this value to 0 will disable the cache and may decrease query performance.</p>
1087
+ * <p>Default: 100</p>
1088
+ * @public
1089
+ */
1090
+ storageSeriesIdSetCacheSize?: number;
1091
+ /**
1092
+ * <p>Maximum number writes to the WAL directory to attempt at the same time. Setting this value to 0 results in number of processing units available x2.</p>
1093
+ * <p>Default: 0</p>
1094
+ * @public
1095
+ */
1096
+ storageWalMaxConcurrentWrites?: number;
1097
+ /**
1098
+ * <p>Maximum amount of time a write request to the WAL directory will wait when the <a href="https://docs.influxdata.com/influxdb/v2/reference/config-options/#storage-wal-max-concurrent-writes">maximum number of concurrent active writes to the WAL directory has been met</a>. Set to 0 to disable the timeout.</p>
1099
+ * <p>Default: 10 minutes</p>
1100
+ * @public
1101
+ */
1102
+ storageWalMaxWriteDelay?: Duration;
1103
+ /**
1104
+ * <p>Disable the InfluxDB user interface (UI). The UI is enabled by default.</p>
1105
+ * <p>Default: false</p>
1106
+ * @public
1107
+ */
1108
+ uiDisabled?: boolean;
875
1109
  }
876
1110
  /**
877
1111
  * <p>The parameters that comprise the parameter group.</p>
@@ -61,6 +61,7 @@ export interface CreateDbInstanceInput {
61
61
  deploymentType?: DeploymentType;
62
62
  logDeliveryConfiguration?: LogDeliveryConfiguration;
63
63
  tags?: Record<string, string>;
64
+ port?: number;
64
65
  }
65
66
  export declare const Status: {
66
67
  readonly AVAILABLE: "AVAILABLE";
@@ -80,6 +81,7 @@ export interface CreateDbInstanceOutput {
80
81
  arn: string | undefined;
81
82
  status?: Status;
82
83
  endpoint?: string;
84
+ port?: number;
83
85
  dbInstanceType?: DbInstanceType;
84
86
  dbStorageType?: DbStorageType;
85
87
  allocatedStorage?: number;
@@ -149,6 +151,7 @@ export interface DeleteDbInstanceOutput {
149
151
  arn: string | undefined;
150
152
  status?: Status;
151
153
  endpoint?: string;
154
+ port?: number;
152
155
  dbInstanceType?: DbInstanceType;
153
156
  dbStorageType?: DbStorageType;
154
157
  allocatedStorage?: number;
@@ -171,6 +174,7 @@ export interface GetDbInstanceOutput {
171
174
  arn: string | undefined;
172
175
  status?: Status;
173
176
  endpoint?: string;
177
+ port?: number;
174
178
  dbInstanceType?: DbInstanceType;
175
179
  dbStorageType?: DbStorageType;
176
180
  allocatedStorage?: number;
@@ -194,6 +198,7 @@ export interface DbInstanceSummary {
194
198
  arn: string | undefined;
195
199
  status?: Status;
196
200
  endpoint?: string;
201
+ port?: number;
197
202
  dbInstanceType?: DbInstanceType;
198
203
  dbStorageType?: DbStorageType;
199
204
  allocatedStorage?: number;
@@ -207,6 +212,7 @@ export interface UpdateDbInstanceInput {
207
212
  identifier: string | undefined;
208
213
  logDeliveryConfiguration?: LogDeliveryConfiguration;
209
214
  dbParameterGroupIdentifier?: string;
215
+ port?: number;
210
216
  dbInstanceType?: DbInstanceType;
211
217
  deploymentType?: DeploymentType;
212
218
  }
@@ -216,6 +222,7 @@ export interface UpdateDbInstanceOutput {
216
222
  arn: string | undefined;
217
223
  status?: Status;
218
224
  endpoint?: string;
225
+ port?: number;
219
226
  dbInstanceType?: DbInstanceType;
220
227
  dbStorageType?: DbStorageType;
221
228
  allocatedStorage?: number;
@@ -229,6 +236,17 @@ export interface UpdateDbInstanceOutput {
229
236
  logDeliveryConfiguration?: LogDeliveryConfiguration;
230
237
  influxAuthParametersSecretArn?: string;
231
238
  }
239
+ export declare const DurationType: {
240
+ readonly HOURS: "hours";
241
+ readonly MILLISECONDS: "milliseconds";
242
+ readonly MINUTES: "minutes";
243
+ readonly SECONDS: "seconds";
244
+ };
245
+ export type DurationType = (typeof DurationType)[keyof typeof DurationType];
246
+ export interface Duration {
247
+ durationType: DurationType | undefined;
248
+ value: number | undefined;
249
+ }
232
250
  export declare const LogLevel: {
233
251
  readonly DEBUG: "debug";
234
252
  readonly ERROR: "error";
@@ -248,6 +266,33 @@ export interface InfluxDBv2Parameters {
248
266
  queryQueueSize?: number;
249
267
  tracingType?: TracingType;
250
268
  metricsDisabled?: boolean;
269
+ httpIdleTimeout?: Duration;
270
+ httpReadHeaderTimeout?: Duration;
271
+ httpReadTimeout?: Duration;
272
+ httpWriteTimeout?: Duration;
273
+ influxqlMaxSelectBuckets?: number;
274
+ influxqlMaxSelectPoint?: number;
275
+ influxqlMaxSelectSeries?: number;
276
+ pprofDisabled?: boolean;
277
+ queryInitialMemoryBytes?: number;
278
+ queryMaxMemoryBytes?: number;
279
+ queryMemoryBytes?: number;
280
+ sessionLength?: number;
281
+ sessionRenewDisabled?: boolean;
282
+ storageCacheMaxMemorySize?: number;
283
+ storageCacheSnapshotMemorySize?: number;
284
+ storageCacheSnapshotWriteColdDuration?: Duration;
285
+ storageCompactFullWriteColdDuration?: Duration;
286
+ storageCompactThroughputBurst?: number;
287
+ storageMaxConcurrentCompactions?: number;
288
+ storageMaxIndexLogFileSize?: number;
289
+ storageNoValidateFieldSize?: boolean;
290
+ storageRetentionCheckInterval?: Duration;
291
+ storageSeriesFileMaxConcurrentSnapshotCompactions?: number;
292
+ storageSeriesIdSetCacheSize?: number;
293
+ storageWalMaxConcurrentWrites?: number;
294
+ storageWalMaxWriteDelay?: Duration;
295
+ uiDisabled?: boolean;
251
296
  }
252
297
  export type _Parameters =
253
298
  | _Parameters.InfluxDBv2Member
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-timestream-influxdb",
3
3
  "description": "AWS SDK for JavaScript Timestream Influxdb Client for Node.js, Browser and React Native",
4
- "version": "3.658.0",
4
+ "version": "3.661.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -20,10 +20,10 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/client-sso-oidc": "3.658.0",
24
- "@aws-sdk/client-sts": "3.658.0",
25
- "@aws-sdk/core": "3.658.0",
26
- "@aws-sdk/credential-provider-node": "3.658.0",
23
+ "@aws-sdk/client-sso-oidc": "3.658.1",
24
+ "@aws-sdk/client-sts": "3.658.1",
25
+ "@aws-sdk/core": "3.658.1",
26
+ "@aws-sdk/credential-provider-node": "3.658.1",
27
27
  "@aws-sdk/middleware-host-header": "3.654.0",
28
28
  "@aws-sdk/middleware-logger": "3.654.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.654.0",
@@ -34,26 +34,26 @@
34
34
  "@aws-sdk/util-user-agent-browser": "3.654.0",
35
35
  "@aws-sdk/util-user-agent-node": "3.654.0",
36
36
  "@smithy/config-resolver": "^3.0.8",
37
- "@smithy/core": "^2.4.3",
38
- "@smithy/fetch-http-handler": "^3.2.7",
37
+ "@smithy/core": "^2.4.6",
38
+ "@smithy/fetch-http-handler": "^3.2.8",
39
39
  "@smithy/hash-node": "^3.0.6",
40
40
  "@smithy/invalid-dependency": "^3.0.6",
41
41
  "@smithy/middleware-content-length": "^3.0.8",
42
42
  "@smithy/middleware-endpoint": "^3.1.3",
43
- "@smithy/middleware-retry": "^3.0.18",
43
+ "@smithy/middleware-retry": "^3.0.21",
44
44
  "@smithy/middleware-serde": "^3.0.6",
45
45
  "@smithy/middleware-stack": "^3.0.6",
46
46
  "@smithy/node-config-provider": "^3.1.7",
47
- "@smithy/node-http-handler": "^3.2.2",
47
+ "@smithy/node-http-handler": "^3.2.3",
48
48
  "@smithy/protocol-http": "^4.1.3",
49
- "@smithy/smithy-client": "^3.3.2",
49
+ "@smithy/smithy-client": "^3.3.5",
50
50
  "@smithy/types": "^3.4.2",
51
51
  "@smithy/url-parser": "^3.0.6",
52
52
  "@smithy/util-base64": "^3.0.0",
53
53
  "@smithy/util-body-length-browser": "^3.0.0",
54
54
  "@smithy/util-body-length-node": "^3.0.0",
55
- "@smithy/util-defaults-mode-browser": "^3.0.18",
56
- "@smithy/util-defaults-mode-node": "^3.0.18",
55
+ "@smithy/util-defaults-mode-browser": "^3.0.21",
56
+ "@smithy/util-defaults-mode-node": "^3.0.21",
57
57
  "@smithy/util-endpoints": "^2.1.2",
58
58
  "@smithy/util-middleware": "^3.0.6",
59
59
  "@smithy/util-retry": "^3.0.6",