AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Deletes an existing MediaPackage VOD Asset resource.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to DeleteAssetAsync.

Namespace: Amazon.MediaPackageVod
Assembly: AWSSDK.MediaPackageVod.dll
Version: 3.x.y.z

Syntax

C#
public virtual DeleteAssetResponse DeleteAsset(
         DeleteAssetRequest request
)

Parameters

request
Type: Amazon.MediaPackageVod.Model.DeleteAssetRequest

Container for the necessary parameters to execute the DeleteAsset service method.

Return Value


The response from the DeleteAsset service method, as returned by MediaPackageVod.

Exceptions

ExceptionCondition
ForbiddenException The client is not authorized to access the requested resource.
InternalServerErrorException An unexpected error occurred.
NotFoundException The requested resource does not exist.
ServiceUnavailableException An unexpected error occurred.
TooManyRequestsException The client has exceeded their resource or throttling limits.
UnprocessableEntityException The parameters sent in the request are not valid.

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also