GetDeploymentPatternVersion
Returns information about a deployment pattern version.
Request Syntax
POST /getDeploymentPatternVersion HTTP/1.1
Content-type: application/json
{
"deploymentPatternName": "string",
"deploymentPatternVersionName": "string",
"workloadName": "string"
}
URI Request Parameters
The request does not use any URI parameters.
Request Body
The request accepts the following data in JSON format.
- deploymentPatternName
-
The name of the deployment pattern. You can use the
ListWorkloadDeploymentPatternsoperation to discover supported values for this parameter.Type: String
Length Constraints: Minimum length of 1. Maximum length of 256.
Pattern:
[A-Za-z0-9][a-zA-Z0-9-]*Required: Yes
- deploymentPatternVersionName
-
The name of the deployment pattern version.
Type: String
Length Constraints: Minimum length of 5. Maximum length of 30.
Pattern:
(([A-Za-z0-9][a-zA-Z0-9-]*)|(\d+\.\d+\.\d+))Required: Yes
- workloadName
-
The name of the workload. You can use the
ListWorkloadsoperation to discover supported values for this parameter.Type: String
Length Constraints: Minimum length of 1. Maximum length of 100.
Pattern:
[A-Za-z][a-zA-Z0-9-_]*Required: Yes
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"deploymentPatternVersion": {
"deploymentPatternName": "string",
"deploymentPatternVersionName": "string",
"description": "string",
"documentationUrl": "string",
"workloadName": "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.
- deploymentPatternVersion
-
The deployment pattern version.
Type: DeploymentPatternVersionDataSummary object
Errors
For information about the errors that are common to all actions, see Common Errors.
- InternalServerException
-
An internal error has occurred. Retry your request, but if the problem persists, contact us with details by posting a question on re:Post
. HTTP Status Code: 500
- ResourceNotFoundException
-
The specified workload or deployment resource can't be found.
HTTP Status Code: 404
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: