UpdateLaunchConfigurationTemplate - ApplicationMigrationService

UpdateLaunchConfigurationTemplate

Updates an existing Launch Configuration Template by ID.

Request Syntax

POST /UpdateLaunchConfigurationTemplate HTTP/1.1 Content-type: application/json { "launchConfigurationTemplateID": "string", "postLaunchActions": { "cloudWatchLogGroupName": "string", "deployment": "string", "s3LogBucket": "string", "s3OutputKeyPrefix": "string", "ssmDocuments": [ { "actionName": "string", "mustSucceedForCutover": boolean, "parameters": { "string" : [ { "parameterName": "string", "parameterType": "string" } ] }, "ssmDocumentName": "string", "timeoutSeconds": number } ] } }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

launchConfigurationTemplateID

Launch Configuration Template ID.

Type: String

Length Constraints: Fixed length of 21.

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

Required: Yes

postLaunchActions

Post Launch Action to execute on the Test or Cutover instance.

Type: PostLaunchActions object

Required: No

Response Syntax

HTTP/1.1 200 Content-type: application/json { "arn": "string", "launchConfigurationTemplateID": "string", "postLaunchActions": { "cloudWatchLogGroupName": "string", "deployment": "string", "s3LogBucket": "string", "s3OutputKeyPrefix": "string", "ssmDocuments": [ { "actionName": "string", "mustSucceedForCutover": boolean, "parameters": { "string" : [ { "parameterName": "string", "parameterType": "string" } ] }, "ssmDocumentName": "string", "timeoutSeconds": number } ] }, "tags": { "string" : "string" } }

Response Elements

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

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

arn

ARN of the Launch Configuration Template.

Type: String

Length Constraints: Minimum length of 20. Maximum length of 2048.

launchConfigurationTemplateID

ID of the Launch Configuration Template.

Type: String

Length Constraints: Fixed length of 21.

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

postLaunchActions

Post Launch Actions of the Launch Configuration Template.

Type: PostLaunchActions object

tags

Tags of the Launch Configuration Template.

Type: String to string map

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

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

Errors

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

AccessDeniedException

Operating denied due to a file permission or access check error.

HTTP Status Code: 403

ResourceNotFoundException

Resource not found exception.

HTTP Status Code: 404

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: