ListServiceVersions
Important
End of support notice: On November 12, 2024, AWS will discontinue previous generation AWS Snowball devices, and both Snowcone devices (HDD and SDD). We will continue to support existing customers using these end-of-life devices until November 12, 2025. The latest generation AWS Snowball devices are available for all customers.
For more information, visit this blog post
Lists all supported versions for Snow on-device services. Returns an
array of ServiceVersion
object containing the supported versions for a particular service.
Request Syntax
{
"DependentServices": [
{
"ServiceName": "string
",
"ServiceVersion": {
"Version": "string
"
}
}
],
"MaxResults": number
,
"NextToken": "string
",
"ServiceName": "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.
- DependentServices
-
A list of names and versions of dependant services of the requested service.
Type: Array of DependentService objects
Required: No
- MaxResults
-
The maximum number of
ListServiceVersions
objects to return.Type: Integer
Valid Range: Minimum value of 0. Maximum value of 100.
Required: No
- NextToken
-
Because HTTP requests are stateless, this is the starting point for the next list of returned
ListServiceVersionsRequest
versions.Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
.*
Required: No
- ServiceName
-
The name of the service for which you're requesting supported versions.
Type: String
Valid Values:
KUBERNETES | EKS_ANYWHERE
Required: Yes
Response Syntax
{
"DependentServices": [
{
"ServiceName": "string",
"ServiceVersion": {
"Version": "string"
}
}
],
"NextToken": "string",
"ServiceName": "string",
"ServiceVersions": [
{
"Version": "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.
- DependentServices
-
A list of names and versions of dependant services of the service for which the system provided supported versions.
Type: Array of DependentService objects
- NextToken
-
Because HTTP requests are stateless, this is the starting point of the next list of returned
ListServiceVersionsResult
results.Type: String
Length Constraints: Minimum length of 1. Maximum length of 1024.
Pattern:
.*
- ServiceName
-
The name of the service for which the system provided supported versions.
Type: String
Valid Values:
KUBERNETES | EKS_ANYWHERE
- ServiceVersions
-
A list of supported versions.
Type: Array of ServiceVersion objects
Errors
For information about the errors that are common to all actions, see Common Errors.
- InvalidNextTokenException
-
The
NextToken
string was altered unexpectedly, and the operation has stopped. Run the operation without changing theNextToken
string, and try again.HTTP Status Code: 400
- InvalidResourceException
-
The specified resource can't be found. Check the information you provided in your last request, and try again.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following: