Sélectionner vos préférences de cookies

Nous utilisons des cookies essentiels et des outils similaires qui sont nécessaires au fonctionnement de notre site et à la fourniture de nos services. Nous utilisons des cookies de performance pour collecter des statistiques anonymes afin de comprendre comment les clients utilisent notre site et d’apporter des améliorations. Les cookies essentiels ne peuvent pas être désactivés, mais vous pouvez cliquer sur « Personnaliser » ou « Refuser » pour refuser les cookies de performance.

Si vous êtes d’accord, AWS et les tiers approuvés utiliseront également des cookies pour fournir des fonctionnalités utiles au site, mémoriser vos préférences et afficher du contenu pertinent, y compris des publicités pertinentes. Pour accepter ou refuser tous les cookies non essentiels, cliquez sur « Accepter » ou « Refuser ». Pour effectuer des choix plus détaillés, cliquez sur « Personnaliser ».

StartTest - ApplicationMigrationService
Cette page n'a pas été traduite dans votre langue. Demande de traduction

StartTest

Launches a Test Instance for specific Source Servers. This command starts a LAUNCH job whose initiatedBy property is StartTest and changes the SourceServer.lifeCycle.state property to TESTING.

Request Syntax

POST /StartTest HTTP/1.1 Content-type: application/json { "accountID": "string", "sourceServerIDs": [ "string" ], "tags": { "string" : "string" } }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

accountID

Start Test for Account ID.

Type: String

Length Constraints: Fixed length of 12.

Pattern: [0-9]{12,}

Required: No

sourceServerIDs

Start Test for Source Server IDs.

Type: Array of strings

Array Members: Minimum number of 1 item. Maximum number of 200 items.

Length Constraints: Fixed length of 19.

Pattern: ^s-[0-9a-zA-Z]{17}$

Required: Yes

tags

Start Test by Tags.

Type: String to string map

Map Entries: Minimum number of 0 items. Maximum number of 50 items.

Key Length Constraints: Minimum length of 0. Maximum length of 256.

Value Length Constraints: Minimum length of 0. Maximum length of 256.

Required: No

Response Syntax

HTTP/1.1 202 Content-type: application/json { "job": { "arn": "string", "creationDateTime": "string", "endDateTime": "string", "initiatedBy": "string", "jobID": "string", "participatingServers": [ { "launchedEc2InstanceID": "string", "launchStatus": "string", "postLaunchActionsStatus": { "postLaunchActionsLaunchStatusList": [ { "executionID": "string", "executionStatus": "string", "failureReason": "string", "ssmDocument": { "actionName": "string", "externalParameters": { "string" : { ... } }, "mustSucceedForCutover": boolean, "parameters": { "string" : [ { "parameterName": "string", "parameterType": "string" } ] }, "ssmDocumentName": "string", "timeoutSeconds": number }, "ssmDocumentType": "string" } ], "ssmAgentDiscoveryDatetime": "string" }, "sourceServerID": "string" } ], "status": "string", "tags": { "string" : "string" }, "type": "string" } }

Response Elements

If the action is successful, the service sends back an HTTP 202 response.

The following data is returned in JSON format by the service.

job

Start Test Job response.

Type: Job object

Errors

For information about the errors that are common to all actions, see Common Errors.

ConflictException

The request could not be completed due to a conflict with the current state of the target resource.

HTTP Status Code: 409

UninitializedAccountException

Uninitialized account exception.

HTTP Status Code: 400

ValidationException

Validate exception.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

Rubrique suivante :

StopReplication

Rubrique précédente :

StartReplication
ConfidentialitéConditions d'utilisation du sitePréférences de cookies
© 2025, Amazon Web Services, Inc. ou ses affiliés. Tous droits réservés.