GetLatestAssessmentId
Note
AWS Migration Hub will no longer be open to new customers starting November 7, 2025. To continue using the service, sign up prior to November 7, 2025. For capabilities similar to AWS Migration Hub, explore AWS Migration Hub
Retrieve the latest ID of a specific assessment task.
Request Syntax
GET /get-latest-assessment-id HTTP/1.1
URI Request Parameters
The request does not use any URI parameters.
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"id": "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.
- id
-
The latest ID for the specific assessment task.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 52.
Pattern:
.*[0-9a-z-:]+.*
Errors
For information about the errors that are common to all actions, see Common Errors.
- AccessDeniedException
-
The user does not have permission to perform the action. Check the AWS Identity and Access Management (IAM) policy associated with this user.
HTTP Status Code: 403
- DependencyException
-
Dependency encountered an error.
HTTP Status Code: 500
- InternalServerException
-
The server experienced an internal error. Try again.
HTTP Status Code: 500
- ValidationException
-
The request body isn't valid.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: