ListServiceVersions - AWS Snowball

ListServiceVersions

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 the NextToken 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: