ListExtensionVersions
Lists the released versions of an extension, newest first. To list only the versions that match a version selector, use the versionSelector parameter.
Request Syntax
GET /extensions/identifier/versions?maxResults=maxResults&nextToken=nextToken&versionSelector=versionSelector HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
- identifier
-
The ID of the extension whose versions to list.
Length Constraints: Minimum length of 6. Maximum length of 49.
Pattern:
[a-z0-9]{3,16}:[a-z][a-z0-9]+([_-][a-z0-9]+)*Required: Yes
- maxResults
-
The maximum number of results to return in one page. The valid range is 1 to 100.
Valid Range: Minimum value of 1. Maximum value of 100.
- nextToken
-
The token for the next page of results. Use the value that the previous call returned.
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
[A-Za-z0-9_-]+ - versionSelector
-
A version selector that limits the results to matching versions. The selector supports wildcards. Use
xin the minor or patch position to match any value in that position. For example,1.x.xmatches all versions with a major version of 1. You can also useXor*as the wildcard.Pattern:
(0|[1-9]\d{0,7})(\.[xX*](\.[xX*])?|\.(0|[1-9]\d{0,7})(\.([xX*]|0|[1-9]\d{0,7}))?)?
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-type: application/json
{
"items": [
{
"arn": "string",
"displayName": "string",
"documentationLink": "string",
"id": "string",
"overview": "string",
"releasedAt": "string",
"releaseNotes": "string",
"version": "string"
}
],
"nextToken": "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.
- items
-
The versions of the extension in this page of results, newest first.
Type: Array of ExtensionSummary objects
- nextToken
-
The token to use to retrieve the next page of results. This value is absent when there are no more results.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
[A-Za-z0-9_-]+
Errors
For information about the errors that are common to all actions, see Common Error Types.
- AccessDeniedException
-
You don't have permission to perform the operation.
- message
-
A description of why the request was denied.
HTTP Status Code: 403
- InternalServerException
-
The service couldn't process the request because of an internal error. Retry the request with capped exponential backoff and jitter.
- message
-
A short summary that is the same for every
InternalServerException. - retryAfterSeconds
-
The number of seconds to wait before you retry the request, from the
Retry-Afterheader. This value is present only when the service sets the header.
HTTP Status Code: 500
- ResourceNotFoundException
-
The specified resource doesn't exist, or you don't have permission to access it.
- identifier
-
The identifier that was used to look up the resource.
- message
-
A short summary that is the same for every
ResourceNotFoundException. For the details, seeresourceTypeandidentifier. - resourceType
-
The type of the resource that wasn't found.
HTTP Status Code: 404
- ThrottlingException
-
The request rate exceeded a limit. Retry the request with capped exponential backoff and jitter.
- message
-
A description of the error.
- retryAfterSeconds
-
The number of seconds to wait before you retry the request, from the
Retry-Afterheader. This value is present only when the service sets the header.
HTTP Status Code: 429
- ValidationException
-
The request is malformed or contains parameter values that aren't valid.
- errors
-
A list of the specific reasons that the request failed validation, when available.
- message
-
A short summary that is the same for every
ValidationException. For the details, seereasonanderrors. - reason
-
A classification of the validation failure.
FIELD_VALIDATION_FAILEDmeans that one or more input fields failed validation.UNKNOWN_OPERATIONmeans that the requested operation doesn't exist.CANNOT_PARSEmeans that the request body couldn't be parsed, or doesn't have the shape that the operation expects.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: