deletePackage method
Delete the package.
May throw AccessDeniedException.
May throw BaseException.
May throw ConflictException.
May throw InternalException.
May throw ResourceNotFoundException.
May throw ValidationException.
Parameter packageID :
Internal ID of the package that you want to delete. Use
DescribePackages to find this value.
Implementation
Future<DeletePackageResponse> deletePackage({
required String packageID,
}) async {
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/2015-01-01/packages/${Uri.encodeComponent(packageID)}',
exceptionFnMap: _exceptionFns,
);
return DeletePackageResponse.fromJson(response);
}