@aws-sdk/client-timestream-influxdb 3.908.0 → 3.911.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/endpoint/ruleset.js +1 -1
- package/dist-cjs/index.js +288 -3
- package/dist-es/endpoint/ruleset.js +1 -1
- package/dist-es/models/models_0.js +32 -0
- package/dist-es/protocols/Aws_json1_0.js +256 -6
- package/dist-types/commands/CreateDbClusterCommand.d.ts +3 -3
- package/dist-types/commands/CreateDbInstanceCommand.d.ts +4 -1
- package/dist-types/commands/CreateDbParameterGroupCommand.d.ts +232 -12
- package/dist-types/commands/DeleteDbInstanceCommand.d.ts +4 -1
- package/dist-types/commands/GetDbClusterCommand.d.ts +1 -0
- package/dist-types/commands/GetDbInstanceCommand.d.ts +4 -1
- package/dist-types/commands/GetDbParameterGroupCommand.d.ts +116 -6
- package/dist-types/commands/ListDbClustersCommand.d.ts +1 -0
- package/dist-types/commands/ListDbInstancesForClusterCommand.d.ts +4 -1
- package/dist-types/commands/UpdateDbInstanceCommand.d.ts +4 -1
- package/dist-types/models/models_0.d.ts +682 -6
- package/dist-types/ts3.4/models/models_0.d.ts +174 -3
- package/package.json +33 -33
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
4
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
5
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
5
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
6
6
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://timestream-influxdb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://timestream-influxdb-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://timestream-influxdb.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://timestream-influxdb.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
7
7
|
exports.ruleSet = _data;
|
package/dist-cjs/index.js
CHANGED
|
@@ -255,12 +255,21 @@ class ValidationException extends TimestreamInfluxDBServiceException {
|
|
|
255
255
|
this.reason = opts.reason;
|
|
256
256
|
}
|
|
257
257
|
}
|
|
258
|
+
const EngineType = {
|
|
259
|
+
INFLUXDB_V2: "INFLUXDB_V2",
|
|
260
|
+
INFLUXDB_V3_CORE: "INFLUXDB_V3_CORE",
|
|
261
|
+
INFLUXDB_V3_ENTERPRISE: "INFLUXDB_V3_ENTERPRISE",
|
|
262
|
+
};
|
|
258
263
|
const DeploymentType = {
|
|
259
264
|
SINGLE_AZ: "SINGLE_AZ",
|
|
260
265
|
WITH_MULTIAZ_STANDBY: "WITH_MULTIAZ_STANDBY",
|
|
261
266
|
};
|
|
262
267
|
const InstanceMode = {
|
|
268
|
+
COMPACT: "COMPACT",
|
|
269
|
+
INGEST: "INGEST",
|
|
263
270
|
PRIMARY: "PRIMARY",
|
|
271
|
+
PROCESS: "PROCESS",
|
|
272
|
+
QUERY: "QUERY",
|
|
264
273
|
REPLICA: "REPLICA",
|
|
265
274
|
STANDBY: "STANDBY",
|
|
266
275
|
};
|
|
@@ -277,6 +286,7 @@ const Status = {
|
|
|
277
286
|
UPDATING_INSTANCE_TYPE: "UPDATING_INSTANCE_TYPE",
|
|
278
287
|
};
|
|
279
288
|
const DurationType = {
|
|
289
|
+
DAYS: "days",
|
|
280
290
|
HOURS: "hours",
|
|
281
291
|
MILLISECONDS: "milliseconds",
|
|
282
292
|
MINUTES: "minutes",
|
|
@@ -288,14 +298,36 @@ const LogLevel = {
|
|
|
288
298
|
INFO: "info",
|
|
289
299
|
};
|
|
290
300
|
const TracingType = {
|
|
301
|
+
DISABLED: "disabled",
|
|
291
302
|
JAEGER: "jaeger",
|
|
292
303
|
LOG: "log",
|
|
293
304
|
};
|
|
305
|
+
const DataFusionRuntimeType = {
|
|
306
|
+
MULTI_THREAD: "multi-thread",
|
|
307
|
+
MULTI_THREAD_ALT: "multi-thread-alt",
|
|
308
|
+
};
|
|
309
|
+
exports.PercentOrAbsoluteLong = void 0;
|
|
310
|
+
(function (PercentOrAbsoluteLong) {
|
|
311
|
+
PercentOrAbsoluteLong.visit = (value, visitor) => {
|
|
312
|
+
if (value.percent !== undefined)
|
|
313
|
+
return visitor.percent(value.percent);
|
|
314
|
+
if (value.absolute !== undefined)
|
|
315
|
+
return visitor.absolute(value.absolute);
|
|
316
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
317
|
+
};
|
|
318
|
+
})(exports.PercentOrAbsoluteLong || (exports.PercentOrAbsoluteLong = {}));
|
|
319
|
+
const LogFormats = {
|
|
320
|
+
FULL: "full",
|
|
321
|
+
};
|
|
294
322
|
exports._Parameters = void 0;
|
|
295
323
|
(function (_Parameters) {
|
|
296
324
|
_Parameters.visit = (value, visitor) => {
|
|
297
325
|
if (value.InfluxDBv2 !== undefined)
|
|
298
326
|
return visitor.InfluxDBv2(value.InfluxDBv2);
|
|
327
|
+
if (value.InfluxDBv3Core !== undefined)
|
|
328
|
+
return visitor.InfluxDBv3Core(value.InfluxDBv3Core);
|
|
329
|
+
if (value.InfluxDBv3Enterprise !== undefined)
|
|
330
|
+
return visitor.InfluxDBv3Enterprise(value.InfluxDBv3Enterprise);
|
|
299
331
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
300
332
|
};
|
|
301
333
|
})(exports._Parameters || (exports._Parameters = {}));
|
|
@@ -325,7 +357,7 @@ const se_CreateDbInstanceCommand = async (input, context) => {
|
|
|
325
357
|
const se_CreateDbParameterGroupCommand = async (input, context) => {
|
|
326
358
|
const headers = sharedHeaders("CreateDbParameterGroup");
|
|
327
359
|
let body;
|
|
328
|
-
body = JSON.stringify(
|
|
360
|
+
body = JSON.stringify(se_CreateDbParameterGroupInput(input));
|
|
329
361
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
330
362
|
};
|
|
331
363
|
const se_DeleteDbClusterCommand = async (input, context) => {
|
|
@@ -444,7 +476,7 @@ const de_CreateDbParameterGroupCommand = async (output, context) => {
|
|
|
444
476
|
}
|
|
445
477
|
const data = await core$1.parseJsonBody(output.body, context);
|
|
446
478
|
let contents = {};
|
|
447
|
-
contents =
|
|
479
|
+
contents = de_CreateDbParameterGroupOutput(data);
|
|
448
480
|
const response = {
|
|
449
481
|
$metadata: deserializeMetadata(output),
|
|
450
482
|
...contents,
|
|
@@ -509,7 +541,7 @@ const de_GetDbParameterGroupCommand = async (output, context) => {
|
|
|
509
541
|
}
|
|
510
542
|
const data = await core$1.parseJsonBody(output.body, context);
|
|
511
543
|
let contents = {};
|
|
512
|
-
contents =
|
|
544
|
+
contents = de_GetDbParameterGroupOutput(data);
|
|
513
545
|
const response = {
|
|
514
546
|
$metadata: deserializeMetadata(output),
|
|
515
547
|
...contents,
|
|
@@ -727,6 +759,256 @@ const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
|
727
759
|
});
|
|
728
760
|
return smithyClient.decorateServiceException(exception, body);
|
|
729
761
|
};
|
|
762
|
+
const se_CreateDbParameterGroupInput = (input, context) => {
|
|
763
|
+
return smithyClient.take(input, {
|
|
764
|
+
description: [],
|
|
765
|
+
name: [],
|
|
766
|
+
parameters: (_) => se__Parameters(_),
|
|
767
|
+
tags: smithyClient._json,
|
|
768
|
+
});
|
|
769
|
+
};
|
|
770
|
+
const se_InfluxDBv3CoreParameters = (input, context) => {
|
|
771
|
+
return smithyClient.take(input, {
|
|
772
|
+
dataFusionConfig: [],
|
|
773
|
+
dataFusionMaxParquetFanout: [],
|
|
774
|
+
dataFusionNumThreads: [],
|
|
775
|
+
dataFusionRuntimeDisableLifoSlot: [],
|
|
776
|
+
dataFusionRuntimeEventInterval: [],
|
|
777
|
+
dataFusionRuntimeGlobalQueueInterval: [],
|
|
778
|
+
dataFusionRuntimeMaxBlockingThreads: [],
|
|
779
|
+
dataFusionRuntimeMaxIoEventsPerTick: [],
|
|
780
|
+
dataFusionRuntimeThreadKeepAlive: smithyClient._json,
|
|
781
|
+
dataFusionRuntimeThreadPriority: [],
|
|
782
|
+
dataFusionRuntimeType: [],
|
|
783
|
+
dataFusionUseCachedParquetLoader: [],
|
|
784
|
+
deleteGracePeriod: smithyClient._json,
|
|
785
|
+
disableParquetMemCache: [],
|
|
786
|
+
distinctCacheEvictionInterval: smithyClient._json,
|
|
787
|
+
execMemPoolBytes: smithyClient._json,
|
|
788
|
+
forceSnapshotMemThreshold: smithyClient._json,
|
|
789
|
+
gen1Duration: smithyClient._json,
|
|
790
|
+
gen1LookbackDuration: smithyClient._json,
|
|
791
|
+
hardDeleteDefaultDuration: smithyClient._json,
|
|
792
|
+
lastCacheEvictionInterval: smithyClient._json,
|
|
793
|
+
logFilter: [],
|
|
794
|
+
logFormat: [],
|
|
795
|
+
maxHttpRequestSize: [],
|
|
796
|
+
parquetMemCachePruneInterval: smithyClient._json,
|
|
797
|
+
parquetMemCachePrunePercentage: smithyClient.serializeFloat,
|
|
798
|
+
parquetMemCacheQueryPathDuration: smithyClient._json,
|
|
799
|
+
parquetMemCacheSize: smithyClient._json,
|
|
800
|
+
preemptiveCacheAge: smithyClient._json,
|
|
801
|
+
queryFileLimit: [],
|
|
802
|
+
queryLogSize: [],
|
|
803
|
+
retentionCheckInterval: smithyClient._json,
|
|
804
|
+
snapshottedWalFilesToKeep: [],
|
|
805
|
+
tableIndexCacheConcurrencyLimit: [],
|
|
806
|
+
tableIndexCacheMaxEntries: [],
|
|
807
|
+
walMaxWriteBufferSize: [],
|
|
808
|
+
walReplayConcurrencyLimit: [],
|
|
809
|
+
walReplayFailOnError: [],
|
|
810
|
+
walSnapshotSize: [],
|
|
811
|
+
});
|
|
812
|
+
};
|
|
813
|
+
const se_InfluxDBv3EnterpriseParameters = (input, context) => {
|
|
814
|
+
return smithyClient.take(input, {
|
|
815
|
+
catalogSyncInterval: smithyClient._json,
|
|
816
|
+
compactionCheckInterval: smithyClient._json,
|
|
817
|
+
compactionCleanupWait: smithyClient._json,
|
|
818
|
+
compactionGen2Duration: smithyClient._json,
|
|
819
|
+
compactionMaxNumFilesPerPlan: [],
|
|
820
|
+
compactionMultipliers: [],
|
|
821
|
+
compactionRowLimit: [],
|
|
822
|
+
dataFusionConfig: [],
|
|
823
|
+
dataFusionMaxParquetFanout: [],
|
|
824
|
+
dataFusionNumThreads: [],
|
|
825
|
+
dataFusionRuntimeDisableLifoSlot: [],
|
|
826
|
+
dataFusionRuntimeEventInterval: [],
|
|
827
|
+
dataFusionRuntimeGlobalQueueInterval: [],
|
|
828
|
+
dataFusionRuntimeMaxBlockingThreads: [],
|
|
829
|
+
dataFusionRuntimeMaxIoEventsPerTick: [],
|
|
830
|
+
dataFusionRuntimeThreadKeepAlive: smithyClient._json,
|
|
831
|
+
dataFusionRuntimeThreadPriority: [],
|
|
832
|
+
dataFusionRuntimeType: [],
|
|
833
|
+
dataFusionUseCachedParquetLoader: [],
|
|
834
|
+
dedicatedCompactor: [],
|
|
835
|
+
deleteGracePeriod: smithyClient._json,
|
|
836
|
+
disableParquetMemCache: [],
|
|
837
|
+
distinctCacheEvictionInterval: smithyClient._json,
|
|
838
|
+
distinctValueCacheDisableFromHistory: [],
|
|
839
|
+
execMemPoolBytes: smithyClient._json,
|
|
840
|
+
forceSnapshotMemThreshold: smithyClient._json,
|
|
841
|
+
gen1Duration: smithyClient._json,
|
|
842
|
+
gen1LookbackDuration: smithyClient._json,
|
|
843
|
+
hardDeleteDefaultDuration: smithyClient._json,
|
|
844
|
+
ingestQueryInstances: [],
|
|
845
|
+
lastCacheEvictionInterval: smithyClient._json,
|
|
846
|
+
lastValueCacheDisableFromHistory: [],
|
|
847
|
+
logFilter: [],
|
|
848
|
+
logFormat: [],
|
|
849
|
+
maxHttpRequestSize: [],
|
|
850
|
+
parquetMemCachePruneInterval: smithyClient._json,
|
|
851
|
+
parquetMemCachePrunePercentage: smithyClient.serializeFloat,
|
|
852
|
+
parquetMemCacheQueryPathDuration: smithyClient._json,
|
|
853
|
+
parquetMemCacheSize: smithyClient._json,
|
|
854
|
+
preemptiveCacheAge: smithyClient._json,
|
|
855
|
+
queryFileLimit: [],
|
|
856
|
+
queryLogSize: [],
|
|
857
|
+
queryOnlyInstances: [],
|
|
858
|
+
replicationInterval: smithyClient._json,
|
|
859
|
+
retentionCheckInterval: smithyClient._json,
|
|
860
|
+
snapshottedWalFilesToKeep: [],
|
|
861
|
+
tableIndexCacheConcurrencyLimit: [],
|
|
862
|
+
tableIndexCacheMaxEntries: [],
|
|
863
|
+
walMaxWriteBufferSize: [],
|
|
864
|
+
walReplayConcurrencyLimit: [],
|
|
865
|
+
walReplayFailOnError: [],
|
|
866
|
+
walSnapshotSize: [],
|
|
867
|
+
});
|
|
868
|
+
};
|
|
869
|
+
const se__Parameters = (input, context) => {
|
|
870
|
+
return exports._Parameters.visit(input, {
|
|
871
|
+
InfluxDBv2: (value) => ({ InfluxDBv2: smithyClient._json(value) }),
|
|
872
|
+
InfluxDBv3Core: (value) => ({ InfluxDBv3Core: se_InfluxDBv3CoreParameters(value) }),
|
|
873
|
+
InfluxDBv3Enterprise: (value) => ({ InfluxDBv3Enterprise: se_InfluxDBv3EnterpriseParameters(value) }),
|
|
874
|
+
_: (name, value) => ({ [name]: value }),
|
|
875
|
+
});
|
|
876
|
+
};
|
|
877
|
+
const de_CreateDbParameterGroupOutput = (output, context) => {
|
|
878
|
+
return smithyClient.take(output, {
|
|
879
|
+
arn: smithyClient.expectString,
|
|
880
|
+
description: smithyClient.expectString,
|
|
881
|
+
id: smithyClient.expectString,
|
|
882
|
+
name: smithyClient.expectString,
|
|
883
|
+
parameters: (_) => de__Parameters(core$1.awsExpectUnion(_)),
|
|
884
|
+
});
|
|
885
|
+
};
|
|
886
|
+
const de_GetDbParameterGroupOutput = (output, context) => {
|
|
887
|
+
return smithyClient.take(output, {
|
|
888
|
+
arn: smithyClient.expectString,
|
|
889
|
+
description: smithyClient.expectString,
|
|
890
|
+
id: smithyClient.expectString,
|
|
891
|
+
name: smithyClient.expectString,
|
|
892
|
+
parameters: (_) => de__Parameters(core$1.awsExpectUnion(_)),
|
|
893
|
+
});
|
|
894
|
+
};
|
|
895
|
+
const de_InfluxDBv3CoreParameters = (output, context) => {
|
|
896
|
+
return smithyClient.take(output, {
|
|
897
|
+
dataFusionConfig: smithyClient.expectString,
|
|
898
|
+
dataFusionMaxParquetFanout: smithyClient.expectInt32,
|
|
899
|
+
dataFusionNumThreads: smithyClient.expectInt32,
|
|
900
|
+
dataFusionRuntimeDisableLifoSlot: smithyClient.expectBoolean,
|
|
901
|
+
dataFusionRuntimeEventInterval: smithyClient.expectInt32,
|
|
902
|
+
dataFusionRuntimeGlobalQueueInterval: smithyClient.expectInt32,
|
|
903
|
+
dataFusionRuntimeMaxBlockingThreads: smithyClient.expectInt32,
|
|
904
|
+
dataFusionRuntimeMaxIoEventsPerTick: smithyClient.expectInt32,
|
|
905
|
+
dataFusionRuntimeThreadKeepAlive: smithyClient._json,
|
|
906
|
+
dataFusionRuntimeThreadPriority: smithyClient.expectInt32,
|
|
907
|
+
dataFusionRuntimeType: smithyClient.expectString,
|
|
908
|
+
dataFusionUseCachedParquetLoader: smithyClient.expectBoolean,
|
|
909
|
+
deleteGracePeriod: smithyClient._json,
|
|
910
|
+
disableParquetMemCache: smithyClient.expectBoolean,
|
|
911
|
+
distinctCacheEvictionInterval: smithyClient._json,
|
|
912
|
+
execMemPoolBytes: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
913
|
+
forceSnapshotMemThreshold: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
914
|
+
gen1Duration: smithyClient._json,
|
|
915
|
+
gen1LookbackDuration: smithyClient._json,
|
|
916
|
+
hardDeleteDefaultDuration: smithyClient._json,
|
|
917
|
+
lastCacheEvictionInterval: smithyClient._json,
|
|
918
|
+
logFilter: smithyClient.expectString,
|
|
919
|
+
logFormat: smithyClient.expectString,
|
|
920
|
+
maxHttpRequestSize: smithyClient.expectLong,
|
|
921
|
+
parquetMemCachePruneInterval: smithyClient._json,
|
|
922
|
+
parquetMemCachePrunePercentage: smithyClient.limitedParseFloat32,
|
|
923
|
+
parquetMemCacheQueryPathDuration: smithyClient._json,
|
|
924
|
+
parquetMemCacheSize: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
925
|
+
preemptiveCacheAge: smithyClient._json,
|
|
926
|
+
queryFileLimit: smithyClient.expectInt32,
|
|
927
|
+
queryLogSize: smithyClient.expectInt32,
|
|
928
|
+
retentionCheckInterval: smithyClient._json,
|
|
929
|
+
snapshottedWalFilesToKeep: smithyClient.expectInt32,
|
|
930
|
+
tableIndexCacheConcurrencyLimit: smithyClient.expectInt32,
|
|
931
|
+
tableIndexCacheMaxEntries: smithyClient.expectInt32,
|
|
932
|
+
walMaxWriteBufferSize: smithyClient.expectInt32,
|
|
933
|
+
walReplayConcurrencyLimit: smithyClient.expectInt32,
|
|
934
|
+
walReplayFailOnError: smithyClient.expectBoolean,
|
|
935
|
+
walSnapshotSize: smithyClient.expectInt32,
|
|
936
|
+
});
|
|
937
|
+
};
|
|
938
|
+
const de_InfluxDBv3EnterpriseParameters = (output, context) => {
|
|
939
|
+
return smithyClient.take(output, {
|
|
940
|
+
catalogSyncInterval: smithyClient._json,
|
|
941
|
+
compactionCheckInterval: smithyClient._json,
|
|
942
|
+
compactionCleanupWait: smithyClient._json,
|
|
943
|
+
compactionGen2Duration: smithyClient._json,
|
|
944
|
+
compactionMaxNumFilesPerPlan: smithyClient.expectInt32,
|
|
945
|
+
compactionMultipliers: smithyClient.expectString,
|
|
946
|
+
compactionRowLimit: smithyClient.expectInt32,
|
|
947
|
+
dataFusionConfig: smithyClient.expectString,
|
|
948
|
+
dataFusionMaxParquetFanout: smithyClient.expectInt32,
|
|
949
|
+
dataFusionNumThreads: smithyClient.expectInt32,
|
|
950
|
+
dataFusionRuntimeDisableLifoSlot: smithyClient.expectBoolean,
|
|
951
|
+
dataFusionRuntimeEventInterval: smithyClient.expectInt32,
|
|
952
|
+
dataFusionRuntimeGlobalQueueInterval: smithyClient.expectInt32,
|
|
953
|
+
dataFusionRuntimeMaxBlockingThreads: smithyClient.expectInt32,
|
|
954
|
+
dataFusionRuntimeMaxIoEventsPerTick: smithyClient.expectInt32,
|
|
955
|
+
dataFusionRuntimeThreadKeepAlive: smithyClient._json,
|
|
956
|
+
dataFusionRuntimeThreadPriority: smithyClient.expectInt32,
|
|
957
|
+
dataFusionRuntimeType: smithyClient.expectString,
|
|
958
|
+
dataFusionUseCachedParquetLoader: smithyClient.expectBoolean,
|
|
959
|
+
dedicatedCompactor: smithyClient.expectBoolean,
|
|
960
|
+
deleteGracePeriod: smithyClient._json,
|
|
961
|
+
disableParquetMemCache: smithyClient.expectBoolean,
|
|
962
|
+
distinctCacheEvictionInterval: smithyClient._json,
|
|
963
|
+
distinctValueCacheDisableFromHistory: smithyClient.expectBoolean,
|
|
964
|
+
execMemPoolBytes: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
965
|
+
forceSnapshotMemThreshold: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
966
|
+
gen1Duration: smithyClient._json,
|
|
967
|
+
gen1LookbackDuration: smithyClient._json,
|
|
968
|
+
hardDeleteDefaultDuration: smithyClient._json,
|
|
969
|
+
ingestQueryInstances: smithyClient.expectInt32,
|
|
970
|
+
lastCacheEvictionInterval: smithyClient._json,
|
|
971
|
+
lastValueCacheDisableFromHistory: smithyClient.expectBoolean,
|
|
972
|
+
logFilter: smithyClient.expectString,
|
|
973
|
+
logFormat: smithyClient.expectString,
|
|
974
|
+
maxHttpRequestSize: smithyClient.expectLong,
|
|
975
|
+
parquetMemCachePruneInterval: smithyClient._json,
|
|
976
|
+
parquetMemCachePrunePercentage: smithyClient.limitedParseFloat32,
|
|
977
|
+
parquetMemCacheQueryPathDuration: smithyClient._json,
|
|
978
|
+
parquetMemCacheSize: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
979
|
+
preemptiveCacheAge: smithyClient._json,
|
|
980
|
+
queryFileLimit: smithyClient.expectInt32,
|
|
981
|
+
queryLogSize: smithyClient.expectInt32,
|
|
982
|
+
queryOnlyInstances: smithyClient.expectInt32,
|
|
983
|
+
replicationInterval: smithyClient._json,
|
|
984
|
+
retentionCheckInterval: smithyClient._json,
|
|
985
|
+
snapshottedWalFilesToKeep: smithyClient.expectInt32,
|
|
986
|
+
tableIndexCacheConcurrencyLimit: smithyClient.expectInt32,
|
|
987
|
+
tableIndexCacheMaxEntries: smithyClient.expectInt32,
|
|
988
|
+
walMaxWriteBufferSize: smithyClient.expectInt32,
|
|
989
|
+
walReplayConcurrencyLimit: smithyClient.expectInt32,
|
|
990
|
+
walReplayFailOnError: smithyClient.expectBoolean,
|
|
991
|
+
walSnapshotSize: smithyClient.expectInt32,
|
|
992
|
+
});
|
|
993
|
+
};
|
|
994
|
+
const de__Parameters = (output, context) => {
|
|
995
|
+
if (output.InfluxDBv2 != null) {
|
|
996
|
+
return {
|
|
997
|
+
InfluxDBv2: smithyClient._json(output.InfluxDBv2),
|
|
998
|
+
};
|
|
999
|
+
}
|
|
1000
|
+
if (output.InfluxDBv3Core != null) {
|
|
1001
|
+
return {
|
|
1002
|
+
InfluxDBv3Core: de_InfluxDBv3CoreParameters(output.InfluxDBv3Core),
|
|
1003
|
+
};
|
|
1004
|
+
}
|
|
1005
|
+
if (output.InfluxDBv3Enterprise != null) {
|
|
1006
|
+
return {
|
|
1007
|
+
InfluxDBv3Enterprise: de_InfluxDBv3EnterpriseParameters(output.InfluxDBv3Enterprise),
|
|
1008
|
+
};
|
|
1009
|
+
}
|
|
1010
|
+
return { $unknown: Object.entries(output)[0] };
|
|
1011
|
+
};
|
|
730
1012
|
const deserializeMetadata = (output) => ({
|
|
731
1013
|
httpStatusCode: output.statusCode,
|
|
732
1014
|
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
@@ -1093,12 +1375,14 @@ exports.CreateDbClusterInputFilterSensitiveLog = CreateDbClusterInputFilterSensi
|
|
|
1093
1375
|
exports.CreateDbInstanceCommand = CreateDbInstanceCommand;
|
|
1094
1376
|
exports.CreateDbInstanceInputFilterSensitiveLog = CreateDbInstanceInputFilterSensitiveLog;
|
|
1095
1377
|
exports.CreateDbParameterGroupCommand = CreateDbParameterGroupCommand;
|
|
1378
|
+
exports.DataFusionRuntimeType = DataFusionRuntimeType;
|
|
1096
1379
|
exports.DbInstanceType = DbInstanceType;
|
|
1097
1380
|
exports.DbStorageType = DbStorageType;
|
|
1098
1381
|
exports.DeleteDbClusterCommand = DeleteDbClusterCommand;
|
|
1099
1382
|
exports.DeleteDbInstanceCommand = DeleteDbInstanceCommand;
|
|
1100
1383
|
exports.DeploymentType = DeploymentType;
|
|
1101
1384
|
exports.DurationType = DurationType;
|
|
1385
|
+
exports.EngineType = EngineType;
|
|
1102
1386
|
exports.FailoverMode = FailoverMode;
|
|
1103
1387
|
exports.GetDbClusterCommand = GetDbClusterCommand;
|
|
1104
1388
|
exports.GetDbInstanceCommand = GetDbInstanceCommand;
|
|
@@ -1110,6 +1394,7 @@ exports.ListDbInstancesCommand = ListDbInstancesCommand;
|
|
|
1110
1394
|
exports.ListDbInstancesForClusterCommand = ListDbInstancesForClusterCommand;
|
|
1111
1395
|
exports.ListDbParameterGroupsCommand = ListDbParameterGroupsCommand;
|
|
1112
1396
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
1397
|
+
exports.LogFormats = LogFormats;
|
|
1113
1398
|
exports.LogLevel = LogLevel;
|
|
1114
1399
|
exports.NetworkType = NetworkType;
|
|
1115
1400
|
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
-
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "string" }, i = { [s]: true, "default": false, "type": "boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
3
|
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://timestream-influxdb-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://timestream-influxdb-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://timestream-influxdb.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://timestream-influxdb.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -138,12 +138,21 @@ export class ValidationException extends __BaseException {
|
|
|
138
138
|
this.reason = opts.reason;
|
|
139
139
|
}
|
|
140
140
|
}
|
|
141
|
+
export const EngineType = {
|
|
142
|
+
INFLUXDB_V2: "INFLUXDB_V2",
|
|
143
|
+
INFLUXDB_V3_CORE: "INFLUXDB_V3_CORE",
|
|
144
|
+
INFLUXDB_V3_ENTERPRISE: "INFLUXDB_V3_ENTERPRISE",
|
|
145
|
+
};
|
|
141
146
|
export const DeploymentType = {
|
|
142
147
|
SINGLE_AZ: "SINGLE_AZ",
|
|
143
148
|
WITH_MULTIAZ_STANDBY: "WITH_MULTIAZ_STANDBY",
|
|
144
149
|
};
|
|
145
150
|
export const InstanceMode = {
|
|
151
|
+
COMPACT: "COMPACT",
|
|
152
|
+
INGEST: "INGEST",
|
|
146
153
|
PRIMARY: "PRIMARY",
|
|
154
|
+
PROCESS: "PROCESS",
|
|
155
|
+
QUERY: "QUERY",
|
|
147
156
|
REPLICA: "REPLICA",
|
|
148
157
|
STANDBY: "STANDBY",
|
|
149
158
|
};
|
|
@@ -160,6 +169,7 @@ export const Status = {
|
|
|
160
169
|
UPDATING_INSTANCE_TYPE: "UPDATING_INSTANCE_TYPE",
|
|
161
170
|
};
|
|
162
171
|
export const DurationType = {
|
|
172
|
+
DAYS: "days",
|
|
163
173
|
HOURS: "hours",
|
|
164
174
|
MILLISECONDS: "milliseconds",
|
|
165
175
|
MINUTES: "minutes",
|
|
@@ -171,14 +181,36 @@ export const LogLevel = {
|
|
|
171
181
|
INFO: "info",
|
|
172
182
|
};
|
|
173
183
|
export const TracingType = {
|
|
184
|
+
DISABLED: "disabled",
|
|
174
185
|
JAEGER: "jaeger",
|
|
175
186
|
LOG: "log",
|
|
176
187
|
};
|
|
188
|
+
export const DataFusionRuntimeType = {
|
|
189
|
+
MULTI_THREAD: "multi-thread",
|
|
190
|
+
MULTI_THREAD_ALT: "multi-thread-alt",
|
|
191
|
+
};
|
|
192
|
+
export var PercentOrAbsoluteLong;
|
|
193
|
+
(function (PercentOrAbsoluteLong) {
|
|
194
|
+
PercentOrAbsoluteLong.visit = (value, visitor) => {
|
|
195
|
+
if (value.percent !== undefined)
|
|
196
|
+
return visitor.percent(value.percent);
|
|
197
|
+
if (value.absolute !== undefined)
|
|
198
|
+
return visitor.absolute(value.absolute);
|
|
199
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
200
|
+
};
|
|
201
|
+
})(PercentOrAbsoluteLong || (PercentOrAbsoluteLong = {}));
|
|
202
|
+
export const LogFormats = {
|
|
203
|
+
FULL: "full",
|
|
204
|
+
};
|
|
177
205
|
export var _Parameters;
|
|
178
206
|
(function (_Parameters) {
|
|
179
207
|
_Parameters.visit = (value, visitor) => {
|
|
180
208
|
if (value.InfluxDBv2 !== undefined)
|
|
181
209
|
return visitor.InfluxDBv2(value.InfluxDBv2);
|
|
210
|
+
if (value.InfluxDBv3Core !== undefined)
|
|
211
|
+
return visitor.InfluxDBv3Core(value.InfluxDBv3Core);
|
|
212
|
+
if (value.InfluxDBv3Enterprise !== undefined)
|
|
213
|
+
return visitor.InfluxDBv3Enterprise(value.InfluxDBv3Enterprise);
|
|
182
214
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
183
215
|
};
|
|
184
216
|
})(_Parameters || (_Parameters = {}));
|