Skip to content

Commit 4e6cb80

Browse files
author
awstools
committed
feat(client-timestream-influxdb): Timestream for InfluxDB now supports compute scaling and deployment type conversion. This release adds the DbInstanceType and DeploymentType parameters to the UpdateDbInstance API.
1 parent 3ac8b18 commit 4e6cb80

File tree

7 files changed

+52
-7
lines changed

7 files changed

+52
-7
lines changed

clients/client-timestream-influxdb/src/commands/CreateDbInstanceCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export interface CreateDbInstanceCommandOutput extends CreateDbInstanceOutput, _
7777
* // id: "STRING_VALUE", // required
7878
* // name: "STRING_VALUE", // required
7979
* // arn: "STRING_VALUE", // required
80-
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED",
80+
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE",
8181
* // endpoint: "STRING_VALUE",
8282
* // 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",
8383
* // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",

clients/client-timestream-influxdb/src/commands/DeleteDbInstanceCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export interface DeleteDbInstanceCommandOutput extends DeleteDbInstanceOutput, _
4848
* // id: "STRING_VALUE", // required
4949
* // name: "STRING_VALUE", // required
5050
* // arn: "STRING_VALUE", // required
51-
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED",
51+
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE",
5252
* // endpoint: "STRING_VALUE",
5353
* // 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",
5454
* // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",

clients/client-timestream-influxdb/src/commands/GetDbInstanceCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export interface GetDbInstanceCommandOutput extends GetDbInstanceOutput, __Metad
4848
* // id: "STRING_VALUE", // required
4949
* // name: "STRING_VALUE", // required
5050
* // arn: "STRING_VALUE", // required
51-
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED",
51+
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE",
5252
* // endpoint: "STRING_VALUE",
5353
* // 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",
5454
* // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",

clients/client-timestream-influxdb/src/commands/ListDbInstancesCommand.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export interface ListDbInstancesCommandOutput extends ListDbInstancesOutput, __M
5151
* // id: "STRING_VALUE", // required
5252
* // name: "STRING_VALUE", // required
5353
* // arn: "STRING_VALUE", // required
54-
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED",
54+
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE",
5555
* // endpoint: "STRING_VALUE",
5656
* // 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",
5757
* // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",

clients/client-timestream-influxdb/src/commands/UpdateDbInstanceCommand.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,16 @@ export interface UpdateDbInstanceCommandOutput extends UpdateDbInstanceOutput, _
4848
* },
4949
* },
5050
* dbParameterGroupIdentifier: "STRING_VALUE",
51+
* 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+
* deploymentType: "SINGLE_AZ" || "WITH_MULTIAZ_STANDBY",
5153
* };
5254
* const command = new UpdateDbInstanceCommand(input);
5355
* const response = await client.send(command);
5456
* // { // UpdateDbInstanceOutput
5557
* // id: "STRING_VALUE", // required
5658
* // name: "STRING_VALUE", // required
5759
* // arn: "STRING_VALUE", // required
58-
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED",
60+
* // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE",
5961
* // endpoint: "STRING_VALUE",
6062
* // 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",
6163
* // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3",

clients/client-timestream-influxdb/src/models/models_0.ts

+14
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,8 @@ export const Status = {
255255
FAILED: "FAILED",
256256
MODIFYING: "MODIFYING",
257257
UPDATING: "UPDATING",
258+
UPDATING_DEPLOYMENT_TYPE: "UPDATING_DEPLOYMENT_TYPE",
259+
UPDATING_INSTANCE_TYPE: "UPDATING_INSTANCE_TYPE",
258260
} as const;
259261

260262
/**
@@ -865,6 +867,18 @@ export interface UpdateDbInstanceInput {
865867
* @public
866868
*/
867869
dbParameterGroupIdentifier?: string;
870+
871+
/**
872+
* <p>The Timestream for InfluxDB DB instance type to run InfluxDB on.</p>
873+
* @public
874+
*/
875+
dbInstanceType?: DbInstanceType;
876+
877+
/**
878+
* <p>Specifies whether the DB instance will be deployed as a standalone instance or with a Multi-AZ standby for high availability.</p>
879+
* @public
880+
*/
881+
deploymentType?: DeploymentType;
868882
}
869883

870884
/**

codegen/sdk-codegen/aws-models/timestream-influxdb.json

+31-2
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@
765765
"min": 2,
766766
"max": 64
767767
},
768-
"smithy.api#pattern": "^[^_][^\"]*$"
768+
"smithy.api#pattern": "^[^_\"][^\"]*$"
769769
}
770770
},
771771
"com.amazonaws.timestreaminfluxdb#ConflictException": {
@@ -2232,7 +2232,12 @@
22322232
}
22332233
},
22342234
"com.amazonaws.timestreaminfluxdb#NextToken": {
2235-
"type": "string"
2235+
"type": "string",
2236+
"traits": {
2237+
"smithy.api#length": {
2238+
"min": 1
2239+
}
2240+
}
22362241
},
22372242
"com.amazonaws.timestreaminfluxdb#Organization": {
22382243
"type": "string",
@@ -2414,6 +2419,18 @@
24142419
"traits": {
24152420
"smithy.api#enumValue": "FAILED"
24162421
}
2422+
},
2423+
"UPDATING_DEPLOYMENT_TYPE": {
2424+
"target": "smithy.api#Unit",
2425+
"traits": {
2426+
"smithy.api#enumValue": "UPDATING_DEPLOYMENT_TYPE"
2427+
}
2428+
},
2429+
"UPDATING_INSTANCE_TYPE": {
2430+
"target": "smithy.api#Unit",
2431+
"traits": {
2432+
"smithy.api#enumValue": "UPDATING_INSTANCE_TYPE"
2433+
}
24172434
}
24182435
}
24192436
},
@@ -2628,6 +2645,18 @@
26282645
"traits": {
26292646
"smithy.api#documentation": "<p>The id of the DB parameter group to assign to your DB instance. DB parameter groups specify how the database is configured. For example, DB parameter groups can specify the limit for query concurrency.</p>"
26302647
}
2648+
},
2649+
"dbInstanceType": {
2650+
"target": "com.amazonaws.timestreaminfluxdb#DbInstanceType",
2651+
"traits": {
2652+
"smithy.api#documentation": "<p>The Timestream for InfluxDB DB instance type to run InfluxDB on.</p>"
2653+
}
2654+
},
2655+
"deploymentType": {
2656+
"target": "com.amazonaws.timestreaminfluxdb#DeploymentType",
2657+
"traits": {
2658+
"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>"
2659+
}
26312660
}
26322661
},
26332662
"traits": {

0 commit comments

Comments
 (0)