import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DatabaseMigrationServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DatabaseMigrationServiceClient"; import type { RebootReplicationInstanceMessage } from "../models/models_0"; import type { RebootReplicationInstanceResponse } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link RebootReplicationInstanceCommand}. */ export interface RebootReplicationInstanceCommandInput extends RebootReplicationInstanceMessage { } /** * @public * * The output of {@link RebootReplicationInstanceCommand}. */ export interface RebootReplicationInstanceCommandOutput extends RebootReplicationInstanceResponse, __MetadataBearer { } declare const RebootReplicationInstanceCommand_base: { new (input: RebootReplicationInstanceCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: RebootReplicationInstanceCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Reboots a replication instance. Rebooting results in a momentary outage, until the * replication instance becomes available again.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DatabaseMigrationServiceClient, RebootReplicationInstanceCommand } from "@aws-sdk/client-database-migration-service"; // ES Modules import * // const { DatabaseMigrationServiceClient, RebootReplicationInstanceCommand } = require("@aws-sdk/client-database-migration-service"); // CommonJS import * // import type { DatabaseMigrationServiceClientConfig } from "@aws-sdk/client-database-migration-service"; * const config = {}; // type is DatabaseMigrationServiceClientConfig * const client = new DatabaseMigrationServiceClient(config); * const input = { // RebootReplicationInstanceMessage * ReplicationInstanceArn: "STRING_VALUE", // required * ForceFailover: true || false, * ForcePlannedFailover: true || false, * }; * const command = new RebootReplicationInstanceCommand(input); * const response = await client.send(command); * // { // RebootReplicationInstanceResponse * // ReplicationInstance: { // ReplicationInstance * // ReplicationInstanceIdentifier: "STRING_VALUE", * // ReplicationInstanceClass: "STRING_VALUE", * // ReplicationInstanceStatus: "STRING_VALUE", * // AllocatedStorage: Number("int"), * // InstanceCreateTime: new Date("TIMESTAMP"), * // VpcSecurityGroups: [ // VpcSecurityGroupMembershipList * // { // VpcSecurityGroupMembership * // VpcSecurityGroupId: "STRING_VALUE", * // Status: "STRING_VALUE", * // }, * // ], * // AvailabilityZone: "STRING_VALUE", * // ReplicationSubnetGroup: { // ReplicationSubnetGroup * // ReplicationSubnetGroupIdentifier: "STRING_VALUE", * // ReplicationSubnetGroupDescription: "STRING_VALUE", * // VpcId: "STRING_VALUE", * // SubnetGroupStatus: "STRING_VALUE", * // Subnets: [ // SubnetList * // { // Subnet * // SubnetIdentifier: "STRING_VALUE", * // SubnetAvailabilityZone: { // AvailabilityZone * // Name: "STRING_VALUE", * // }, * // SubnetStatus: "STRING_VALUE", * // }, * // ], * // SupportedNetworkTypes: [ // StringList * // "STRING_VALUE", * // ], * // IsReadOnly: true || false, * // }, * // PreferredMaintenanceWindow: "STRING_VALUE", * // PendingModifiedValues: { // ReplicationPendingModifiedValues * // ReplicationInstanceClass: "STRING_VALUE", * // AllocatedStorage: Number("int"), * // MultiAZ: true || false, * // EngineVersion: "STRING_VALUE", * // NetworkType: "STRING_VALUE", * // }, * // MultiAZ: true || false, * // EngineVersion: "STRING_VALUE", * // AutoMinorVersionUpgrade: true || false, * // KmsKeyId: "STRING_VALUE", * // ReplicationInstanceArn: "STRING_VALUE", * // ReplicationInstancePublicIpAddress: "STRING_VALUE", * // ReplicationInstancePrivateIpAddress: "STRING_VALUE", * // ReplicationInstancePublicIpAddresses: [ // ReplicationInstancePublicIpAddressList * // "STRING_VALUE", * // ], * // ReplicationInstancePrivateIpAddresses: [ // ReplicationInstancePrivateIpAddressList * // "STRING_VALUE", * // ], * // ReplicationInstanceIpv6Addresses: [ // ReplicationInstanceIpv6AddressList * // "STRING_VALUE", * // ], * // PubliclyAccessible: true || false, * // SecondaryAvailabilityZone: "STRING_VALUE", * // FreeUntil: new Date("TIMESTAMP"), * // DnsNameServers: "STRING_VALUE", * // NetworkType: "STRING_VALUE", * // KerberosAuthenticationSettings: { // KerberosAuthenticationSettings * // KeyCacheSecretId: "STRING_VALUE", * // KeyCacheSecretIamArn: "STRING_VALUE", * // Krb5FileContents: "STRING_VALUE", * // }, * // }, * // }; * * ``` * * @param RebootReplicationInstanceCommandInput - {@link RebootReplicationInstanceCommandInput} * @returns {@link RebootReplicationInstanceCommandOutput} * @see {@link RebootReplicationInstanceCommandInput} for command's `input` shape. * @see {@link RebootReplicationInstanceCommandOutput} for command's `response` shape. * @see {@link DatabaseMigrationServiceClientResolvedConfig | config} for DatabaseMigrationServiceClient's `config` shape. * * @throws {@link InvalidResourceStateFault} (client fault) *

The resource is in a state that prevents it from being used for database migration.

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

The resource could not be found.

* * @throws {@link DatabaseMigrationServiceServiceException} *

Base exception class for all service exceptions from DatabaseMigrationService service.

* * * @public */ export declare class RebootReplicationInstanceCommand extends RebootReplicationInstanceCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RebootReplicationInstanceMessage; output: RebootReplicationInstanceResponse; }; sdk: { input: RebootReplicationInstanceCommandInput; output: RebootReplicationInstanceCommandOutput; }; }; }