getImageSet method
Get image set properties.
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 versionId :
The image set version identifier.
Implementation
Future<GetImageSetResponse> getImageSet({
required String datastoreId,
required String imageSetId,
String? versionId,
}) async {
final $query = <String, List<String>>{
if (versionId != null) 'version': [versionId],
};
final response = await _protocol.send(
payload: null,
method: 'POST',
requestUri:
'/datastore/${Uri.encodeComponent(datastoreId)}/imageSet/${Uri.encodeComponent(imageSetId)}/getImageSet',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return GetImageSetResponse.fromJson(response);
}