/// <summary> /// <para>The DeletePreset operation removes a preset that you've added in an AWS region.</para> <para><b>NOTE:</b> You can't delete the default /// presets that are included with Elastic Transcoder. </para> /// </summary> /// /// <param name="deletePresetRequest">Container for the necessary parameters to execute the DeletePreset service method on /// AmazonElasticTranscoder.</param> /// /// <returns>The response from the DeletePreset service method, as returned by AmazonElasticTranscoder.</returns> /// /// <exception cref="T:Amazon.ElasticTranscoder.Model.ResourceNotFoundException" /> /// <exception cref="T:Amazon.ElasticTranscoder.Model.AccessDeniedException" /> /// <exception cref="T:Amazon.ElasticTranscoder.Model.InternalServiceException" /> /// <exception cref="T:Amazon.ElasticTranscoder.Model.ValidationException" /> /// <exception cref="T:Amazon.ElasticTranscoder.Model.IncompatibleVersionException" /> /// <param name="cancellationToken"> /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// </param> public Task <DeletePresetResponse> DeletePresetAsync(DeletePresetRequest deletePresetRequest, CancellationToken cancellationToken = default(CancellationToken)) { var marshaller = new DeletePresetRequestMarshaller(); var unmarshaller = DeletePresetResponseUnmarshaller.GetInstance(); return(Invoke <IRequest, DeletePresetRequest, DeletePresetResponse>(deletePresetRequest, marshaller, unmarshaller, signer, cancellationToken)); }
public override DeletePresetResponse GetResponse(UnmarshallerContext unmarshallerContext) { return(DeletePresetResponseUnmarshaller.Unmarshall(unmarshallerContext)); }