/// <summary> /// Deletes a MediaPackage VOD PackagingConfiguration resource. /// </summary> /// <param name="request">Container for the necessary parameters to execute the DeletePackagingConfiguration service method.</param> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> /// /// <returns>The response from the DeletePackagingConfiguration service method, as returned by MediaPackageVod.</returns> /// <exception cref="Amazon.MediaPackageVod.Model.ForbiddenException"> /// The client is not authorized to access the requested resource. /// </exception> /// <exception cref="Amazon.MediaPackageVod.Model.InternalServerErrorException"> /// An unexpected error occurred. /// </exception> /// <exception cref="Amazon.MediaPackageVod.Model.NotFoundException"> /// The requested resource does not exist. /// </exception> /// <exception cref="Amazon.MediaPackageVod.Model.ServiceUnavailableException"> /// An unexpected error occurred. /// </exception> /// <exception cref="Amazon.MediaPackageVod.Model.TooManyRequestsException"> /// The client has exceeded their resource or throttling limits. /// </exception> /// <exception cref="Amazon.MediaPackageVod.Model.UnprocessableEntityException"> /// The parameters sent in the request are not valid. /// </exception> /// <seealso href="http://docs.aws.amazon.com/goto/WebAPI/mediapackage-vod-2018-11-07/DeletePackagingConfiguration">REST API Reference for DeletePackagingConfiguration Operation</seealso> public virtual Task <DeletePackagingConfigurationResponse> DeletePackagingConfigurationAsync(DeletePackagingConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePackagingConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePackagingConfigurationResponseUnmarshaller.Instance; return(InvokeAsync <DeletePackagingConfigurationResponse>(request, options, cancellationToken)); }
internal virtual DeletePackagingConfigurationResponse DeletePackagingConfiguration(DeletePackagingConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePackagingConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePackagingConfigurationResponseUnmarshaller.Instance; return(Invoke <DeletePackagingConfigurationResponse>(request, options)); }