describeAsset method
Returns a description of a MediaPackage VOD Asset resource.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw ServiceUnavailableException.
May throw TooManyRequestsException.
May throw UnprocessableEntityException.
Parameter id :
The ID of an MediaPackage VOD Asset resource.
Implementation
Future<DescribeAssetResponse> describeAsset({
required String id,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/assets/${Uri.encodeComponent(id)}',
exceptionFnMap: _exceptionFns,
);
return DescribeAssetResponse.fromJson(response);
}