UpdateLaunchConfiguration - Application Migration Service

UpdateLaunchConfiguration

Updates multiple LaunchConfigurations by Source Server ID.

Request Syntax

POST /UpdateLaunchConfiguration HTTP/1.1 Content-type: application/json { "copyPrivateIp": boolean, "copyTags": boolean, "launchDisposition": "string", "licensing": { "osByol": boolean }, "name": "string", "sourceServerID": "string", "targetInstanceTypeRightSizingMethod": "string" }

URI Request Parameters

The request does not use any URI parameters.

Request Body

The request accepts the following data in JSON format.

copyPrivateIp

Update Launch configuration copy Private IP request.

Type: Boolean

Required: No

copyTags

Update Launch configuration copy Tags request.

Type: Boolean

Required: No

launchDisposition

Update Launch configuration launch disposition request.

Type: String

Valid Values: STOPPED | STARTED

Required: No

licensing

Update Launch configuration licensing request.

Type: Licensing object

Required: No

name

Update Launch configuration name request.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 128.

Required: No

sourceServerID

Update Launch configuration by Source Server ID request.

Type: String

Length Constraints: Fixed length of 19.

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

Required: Yes

targetInstanceTypeRightSizingMethod

Update Launch configuration Target instance right sizing request.

Type: String

Valid Values: NONE | BASIC

Required: No

Response Syntax

HTTP/1.1 200 Content-type: application/json { "copyPrivateIp": boolean, "copyTags": boolean, "ec2LaunchTemplateID": "string", "launchDisposition": "string", "licensing": { "osByol": boolean }, "name": "string", "sourceServerID": "string", "targetInstanceTypeRightSizingMethod": "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.

copyPrivateIp

Copy Private IP during Launch Configuration.

Type: Boolean

copyTags

Copy Tags during Launch Configuration.

Type: Boolean

ec2LaunchTemplateID

Configure EC2 lauch configuration template ID.

Type: String

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

launchDisposition

Configure launch dispostion for launch configuration.

Type: String

Valid Values: STOPPED | STARTED

licensing

Configure launch configuration OS licensing.

Type: Licensing object

name

Configure launch configuration name.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 128.

sourceServerID

Configure launch configuration Source Server ID.

Type: String

Length Constraints: Fixed length of 19.

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

targetInstanceTypeRightSizingMethod

Configure launch configuration Target instance type right sizing method.

Type: String

Valid Values: NONE | BASIC

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

ResourceNotFoundException

Resource not found exception.

HTTP Status Code: 404

UninitializedAccountException

Unitialized 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: