listImageSetVersions method
List image set versions.
May throw AccessDeniedException.
May throw ConflictException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter datastoreId :
The data store identifier.
Parameter imageSetId :
The image set identifier.
Parameter maxResults :
The max results count.
Parameter nextToken :
The pagination token used to request the list of image set versions on the
next page.
Implementation
Future<ListImageSetVersionsResponse> listImageSetVersions({
required String datastoreId,
required String imageSetId,
int? maxResults,
String? nextToken,
}) async {
final $query = <String, List<String>>{
if (maxResults != null) 'maxResults': [maxResults.toString()],
if (nextToken != null) 'nextToken': [nextToken],
};
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri:
'/datastore/${Uri.encodeComponent(datastoreId)}/imageSet/${Uri.encodeComponent(imageSetId)}/listImageSetVersions',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListImageSetVersionsResponse.fromJson(response);
}