import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateExtendedSourceServerRequest, CreateExtendedSourceServerResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateExtendedSourceServerCommand}. */ export interface CreateExtendedSourceServerCommandInput extends CreateExtendedSourceServerRequest { } /** * @public * * The output of {@link CreateExtendedSourceServerCommand}. */ export interface CreateExtendedSourceServerCommandOutput extends CreateExtendedSourceServerResponse, __MetadataBearer { } declare const CreateExtendedSourceServerCommand_base: { new (input: CreateExtendedSourceServerCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateExtendedSourceServerCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Create an extended source server in the target Account based on the source server in staging account.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { DrsClient, CreateExtendedSourceServerCommand } from "@aws-sdk/client-drs"; // ES Modules import * // const { DrsClient, CreateExtendedSourceServerCommand } = require("@aws-sdk/client-drs"); // CommonJS import * // import type { DrsClientConfig } from "@aws-sdk/client-drs"; * const config = {}; // type is DrsClientConfig * const client = new DrsClient(config); * const input = { // CreateExtendedSourceServerRequest * sourceServerArn: "STRING_VALUE", // required * tags: { // TagsMap * "": "STRING_VALUE", * }, * }; * const command = new CreateExtendedSourceServerCommand(input); * const response = await client.send(command); * // { // CreateExtendedSourceServerResponse * // sourceServer: { // SourceServer * // sourceServerID: "STRING_VALUE", * // arn: "STRING_VALUE", * // tags: { // TagsMap * // "": "STRING_VALUE", * // }, * // recoveryInstanceId: "STRING_VALUE", * // lastLaunchResult: "STRING_VALUE", * // dataReplicationInfo: { // DataReplicationInfo * // lagDuration: "STRING_VALUE", * // etaDateTime: "STRING_VALUE", * // replicatedDisks: [ // DataReplicationInfoReplicatedDisks * // { // DataReplicationInfoReplicatedDisk * // deviceName: "STRING_VALUE", * // totalStorageBytes: Number("long"), * // replicatedStorageBytes: Number("long"), * // rescannedStorageBytes: Number("long"), * // backloggedStorageBytes: Number("long"), * // volumeStatus: "STRING_VALUE", * // }, * // ], * // dataReplicationState: "STRING_VALUE", * // dataReplicationInitiation: { // DataReplicationInitiation * // startDateTime: "STRING_VALUE", * // nextAttemptDateTime: "STRING_VALUE", * // steps: [ // DataReplicationInitiationSteps * // { // DataReplicationInitiationStep * // name: "STRING_VALUE", * // status: "STRING_VALUE", * // }, * // ], * // }, * // dataReplicationError: { // DataReplicationError * // error: "STRING_VALUE", * // rawError: "STRING_VALUE", * // }, * // stagingAvailabilityZone: "STRING_VALUE", * // stagingOutpostArn: "STRING_VALUE", * // }, * // lifeCycle: { // LifeCycle * // addedToServiceDateTime: "STRING_VALUE", * // firstByteDateTime: "STRING_VALUE", * // elapsedReplicationDuration: "STRING_VALUE", * // lastSeenByServiceDateTime: "STRING_VALUE", * // lastLaunch: { // LifeCycleLastLaunch * // initiated: { // LifeCycleLastLaunchInitiated * // apiCallDateTime: "STRING_VALUE", * // jobID: "STRING_VALUE", * // type: "STRING_VALUE", * // }, * // status: "STRING_VALUE", * // }, * // }, * // sourceProperties: { // SourceProperties * // lastUpdatedDateTime: "STRING_VALUE", * // recommendedInstanceType: "STRING_VALUE", * // identificationHints: { // IdentificationHints * // fqdn: "STRING_VALUE", * // hostname: "STRING_VALUE", * // vmWareUuid: "STRING_VALUE", * // awsInstanceID: "STRING_VALUE", * // }, * // networkInterfaces: [ // NetworkInterfaces * // { // NetworkInterface * // macAddress: "STRING_VALUE", * // ips: [ // IPsList * // "STRING_VALUE", * // ], * // isPrimary: true || false, * // }, * // ], * // disks: [ // Disks * // { // Disk * // deviceName: "STRING_VALUE", * // bytes: Number("long"), * // }, * // ], * // cpus: [ // Cpus * // { // CPU * // cores: Number("long"), * // modelName: "STRING_VALUE", * // }, * // ], * // ramBytes: Number("long"), * // os: { // OS * // fullString: "STRING_VALUE", * // }, * // supportsNitroInstances: true || false, * // }, * // stagingArea: { // StagingArea * // status: "STRING_VALUE", * // stagingAccountID: "STRING_VALUE", * // stagingSourceServerArn: "STRING_VALUE", * // errorMessage: "STRING_VALUE", * // }, * // sourceCloudProperties: { // SourceCloudProperties * // originAccountID: "STRING_VALUE", * // originRegion: "STRING_VALUE", * // originAvailabilityZone: "STRING_VALUE", * // sourceOutpostArn: "STRING_VALUE", * // }, * // replicationDirection: "STRING_VALUE", * // reversedDirectionSourceServerArn: "STRING_VALUE", * // sourceNetworkID: "STRING_VALUE", * // agentVersion: "STRING_VALUE", * // }, * // }; * * ``` * * @param CreateExtendedSourceServerCommandInput - {@link CreateExtendedSourceServerCommandInput} * @returns {@link CreateExtendedSourceServerCommandOutput} * @see {@link CreateExtendedSourceServerCommandInput} for command's `input` shape. * @see {@link CreateExtendedSourceServerCommandOutput} for command's `response` shape. * @see {@link DrsClientResolvedConfig | config} for DrsClient's `config` shape. * * @throws {@link AccessDeniedException} (client fault) *

You do not have sufficient access to perform this action.

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

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

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

The resource for this operation was not found.

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

The request could not be completed because its exceeded the service quota.

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

The request was denied due to request throttling.

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

The account performing the request has not been initialized.

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

The input fails to satisfy the constraints specified by the AWS service.

* * @throws {@link DrsServiceException} *

Base exception class for all service exceptions from Drs service.

* * * @public */ export declare class CreateExtendedSourceServerCommand extends CreateExtendedSourceServerCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateExtendedSourceServerRequest; output: CreateExtendedSourceServerResponse; }; sdk: { input: CreateExtendedSourceServerCommandInput; output: CreateExtendedSourceServerCommandOutput; }; }; }