Snowball.Client.
list_service_versions
(**kwargs)¶Lists all supported versions for Snow on-device services. Returns an array of ServiceVersion
object containing the supported versions for a particular service.
See also: AWS API Documentation
Request Syntax
response = client.list_service_versions(
ServiceName='KUBERNETES'|'EKS_ANYWHERE',
DependentServices=[
{
'ServiceName': 'KUBERNETES'|'EKS_ANYWHERE',
'ServiceVersion': {
'Version': 'string'
}
},
],
MaxResults=123,
NextToken='string'
)
[REQUIRED]
The name of the service for which you're requesting supported versions.
A list of names and versions of dependant services of the requested service.
The name and version of the service dependant on the requested service.
The name of the dependent service.
The version of the dependent service.
The version number of the requested service.
ListServiceVersions
objects to return.ListServiceVersionsRequest
versions.dict
Response Syntax
{
'ServiceVersions': [
{
'Version': 'string'
},
],
'ServiceName': 'KUBERNETES'|'EKS_ANYWHERE',
'DependentServices': [
{
'ServiceName': 'KUBERNETES'|'EKS_ANYWHERE',
'ServiceVersion': {
'Version': 'string'
}
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
ServiceVersions (list) --
A list of supported versions.
(dict) --
The version of the requested service.
Version (string) --
The version number of the requested service.
ServiceName (string) --
The name of the service for which the system provided supported versions.
DependentServices (list) --
A list of names and versions of dependant services of the service for which the system provided supported versions.
(dict) --
The name and version of the service dependant on the requested service.
ServiceName (string) --
The name of the dependent service.
ServiceVersion (dict) --
The version of the dependent service.
Version (string) --
The version number of the requested service.
NextToken (string) --
Because HTTP requests are stateless, this is the starting point of the next list of returned ListServiceVersionsResult
results.
Exceptions
Snowball.Client.exceptions.InvalidNextTokenException
Snowball.Client.exceptions.InvalidResourceException