import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateDbInstanceInput, UpdateDbInstanceOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateDbInstanceCommand}. */ export interface UpdateDbInstanceCommandInput extends UpdateDbInstanceInput { } /** * @public * * The output of {@link UpdateDbInstanceCommand}. */ export interface UpdateDbInstanceCommandOutput extends UpdateDbInstanceOutput, __MetadataBearer { } declare const UpdateDbInstanceCommand_base: { new (input: UpdateDbInstanceCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateDbInstanceCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates a Timestream for InfluxDB DB instance.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { TimestreamInfluxDBClient, UpdateDbInstanceCommand } from "@aws-sdk/client-timestream-influxdb"; // ES Modules import * // const { TimestreamInfluxDBClient, UpdateDbInstanceCommand } = require("@aws-sdk/client-timestream-influxdb"); // CommonJS import * // import type { TimestreamInfluxDBClientConfig } from "@aws-sdk/client-timestream-influxdb"; * const config = {}; // type is TimestreamInfluxDBClientConfig * const client = new TimestreamInfluxDBClient(config); * const input = { // UpdateDbInstanceInput * identifier: "STRING_VALUE", // required * logDeliveryConfiguration: { // LogDeliveryConfiguration * s3Configuration: { // S3Configuration * bucketName: "STRING_VALUE", // required * enabled: true || false, // required * }, * }, * dbParameterGroupIdentifier: "STRING_VALUE", * port: Number("int"), * 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" || "db.influx.24xlarge", * deploymentType: "SINGLE_AZ" || "WITH_MULTIAZ_STANDBY", * dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3", * allocatedStorage: Number("int"), * maintenanceSchedule: { // MaintenanceSchedule * timezone: "STRING_VALUE", // required * preferredMaintenanceWindow: "STRING_VALUE", // required * }, * dbBackupConfigurations: [ // DbBackupConfigurationInputList * { // DbBackupConfiguration * type: "HOURLY" || "DAILY" || "WEEKLY" || "MONTHLY" || "CUSTOM_SCHEDULE" || "CONTINUOUS", // required * retentionDays: Number("int"), // required * enabled: true || false, // required * customSchedule: "STRING_VALUE", * }, * ], * }; * const command = new UpdateDbInstanceCommand(input); * const response = await client.send(command); * // { // UpdateDbInstanceOutput * // id: "STRING_VALUE", // required * // name: "STRING_VALUE", // required * // arn: "STRING_VALUE", // required * // status: "CREATING" || "AVAILABLE" || "DELETING" || "MODIFYING" || "UPDATING" || "DELETED" || "FAILED" || "UPDATING_DEPLOYMENT_TYPE" || "UPDATING_INSTANCE_TYPE" || "MAINTENANCE" || "REBOOTING" || "REBOOT_FAILED" || "RESTORING" || "RESTORE_FAILED", * // endpoint: "STRING_VALUE", * // port: Number("int"), * // networkType: "IPV4" || "DUAL", * // 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" || "db.influx.24xlarge", * // dbStorageType: "InfluxIOIncludedT1" || "InfluxIOIncludedT2" || "InfluxIOIncludedT3", * // allocatedStorage: Number("int"), * // deploymentType: "SINGLE_AZ" || "WITH_MULTIAZ_STANDBY", * // vpcSubnetIds: [ // VpcSubnetIdList // required * // "STRING_VALUE", * // ], * // publiclyAccessible: true || false, * // vpcSecurityGroupIds: [ // VpcSecurityGroupIdList * // "STRING_VALUE", * // ], * // dbParameterGroupIdentifier: "STRING_VALUE", * // availabilityZone: "STRING_VALUE", * // secondaryAvailabilityZone: "STRING_VALUE", * // logDeliveryConfiguration: { // LogDeliveryConfiguration * // s3Configuration: { // S3Configuration * // bucketName: "STRING_VALUE", // required * // enabled: true || false, // required * // }, * // }, * // influxAuthParametersSecretArn: "STRING_VALUE", * // dbClusterId: "STRING_VALUE", * // instanceMode: "PRIMARY" || "STANDBY" || "REPLICA" || "INGEST" || "QUERY" || "COMPACT" || "PROCESS", * // instanceModes: [ // InstanceModeList * // "PRIMARY" || "STANDBY" || "REPLICA" || "INGEST" || "QUERY" || "COMPACT" || "PROCESS", * // ], * // maintenanceSchedule: { // MaintenanceSchedule * // timezone: "STRING_VALUE", // required * // preferredMaintenanceWindow: "STRING_VALUE", // required * // }, * // lastMaintenanceTime: new Date("TIMESTAMP"), * // nextMaintenanceTime: new Date("TIMESTAMP"), * // dbBackupConfigurations: [ // DbBackupConfigurationOutputList * // { // DbBackupConfigurationOutput * // type: "HOURLY" || "DAILY" || "WEEKLY" || "MONTHLY" || "CUSTOM_SCHEDULE" || "CONTINUOUS", // required * // retentionDays: Number("int"), // required * // enabled: true || false, // required * // customSchedule: "STRING_VALUE", * // nextAutomatedBackupTime: new Date("TIMESTAMP"), * // }, * // ], * // kmsKeyId: "STRING_VALUE", * // }; * * ``` * * @param UpdateDbInstanceCommandInput - {@link UpdateDbInstanceCommandInput} * @returns {@link UpdateDbInstanceCommandOutput} * @see {@link UpdateDbInstanceCommandInput} for command's `input` shape. * @see {@link UpdateDbInstanceCommandOutput} for command's `response` shape. * @see {@link TimestreamInfluxDBClientResolvedConfig | config} for TimestreamInfluxDBClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

* * @throws {@link ConflictException} (client fault) *

The request conflicts with an existing resource in Timestream for InfluxDB.

* * @throws {@link InternalServerException} (server fault) *

The request processing has failed because of an unknown error, exception or failure.

* * @throws {@link ResourceNotFoundException} (client fault) *

The requested resource was not found or does not exist.

* * @throws {@link ThrottlingException} (client fault) *

The request was denied due to request throttling.

* * @throws {@link ValidationException} (client fault) *

The input fails to satisfy the constraints specified by Timestream for InfluxDB.

* * @throws {@link TimestreamInfluxDBServiceException} *

Base exception class for all service exceptions from TimestreamInfluxDB service.

* * * @public */ export declare class UpdateDbInstanceCommand extends UpdateDbInstanceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateDbInstanceInput; output: UpdateDbInstanceOutput; }; sdk: { input: UpdateDbInstanceCommandInput; output: UpdateDbInstanceCommandOutput; }; }; }