/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing
* permissions and limitations under the License.
*/
/*
* Do not modify this file. This file is generated from the mediaconvert-2017-08-29.normal.json service model.
*/
using System;
using System.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.MediaConvert.Model;
using Amazon.MediaConvert.Model.Internal.MarshallTransformations;
using Amazon.MediaConvert.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.MediaConvert
{
///
/// Implementation for accessing MediaConvert
///
/// AWS Elemental MediaConvert
///
public partial class AmazonMediaConvertClient : AmazonServiceClient, IAmazonMediaConvert
{
private static IServiceMetadata serviceMetadata = new AmazonMediaConvertMetadata();
#region Constructors
///
/// Constructs AmazonMediaConvertClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
public AmazonMediaConvertClient()
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonMediaConvertConfig()) { }
///
/// Constructs AmazonMediaConvertClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The region to connect.
public AmazonMediaConvertClient(RegionEndpoint region)
: base(FallbackCredentialsFactory.GetCredentials(), new AmazonMediaConvertConfig{RegionEndpoint = region}) { }
///
/// Constructs AmazonMediaConvertClient with the credentials loaded from the application's
/// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
///
/// Example App.config with credentials set.
///
/// <?xml version="1.0" encoding="utf-8" ?>
/// <configuration>
/// <appSettings>
/// <add key="AWSProfileName" value="AWS Default"/>
/// </appSettings>
/// </configuration>
///
///
///
/// The AmazonMediaConvertClient Configuration Object
public AmazonMediaConvertClient(AmazonMediaConvertConfig config)
: base(FallbackCredentialsFactory.GetCredentials(config), config){}
///
/// Constructs AmazonMediaConvertClient with AWS Credentials
///
/// AWS Credentials
public AmazonMediaConvertClient(AWSCredentials credentials)
: this(credentials, new AmazonMediaConvertConfig())
{
}
///
/// Constructs AmazonMediaConvertClient with AWS Credentials
///
/// AWS Credentials
/// The region to connect.
public AmazonMediaConvertClient(AWSCredentials credentials, RegionEndpoint region)
: this(credentials, new AmazonMediaConvertConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonMediaConvertClient with AWS Credentials and an
/// AmazonMediaConvertClient Configuration object.
///
/// AWS Credentials
/// The AmazonMediaConvertClient Configuration Object
public AmazonMediaConvertClient(AWSCredentials credentials, AmazonMediaConvertConfig clientConfig)
: base(credentials, clientConfig)
{
}
///
/// Constructs AmazonMediaConvertClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
public AmazonMediaConvertClient(string awsAccessKeyId, string awsSecretAccessKey)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonMediaConvertConfig())
{
}
///
/// Constructs AmazonMediaConvertClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The region to connect.
public AmazonMediaConvertClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, new AmazonMediaConvertConfig() {RegionEndpoint=region})
{
}
///
/// Constructs AmazonMediaConvertClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonMediaConvertClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// The AmazonMediaConvertClient Configuration Object
public AmazonMediaConvertClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonMediaConvertConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
{
}
///
/// Constructs AmazonMediaConvertClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
public AmazonMediaConvertClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonMediaConvertConfig())
{
}
///
/// Constructs AmazonMediaConvertClient with AWS Access Key ID and AWS Secret Key
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The region to connect.
public AmazonMediaConvertClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
: this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonMediaConvertConfig{RegionEndpoint = region})
{
}
///
/// Constructs AmazonMediaConvertClient with AWS Access Key ID, AWS Secret Key and an
/// AmazonMediaConvertClient Configuration object.
///
/// AWS Access Key ID
/// AWS Secret Access Key
/// AWS Session Token
/// The AmazonMediaConvertClient Configuration Object
public AmazonMediaConvertClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonMediaConvertConfig clientConfig)
: base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
{
}
#endregion
#if AWS_ASYNC_ENUMERABLES_API
private IMediaConvertPaginatorFactory _paginators;
///
/// Paginators for the service
///
public IMediaConvertPaginatorFactory Paginators
{
get
{
if (this._paginators == null)
{
this._paginators = new MediaConvertPaginatorFactory(this);
}
return this._paginators;
}
}
#endif
#region Overrides
///
/// Creates the signer for the service.
///
protected override AbstractAWSSigner CreateSigner()
{
return new AWS4Signer();
}
///
/// Customizes the runtime pipeline.
///
/// Runtime pipeline for the current client.
protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
{
pipeline.RemoveHandler();
pipeline.AddHandlerAfter(new AmazonMediaConvertEndpointResolver());
}
///
/// Capture metadata for the service.
///
protected override IServiceMetadata ServiceMetadata
{
get
{
return serviceMetadata;
}
}
#endregion
#region Dispose
///
/// Disposes the service client.
///
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
}
#endregion
#region AssociateCertificate
internal virtual AssociateCertificateResponse AssociateCertificate(AssociateCertificateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateCertificateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Associates an AWS Certificate Manager (ACM) Amazon Resource Name (ARN) with AWS Elemental
/// MediaConvert.
///
/// Container for the necessary parameters to execute the AssociateCertificate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the AssociateCertificate service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for AssociateCertificate Operation
public virtual Task AssociateCertificateAsync(AssociateCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = AssociateCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = AssociateCertificateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CancelJob
internal virtual CancelJobResponse CancelJob(CancelJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Permanently cancel a job. Once you have canceled a job, you can't start it again.
///
/// Container for the necessary parameters to execute the CancelJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CancelJob service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for CancelJob Operation
public virtual Task CancelJobAsync(CancelJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CancelJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CancelJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateJob
internal virtual CreateJobResponse CreateJob(CreateJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create a new transcoding job. For information about jobs and job settings, see the
/// User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
///
/// Container for the necessary parameters to execute the CreateJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateJob service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for CreateJob Operation
public virtual Task CreateJobAsync(CreateJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateJobTemplate
internal virtual CreateJobTemplateResponse CreateJobTemplate(CreateJobTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateJobTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateJobTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create a new job template. For information about job templates see the User Guide
/// at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
///
/// Container for the necessary parameters to execute the CreateJobTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateJobTemplate service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for CreateJobTemplate Operation
public virtual Task CreateJobTemplateAsync(CreateJobTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateJobTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateJobTemplateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreatePreset
internal virtual CreatePresetResponse CreatePreset(CreatePresetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePresetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePresetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create a new preset. For information about job templates see the User Guide at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
///
/// Container for the necessary parameters to execute the CreatePreset service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreatePreset service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for CreatePreset Operation
public virtual Task CreatePresetAsync(CreatePresetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreatePresetRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreatePresetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region CreateQueue
internal virtual CreateQueueResponse CreateQueue(CreateQueueRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateQueueRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateQueueResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create a new transcoding queue. For information about queues, see Working With Queues
/// in the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/working-with-queues.html
///
/// Container for the necessary parameters to execute the CreateQueue service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the CreateQueue service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for CreateQueue Operation
public virtual Task CreateQueueAsync(CreateQueueRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = CreateQueueRequestMarshaller.Instance;
options.ResponseUnmarshaller = CreateQueueResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteJobTemplate
internal virtual DeleteJobTemplateResponse DeleteJobTemplate(DeleteJobTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Permanently delete a job template you have created.
///
/// Container for the necessary parameters to execute the DeleteJobTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteJobTemplate service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for DeleteJobTemplate Operation
public virtual Task DeleteJobTemplateAsync(DeleteJobTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteJobTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteJobTemplateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeletePolicy
internal virtual DeletePolicyResponse DeletePolicy(DeletePolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Permanently delete a policy that you created.
///
/// Container for the necessary parameters to execute the DeletePolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeletePolicy service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for DeletePolicy Operation
public virtual Task DeletePolicyAsync(DeletePolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeletePreset
internal virtual DeletePresetResponse DeletePreset(DeletePresetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePresetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePresetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Permanently delete a preset you have created.
///
/// Container for the necessary parameters to execute the DeletePreset service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeletePreset service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for DeletePreset Operation
public virtual Task DeletePresetAsync(DeletePresetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeletePresetRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeletePresetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DeleteQueue
internal virtual DeleteQueueResponse DeleteQueue(DeleteQueueRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteQueueRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteQueueResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Permanently delete a queue you have created.
///
/// Container for the necessary parameters to execute the DeleteQueue service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DeleteQueue service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for DeleteQueue Operation
public virtual Task DeleteQueueAsync(DeleteQueueRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DeleteQueueRequestMarshaller.Instance;
options.ResponseUnmarshaller = DeleteQueueResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DescribeEndpoints
internal virtual DescribeEndpointsResponse DescribeEndpoints(DescribeEndpointsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEndpointsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Send an request with an empty body to the regional API endpoint to get your account
/// API endpoint.
///
/// Container for the necessary parameters to execute the DescribeEndpoints service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DescribeEndpoints service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for DescribeEndpoints Operation
public virtual Task DescribeEndpointsAsync(DescribeEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DescribeEndpointsRequestMarshaller.Instance;
options.ResponseUnmarshaller = DescribeEndpointsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region DisassociateCertificate
internal virtual DisassociateCertificateResponse DisassociateCertificate(DisassociateCertificateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateCertificateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Removes an association between the Amazon Resource Name (ARN) of an AWS Certificate
/// Manager (ACM) certificate and an AWS Elemental MediaConvert resource.
///
/// Container for the necessary parameters to execute the DisassociateCertificate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the DisassociateCertificate service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for DisassociateCertificate Operation
public virtual Task DisassociateCertificateAsync(DisassociateCertificateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = DisassociateCertificateRequestMarshaller.Instance;
options.ResponseUnmarshaller = DisassociateCertificateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetJob
internal virtual GetJobResponse GetJob(GetJobRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetJobResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieve the JSON for a specific completed transcoding job.
///
/// Container for the necessary parameters to execute the GetJob service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetJob service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for GetJob Operation
public virtual Task GetJobAsync(GetJobRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetJobRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetJobResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetJobTemplate
internal virtual GetJobTemplateResponse GetJobTemplate(GetJobTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetJobTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetJobTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieve the JSON for a specific job template.
///
/// Container for the necessary parameters to execute the GetJobTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetJobTemplate service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for GetJobTemplate Operation
public virtual Task GetJobTemplateAsync(GetJobTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetJobTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetJobTemplateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetPolicy
internal virtual GetPolicyResponse GetPolicy(GetPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieve the JSON for your policy.
///
/// Container for the necessary parameters to execute the GetPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetPolicy service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for GetPolicy Operation
public virtual Task GetPolicyAsync(GetPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetPreset
internal virtual GetPresetResponse GetPreset(GetPresetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPresetRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPresetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieve the JSON for a specific preset.
///
/// Container for the necessary parameters to execute the GetPreset service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetPreset service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for GetPreset Operation
public virtual Task GetPresetAsync(GetPresetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetPresetRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetPresetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region GetQueue
internal virtual GetQueueResponse GetQueue(GetQueueRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = GetQueueRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetQueueResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieve the JSON for a specific queue.
///
/// Container for the necessary parameters to execute the GetQueue service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the GetQueue service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for GetQueue Operation
public virtual Task GetQueueAsync(GetQueueRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = GetQueueRequestMarshaller.Instance;
options.ResponseUnmarshaller = GetQueueResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListJobs
internal virtual ListJobsResponse ListJobs(ListJobsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieve a JSON array of up to twenty of your most recently created jobs. This array
/// includes in-process, completed, and errored jobs. This will return the jobs themselves,
/// not just a list of the jobs. To retrieve the twenty next most recent jobs, use the
/// nextToken string returned with the array.
///
/// Container for the necessary parameters to execute the ListJobs service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListJobs service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for ListJobs Operation
public virtual Task ListJobsAsync(ListJobsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListJobsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListJobsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListJobTemplates
internal virtual ListJobTemplatesResponse ListJobTemplates(ListJobTemplatesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListJobTemplatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListJobTemplatesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieve a JSON array of up to twenty of your job templates. This will return the
/// templates themselves, not just a list of them. To retrieve the next twenty templates,
/// use the nextToken string returned with the array
///
/// Container for the necessary parameters to execute the ListJobTemplates service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListJobTemplates service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for ListJobTemplates Operation
public virtual Task ListJobTemplatesAsync(ListJobTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListJobTemplatesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListJobTemplatesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListPresets
internal virtual ListPresetsResponse ListPresets(ListPresetsRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPresetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPresetsResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieve a JSON array of up to twenty of your presets. This will return the presets
/// themselves, not just a list of them. To retrieve the next twenty presets, use the
/// nextToken string returned with the array.
///
/// Container for the necessary parameters to execute the ListPresets service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListPresets service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for ListPresets Operation
public virtual Task ListPresetsAsync(ListPresetsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListPresetsRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListPresetsResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListQueues
internal virtual ListQueuesResponse ListQueues(ListQueuesRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListQueuesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListQueuesResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieve a JSON array of up to twenty of your queues. This will return the queues
/// themselves, not just a list of them. To retrieve the next twenty queues, use the nextToken
/// string returned with the array.
///
/// Container for the necessary parameters to execute the ListQueues service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListQueues service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for ListQueues Operation
public virtual Task ListQueuesAsync(ListQueuesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListQueuesRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListQueuesResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region ListTagsForResource
internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Retrieve the tags for a MediaConvert resource.
///
/// Container for the necessary parameters to execute the ListTagsForResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the ListTagsForResource service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for ListTagsForResource Operation
public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region PutPolicy
internal virtual PutPolicyResponse PutPolicy(PutPolicyRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = PutPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutPolicyResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Create or change your policy. For more information about policies, see the user guide
/// at http://docs.aws.amazon.com/mediaconvert/latest/ug/what-is.html
///
/// Container for the necessary parameters to execute the PutPolicy service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the PutPolicy service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for PutPolicy Operation
public virtual Task PutPolicyAsync(PutPolicyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = PutPolicyRequestMarshaller.Instance;
options.ResponseUnmarshaller = PutPolicyResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region TagResource
internal virtual TagResourceResponse TagResource(TagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Add tags to a MediaConvert queue, preset, or job template. For information about tagging,
/// see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
///
/// Container for the necessary parameters to execute the TagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the TagResource service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for TagResource Operation
public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = TagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UntagResource
internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Remove tags from a MediaConvert queue, preset, or job template. For information about
/// tagging, see the User Guide at https://docs.aws.amazon.com/mediaconvert/latest/ug/tagging-resources.html
///
/// Container for the necessary parameters to execute the UntagResource service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UntagResource service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for UntagResource Operation
public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UntagResourceRequestMarshaller.Instance;
options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateJobTemplate
internal virtual UpdateJobTemplateResponse UpdateJobTemplate(UpdateJobTemplateRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateJobTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateJobTemplateResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modify one of your existing job templates.
///
/// Container for the necessary parameters to execute the UpdateJobTemplate service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateJobTemplate service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for UpdateJobTemplate Operation
public virtual Task UpdateJobTemplateAsync(UpdateJobTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateJobTemplateRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateJobTemplateResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdatePreset
internal virtual UpdatePresetResponse UpdatePreset(UpdatePresetRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePresetRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePresetResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modify one of your existing presets.
///
/// Container for the necessary parameters to execute the UpdatePreset service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdatePreset service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for UpdatePreset Operation
public virtual Task UpdatePresetAsync(UpdatePresetRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdatePresetRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdatePresetResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
#region UpdateQueue
internal virtual UpdateQueueResponse UpdateQueue(UpdateQueueRequest request)
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateQueueRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateQueueResponseUnmarshaller.Instance;
return Invoke(request, options);
}
///
/// Modify one of your existing queues.
///
/// Container for the necessary parameters to execute the UpdateQueue service method.
///
/// A cancellation token that can be used by other objects or threads to receive notice of cancellation.
///
///
/// The response from the UpdateQueue service method, as returned by MediaConvert.
///
/// The service can't process your request because of a problem in the request. Please
/// check your request form and syntax.
///
///
/// The service couldn't complete your request because there is a conflict with the current
/// state of the resource.
///
///
/// You don't have permissions for this action with the credentials you sent.
///
///
/// The service encountered an unexpected condition and can't fulfill your request.
///
///
/// The resource you requested doesn't exist.
///
///
/// Too many requests have been sent in too short of a time. The service limits the rate
/// at which it will accept requests.
///
/// REST API Reference for UpdateQueue Operation
public virtual Task UpdateQueueAsync(UpdateQueueRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
{
var options = new InvokeOptions();
options.RequestMarshaller = UpdateQueueRequestMarshaller.Instance;
options.ResponseUnmarshaller = UpdateQueueResponseUnmarshaller.Instance;
return InvokeAsync(request, options, cancellationToken);
}
#endregion
}
}