import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { RebootDBInstanceMessage, RebootDBInstanceResult } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link RebootDBInstanceCommand}. */ export interface RebootDBInstanceCommandInput extends RebootDBInstanceMessage { } /** * @public * * The output of {@link RebootDBInstanceCommand}. */ export interface RebootDBInstanceCommandOutput extends RebootDBInstanceResult, __MetadataBearer { } declare const RebootDBInstanceCommand_base: { new (input: RebootDBInstanceCommandInput): import("@smithy/core/client").CommandImpl; new (input: RebootDBInstanceCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

You might need to reboot your instance, usually for maintenance reasons. For * example, if you make certain changes, or if you change the cluster parameter group * that is associated with the instance, you must reboot the instance for the changes to * take effect.

*

Rebooting an instance restarts the database engine service. Rebooting an instance * results in a momentary outage, during which the instance status is set to * rebooting.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DocDBClient, RebootDBInstanceCommand } from "@aws-sdk/client-docdb"; // ES Modules import * // const { DocDBClient, RebootDBInstanceCommand } = require("@aws-sdk/client-docdb"); // CommonJS import * // import type { DocDBClientConfig } from "@aws-sdk/client-docdb"; * const config = {}; // type is DocDBClientConfig * const client = new DocDBClient(config); * const input = { // RebootDBInstanceMessage * DBInstanceIdentifier: "STRING_VALUE", // required * ForceFailover: true || false, * }; * const command = new RebootDBInstanceCommand(input); * const response = await client.send(command); * // { // RebootDBInstanceResult * // DBInstance: { // DBInstance * // DBInstanceIdentifier: "STRING_VALUE", * // DBInstanceClass: "STRING_VALUE", * // Engine: "STRING_VALUE", * // DBInstanceStatus: "STRING_VALUE", * // Endpoint: { // Endpoint * // Address: "STRING_VALUE", * // Port: Number("int"), * // HostedZoneId: "STRING_VALUE", * // }, * // InstanceCreateTime: new Date("TIMESTAMP"), * // PreferredBackupWindow: "STRING_VALUE", * // BackupRetentionPeriod: Number("int"), * // VpcSecurityGroups: [ // VpcSecurityGroupMembershipList * // { // VpcSecurityGroupMembership * // VpcSecurityGroupId: "STRING_VALUE", * // Status: "STRING_VALUE", * // }, * // ], * // AvailabilityZone: "STRING_VALUE", * // DBSubnetGroup: { // DBSubnetGroup * // DBSubnetGroupName: "STRING_VALUE", * // DBSubnetGroupDescription: "STRING_VALUE", * // VpcId: "STRING_VALUE", * // SubnetGroupStatus: "STRING_VALUE", * // Subnets: [ // SubnetList * // { // Subnet * // SubnetIdentifier: "STRING_VALUE", * // SubnetAvailabilityZone: { // AvailabilityZone * // Name: "STRING_VALUE", * // }, * // SubnetStatus: "STRING_VALUE", * // }, * // ], * // DBSubnetGroupArn: "STRING_VALUE", * // SupportedNetworkTypes: [ // NetworkTypeList * // "STRING_VALUE", * // ], * // }, * // PreferredMaintenanceWindow: "STRING_VALUE", * // PendingModifiedValues: { // PendingModifiedValues * // DBInstanceClass: "STRING_VALUE", * // AllocatedStorage: Number("int"), * // MasterUserPassword: "STRING_VALUE", * // Port: Number("int"), * // BackupRetentionPeriod: Number("int"), * // MultiAZ: true || false, * // EngineVersion: "STRING_VALUE", * // LicenseModel: "STRING_VALUE", * // Iops: Number("int"), * // DBInstanceIdentifier: "STRING_VALUE", * // StorageType: "STRING_VALUE", * // CACertificateIdentifier: "STRING_VALUE", * // DBSubnetGroupName: "STRING_VALUE", * // PendingCloudwatchLogsExports: { // PendingCloudwatchLogsExports * // LogTypesToEnable: [ // LogTypeList * // "STRING_VALUE", * // ], * // LogTypesToDisable: [ * // "STRING_VALUE", * // ], * // }, * // }, * // LatestRestorableTime: new Date("TIMESTAMP"), * // EngineVersion: "STRING_VALUE", * // AutoMinorVersionUpgrade: true || false, * // PubliclyAccessible: true || false, * // StatusInfos: [ // DBInstanceStatusInfoList * // { // DBInstanceStatusInfo * // StatusType: "STRING_VALUE", * // Normal: true || false, * // Status: "STRING_VALUE", * // Message: "STRING_VALUE", * // }, * // ], * // DBClusterIdentifier: "STRING_VALUE", * // StorageEncrypted: true || false, * // KmsKeyId: "STRING_VALUE", * // DbiResourceId: "STRING_VALUE", * // CACertificateIdentifier: "STRING_VALUE", * // CopyTagsToSnapshot: true || false, * // PromotionTier: Number("int"), * // DBInstanceArn: "STRING_VALUE", * // EnabledCloudwatchLogsExports: [ * // "STRING_VALUE", * // ], * // CertificateDetails: { // CertificateDetails * // CAIdentifier: "STRING_VALUE", * // ValidTill: new Date("TIMESTAMP"), * // }, * // PerformanceInsightsEnabled: true || false, * // PerformanceInsightsKMSKeyId: "STRING_VALUE", * // }, * // }; * * ``` * * @param RebootDBInstanceCommandInput - {@link RebootDBInstanceCommandInput} * @returns {@link RebootDBInstanceCommandOutput} * @see {@link RebootDBInstanceCommandInput} for command's `input` shape. * @see {@link RebootDBInstanceCommandOutput} for command's `response` shape. * @see {@link DocDBClientResolvedConfig | config} for DocDBClient's `config` shape. * * @throws {@link DBInstanceNotFoundFault} (client fault) *

* DBInstanceIdentifier doesn't refer to an existing instance.

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

The specified instance isn't in the available state. *

* * @throws {@link DocDBServiceException} *

Base exception class for all service exceptions from DocDB service.

* * * @public */ export declare class RebootDBInstanceCommand extends RebootDBInstanceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RebootDBInstanceMessage; output: RebootDBInstanceResult; }; sdk: { input: RebootDBInstanceCommandInput; output: RebootDBInstanceCommandOutput; }; }; }