GetAppValidationConfiguration
Retrieves information about a configuration for validating an application.
Request Syntax
{
"appId": "string
"
}
Request Parameters
For information about the parameters that are common to all actions, see Common Parameters.
The request accepts the following data in JSON format.
- appId
-
The ID of the application.
Type: String
Pattern:
^app-[0-9a-f]{17}$
Required: Yes
Response Syntax
{
"appValidationConfigurations": [
{
"appValidationStrategy": "string",
"name": "string",
"ssmValidationParameters": {
"command": "string",
"executionTimeoutSeconds": number,
"instanceId": "string",
"outputS3BucketName": "string",
"scriptType": "string",
"source": {
"s3Location": {
"bucket": "string",
"key": "string"
}
}
},
"validationId": "string"
}
],
"serverGroupValidationConfigurations": [
{
"serverGroupId": "string",
"serverValidationConfigurations": [
{
"name": "string",
"server": {
"replicationJobId": "string",
"replicationJobTerminated": boolean,
"serverId": "string",
"serverType": "string",
"vmServer": {
"vmManagerName": "string",
"vmManagerType": "string",
"vmName": "string",
"vmPath": "string",
"vmServerAddress": {
"vmId": "string",
"vmManagerId": "string"
}
}
},
"serverValidationStrategy": "string",
"userDataValidationParameters": {
"scriptType": "string",
"source": {
"s3Location": {
"bucket": "string",
"key": "string"
}
}
},
"validationId": "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.
- appValidationConfigurations
-
The configuration for application validation.
Type: Array of AppValidationConfiguration objects
- serverGroupValidationConfigurations
-
The configuration for instance validation.
Type: Array of ServerGroupValidationConfiguration objects
Errors
For information about the errors that are common to all actions, see Common Errors.
- InternalError
-
An internal error occurred.
HTTP Status Code: 500
- InvalidParameterException
-
A specified parameter is not valid.
HTTP Status Code: 400
- MissingRequiredParameterException
-
A required parameter is missing.
HTTP Status Code: 400
- OperationNotPermittedException
-
This operation is not allowed.
HTTP Status Code: 400
- UnauthorizedOperationException
-
You lack permissions needed to perform this operation.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: