deleteAsset method
Deletes an existing MediaPackage VOD Asset resource.
May throw UnprocessableEntityException. May throw InternalServerErrorException. May throw ForbiddenException. May throw NotFoundException. May throw ServiceUnavailableException. May throw TooManyRequestsException.
Parameter id
:
The ID of the MediaPackage VOD Asset resource to delete.
Implementation
Future<void> deleteAsset({
required String id,
}) async {
ArgumentError.checkNotNull(id, 'id');
final response = await _protocol.send(
payload: null,
method: 'DELETE',
requestUri: '/assets/${Uri.encodeComponent(id)}',
exceptionFnMap: _exceptionFns,
);
}