Skip to content

Commit 013cd45

Browse files
author
awstools
committed
feat(client-timestream-influxdb): Adds 'allocatedStorage' parameter to UpdateDbInstance API that allows increasing the database instance storage size and 'dbStorageType' parameter to UpdateDbInstance API that allows changing the storage type of the database instance
1 parent f65f143 commit 013cd45

File tree

3 files changed

+26
-0
lines changed

3 files changed

+26
-0
lines changed

Diff for: clients/client-timestream-influxdb/src/commands/UpdateDbInstanceCommand.ts

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ export interface UpdateDbInstanceCommandOutput extends UpdateDbInstanceOutput, _
5151
* port: Number("int"),
5252
* 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",
5353
* deploymentType: "SINGLE_AZ" || "WITH_MULTIAZ_STANDBY",
54+
* dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",
55+
* allocatedStorage: Number("int"),
5456
* };
5557
* const command = new UpdateDbInstanceCommand(input);
5658
* const response = await client.send(command);

Diff for: clients/client-timestream-influxdb/src/models/models_0.ts

+12
Original file line numberDiff line numberDiff line change
@@ -966,6 +966,18 @@ export interface UpdateDbInstanceInput {
966966
* @public
967967
*/
968968
deploymentType?: DeploymentType | undefined;
969+
970+
/**
971+
* <p>The Timestream for InfluxDB DB storage type that InfluxDB stores data on.</p>
972+
* @public
973+
*/
974+
dbStorageType?: DbStorageType | undefined;
975+
976+
/**
977+
* <p>The amount of storage to allocate for your DB storage type (in gibibytes).</p>
978+
* @public
979+
*/
980+
allocatedStorage?: number | undefined;
969981
}
970982

971983
/**

Diff for: codegen/sdk-codegen/aws-models/timestream-influxdb.json

+12
Original file line numberDiff line numberDiff line change
@@ -3071,6 +3071,18 @@
30713071
"traits": {
30723072
"smithy.api#documentation": "<p>Specifies whether the DB instance will be deployed as a standalone instance or with a Multi-AZ standby for high availability.</p>"
30733073
}
3074+
},
3075+
"dbStorageType": {
3076+
"target": "com.amazonaws.timestreaminfluxdb#DbStorageType",
3077+
"traits": {
3078+
"smithy.api#documentation": "<p>The Timestream for InfluxDB DB storage type that InfluxDB stores data on.</p>"
3079+
}
3080+
},
3081+
"allocatedStorage": {
3082+
"target": "com.amazonaws.timestreaminfluxdb#AllocatedStorage",
3083+
"traits": {
3084+
"smithy.api#documentation": "<p>The amount of storage to allocate for your DB storage type (in gibibytes).</p>"
3085+
}
30743086
}
30753087
},
30763088
"traits": {

0 commit comments

Comments
 (0)