deleteImageSet method

Future<DeleteImageSetResponse> deleteImageSet({
  1. required String datastoreId,
  2. required String imageSetId,
})

Delete an image set.

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.

Implementation

Future<DeleteImageSetResponse> deleteImageSet({
  required String datastoreId,
  required String imageSetId,
}) async {
  final response = await _protocol.send(
    payload: null,
    method: 'POST',
    requestUri:
        '/datastore/${Uri.encodeComponent(datastoreId)}/imageSet/${Uri.encodeComponent(imageSetId)}/deleteImageSet',
    exceptionFnMap: _exceptionFns,
  );
  return DeleteImageSetResponse.fromJson(response);
}