deleteImage method
Deletes an image.
May throw ServiceException. May throw ClientException. May throw InvalidRequestException. May throw ServiceUnavailableException. May throw ForbiddenException. May throw CallRateLimitExceededException. May throw ResourceDependencyException.
Parameter imageBuildVersionArn
:
The Amazon Resource Name (ARN) of the image to delete.
Implementation
Future<DeleteImageResponse> deleteImage({
required String imageBuildVersionArn,
}) async {
ArgumentError.checkNotNull(imageBuildVersionArn, 'imageBuildVersionArn');
final $query = <String, List<String>>{
'imageBuildVersionArn': [imageBuildVersionArn],
};
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/DeleteImage',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return DeleteImageResponse.fromJson(response);
}