/* * 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 mediatailor-2018-04-23.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.MediaTailor.Model; using Amazon.MediaTailor.Model.Internal.MarshallTransformations; using Amazon.MediaTailor.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.MediaTailor { /// /// Implementation for accessing MediaTailor /// /// Use the AWS Elemental MediaTailor SDKs and CLI to configure scalable ad insertion /// and linear channels. With MediaTailor, you can assemble existing content into a linear /// stream and serve targeted ads to viewers while maintaining broadcast quality in over-the-top /// (OTT) video applications. For information about using the service, including detailed /// information about the settings covered in this guide, see the AWS /// Elemental MediaTailor User Guide. /// /// /// /// Through the SDKs and the CLI you manage AWS Elemental MediaTailor configurations and /// channels the same as you do through the console. For example, you specify ad insertion /// behavior and mapping information for the origin server and the ad decision server /// (ADS). /// /// public partial class AmazonMediaTailorClient : AmazonServiceClient, IAmazonMediaTailor { private static IServiceMetadata serviceMetadata = new AmazonMediaTailorMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IMediaTailorPaginatorFactory _paginators; /// /// Paginators for the service /// public IMediaTailorPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new MediaTailorPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonMediaTailorClient 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 AmazonMediaTailorClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonMediaTailorConfig()) { } /// /// Constructs AmazonMediaTailorClient 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 AmazonMediaTailorClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonMediaTailorConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonMediaTailorClient 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 AmazonMediaTailorClient Configuration Object public AmazonMediaTailorClient(AmazonMediaTailorConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonMediaTailorClient with AWS Credentials /// /// AWS Credentials public AmazonMediaTailorClient(AWSCredentials credentials) : this(credentials, new AmazonMediaTailorConfig()) { } /// /// Constructs AmazonMediaTailorClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonMediaTailorClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonMediaTailorConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonMediaTailorClient with AWS Credentials and an /// AmazonMediaTailorClient Configuration object. /// /// AWS Credentials /// The AmazonMediaTailorClient Configuration Object public AmazonMediaTailorClient(AWSCredentials credentials, AmazonMediaTailorConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonMediaTailorClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonMediaTailorClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonMediaTailorConfig()) { } /// /// Constructs AmazonMediaTailorClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonMediaTailorClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonMediaTailorConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonMediaTailorClient with AWS Access Key ID, AWS Secret Key and an /// AmazonMediaTailorClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonMediaTailorClient Configuration Object public AmazonMediaTailorClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonMediaTailorConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonMediaTailorClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonMediaTailorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonMediaTailorConfig()) { } /// /// Constructs AmazonMediaTailorClient 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 AmazonMediaTailorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonMediaTailorConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonMediaTailorClient with AWS Access Key ID, AWS Secret Key and an /// AmazonMediaTailorClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonMediaTailorClient Configuration Object public AmazonMediaTailorClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonMediaTailorConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonMediaTailorEndpointResolver()); } /// /// 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 ConfigureLogsForChannel /// /// Configures Amazon CloudWatch log settings for a channel. /// /// Container for the necessary parameters to execute the ConfigureLogsForChannel service method. /// /// The response from the ConfigureLogsForChannel service method, as returned by MediaTailor. /// REST API Reference for ConfigureLogsForChannel Operation public virtual ConfigureLogsForChannelResponse ConfigureLogsForChannel(ConfigureLogsForChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ConfigureLogsForChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = ConfigureLogsForChannelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ConfigureLogsForChannel operation. /// /// /// Container for the necessary parameters to execute the ConfigureLogsForChannel operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndConfigureLogsForChannel /// operation. /// REST API Reference for ConfigureLogsForChannel Operation public virtual IAsyncResult BeginConfigureLogsForChannel(ConfigureLogsForChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ConfigureLogsForChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = ConfigureLogsForChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ConfigureLogsForChannel operation. /// /// /// The IAsyncResult returned by the call to BeginConfigureLogsForChannel. /// /// Returns a ConfigureLogsForChannelResult from MediaTailor. /// REST API Reference for ConfigureLogsForChannel Operation public virtual ConfigureLogsForChannelResponse EndConfigureLogsForChannel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ConfigureLogsForPlaybackConfiguration /// /// Amazon CloudWatch log settings for a playback configuration. /// /// Container for the necessary parameters to execute the ConfigureLogsForPlaybackConfiguration service method. /// /// The response from the ConfigureLogsForPlaybackConfiguration service method, as returned by MediaTailor. /// REST API Reference for ConfigureLogsForPlaybackConfiguration Operation public virtual ConfigureLogsForPlaybackConfigurationResponse ConfigureLogsForPlaybackConfiguration(ConfigureLogsForPlaybackConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ConfigureLogsForPlaybackConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = ConfigureLogsForPlaybackConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ConfigureLogsForPlaybackConfiguration operation. /// /// /// Container for the necessary parameters to execute the ConfigureLogsForPlaybackConfiguration operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndConfigureLogsForPlaybackConfiguration /// operation. /// REST API Reference for ConfigureLogsForPlaybackConfiguration Operation public virtual IAsyncResult BeginConfigureLogsForPlaybackConfiguration(ConfigureLogsForPlaybackConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ConfigureLogsForPlaybackConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = ConfigureLogsForPlaybackConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ConfigureLogsForPlaybackConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginConfigureLogsForPlaybackConfiguration. /// /// Returns a ConfigureLogsForPlaybackConfigurationResult from MediaTailor. /// REST API Reference for ConfigureLogsForPlaybackConfiguration Operation public virtual ConfigureLogsForPlaybackConfigurationResponse EndConfigureLogsForPlaybackConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateChannel /// /// Creates a channel. For information about MediaTailor channels, see Working /// with channels in the MediaTailor User Guide. /// /// Container for the necessary parameters to execute the CreateChannel service method. /// /// The response from the CreateChannel service method, as returned by MediaTailor. /// REST API Reference for CreateChannel Operation public virtual CreateChannelResponse CreateChannel(CreateChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateChannel operation. /// /// /// Container for the necessary parameters to execute the CreateChannel operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateChannel /// operation. /// REST API Reference for CreateChannel Operation public virtual IAsyncResult BeginCreateChannel(CreateChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateChannel operation. /// /// /// The IAsyncResult returned by the call to BeginCreateChannel. /// /// Returns a CreateChannelResult from MediaTailor. /// REST API Reference for CreateChannel Operation public virtual CreateChannelResponse EndCreateChannel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateLiveSource /// /// The live source configuration. /// /// Container for the necessary parameters to execute the CreateLiveSource service method. /// /// The response from the CreateLiveSource service method, as returned by MediaTailor. /// REST API Reference for CreateLiveSource Operation public virtual CreateLiveSourceResponse CreateLiveSource(CreateLiveSourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLiveSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLiveSourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateLiveSource operation. /// /// /// Container for the necessary parameters to execute the CreateLiveSource operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateLiveSource /// operation. /// REST API Reference for CreateLiveSource Operation public virtual IAsyncResult BeginCreateLiveSource(CreateLiveSourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLiveSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLiveSourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateLiveSource operation. /// /// /// The IAsyncResult returned by the call to BeginCreateLiveSource. /// /// Returns a CreateLiveSourceResult from MediaTailor. /// REST API Reference for CreateLiveSource Operation public virtual CreateLiveSourceResponse EndCreateLiveSource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreatePrefetchSchedule /// /// Creates a prefetch schedule for a playback configuration. A prefetch schedule allows /// you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. /// For more information about ad prefetching, see Using /// ad prefetching in the MediaTailor User Guide. /// /// Container for the necessary parameters to execute the CreatePrefetchSchedule service method. /// /// The response from the CreatePrefetchSchedule service method, as returned by MediaTailor. /// REST API Reference for CreatePrefetchSchedule Operation public virtual CreatePrefetchScheduleResponse CreatePrefetchSchedule(CreatePrefetchScheduleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePrefetchScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePrefetchScheduleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreatePrefetchSchedule operation. /// /// /// Container for the necessary parameters to execute the CreatePrefetchSchedule operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreatePrefetchSchedule /// operation. /// REST API Reference for CreatePrefetchSchedule Operation public virtual IAsyncResult BeginCreatePrefetchSchedule(CreatePrefetchScheduleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePrefetchScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePrefetchScheduleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreatePrefetchSchedule operation. /// /// /// The IAsyncResult returned by the call to BeginCreatePrefetchSchedule. /// /// Returns a CreatePrefetchScheduleResult from MediaTailor. /// REST API Reference for CreatePrefetchSchedule Operation public virtual CreatePrefetchScheduleResponse EndCreatePrefetchSchedule(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateProgram /// /// Creates a program within a channel. For information about programs, see Working /// with programs in the MediaTailor User Guide. /// /// Container for the necessary parameters to execute the CreateProgram service method. /// /// The response from the CreateProgram service method, as returned by MediaTailor. /// REST API Reference for CreateProgram Operation public virtual CreateProgramResponse CreateProgram(CreateProgramRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProgramRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProgramResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateProgram operation. /// /// /// Container for the necessary parameters to execute the CreateProgram operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateProgram /// operation. /// REST API Reference for CreateProgram Operation public virtual IAsyncResult BeginCreateProgram(CreateProgramRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateProgramRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateProgramResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateProgram operation. /// /// /// The IAsyncResult returned by the call to BeginCreateProgram. /// /// Returns a CreateProgramResult from MediaTailor. /// REST API Reference for CreateProgram Operation public virtual CreateProgramResponse EndCreateProgram(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateSourceLocation /// /// Creates a source location. A source location is a container for sources. For more /// information about source locations, see Working /// with source locations in the MediaTailor User Guide. /// /// Container for the necessary parameters to execute the CreateSourceLocation service method. /// /// The response from the CreateSourceLocation service method, as returned by MediaTailor. /// REST API Reference for CreateSourceLocation Operation public virtual CreateSourceLocationResponse CreateSourceLocation(CreateSourceLocationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSourceLocationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSourceLocationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateSourceLocation operation. /// /// /// Container for the necessary parameters to execute the CreateSourceLocation operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateSourceLocation /// operation. /// REST API Reference for CreateSourceLocation Operation public virtual IAsyncResult BeginCreateSourceLocation(CreateSourceLocationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSourceLocationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSourceLocationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateSourceLocation operation. /// /// /// The IAsyncResult returned by the call to BeginCreateSourceLocation. /// /// Returns a CreateSourceLocationResult from MediaTailor. /// REST API Reference for CreateSourceLocation Operation public virtual CreateSourceLocationResponse EndCreateSourceLocation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateVodSource /// /// The VOD source configuration parameters. /// /// Container for the necessary parameters to execute the CreateVodSource service method. /// /// The response from the CreateVodSource service method, as returned by MediaTailor. /// REST API Reference for CreateVodSource Operation public virtual CreateVodSourceResponse CreateVodSource(CreateVodSourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVodSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVodSourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateVodSource operation. /// /// /// Container for the necessary parameters to execute the CreateVodSource operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateVodSource /// operation. /// REST API Reference for CreateVodSource Operation public virtual IAsyncResult BeginCreateVodSource(CreateVodSourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVodSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVodSourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateVodSource operation. /// /// /// The IAsyncResult returned by the call to BeginCreateVodSource. /// /// Returns a CreateVodSourceResult from MediaTailor. /// REST API Reference for CreateVodSource Operation public virtual CreateVodSourceResponse EndCreateVodSource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteChannel /// /// Deletes a channel. For information about MediaTailor channels, see Working /// with channels in the MediaTailor User Guide. /// /// Container for the necessary parameters to execute the DeleteChannel service method. /// /// The response from the DeleteChannel service method, as returned by MediaTailor. /// REST API Reference for DeleteChannel Operation public virtual DeleteChannelResponse DeleteChannel(DeleteChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteChannel operation. /// /// /// Container for the necessary parameters to execute the DeleteChannel operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteChannel /// operation. /// REST API Reference for DeleteChannel Operation public virtual IAsyncResult BeginDeleteChannel(DeleteChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteChannel operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteChannel. /// /// Returns a DeleteChannelResult from MediaTailor. /// REST API Reference for DeleteChannel Operation public virtual DeleteChannelResponse EndDeleteChannel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteChannelPolicy /// /// The channel policy to delete. /// /// Container for the necessary parameters to execute the DeleteChannelPolicy service method. /// /// The response from the DeleteChannelPolicy service method, as returned by MediaTailor. /// REST API Reference for DeleteChannelPolicy Operation public virtual DeleteChannelPolicyResponse DeleteChannelPolicy(DeleteChannelPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteChannelPolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteChannelPolicy operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteChannelPolicy /// operation. /// REST API Reference for DeleteChannelPolicy Operation public virtual IAsyncResult BeginDeleteChannelPolicy(DeleteChannelPolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteChannelPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteChannelPolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteChannelPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteChannelPolicy. /// /// Returns a DeleteChannelPolicyResult from MediaTailor. /// REST API Reference for DeleteChannelPolicy Operation public virtual DeleteChannelPolicyResponse EndDeleteChannelPolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteLiveSource /// /// The live source to delete. /// /// Container for the necessary parameters to execute the DeleteLiveSource service method. /// /// The response from the DeleteLiveSource service method, as returned by MediaTailor. /// REST API Reference for DeleteLiveSource Operation public virtual DeleteLiveSourceResponse DeleteLiveSource(DeleteLiveSourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLiveSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLiveSourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteLiveSource operation. /// /// /// Container for the necessary parameters to execute the DeleteLiveSource operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteLiveSource /// operation. /// REST API Reference for DeleteLiveSource Operation public virtual IAsyncResult BeginDeleteLiveSource(DeleteLiveSourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteLiveSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteLiveSourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteLiveSource operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteLiveSource. /// /// Returns a DeleteLiveSourceResult from MediaTailor. /// REST API Reference for DeleteLiveSource Operation public virtual DeleteLiveSourceResponse EndDeleteLiveSource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeletePlaybackConfiguration /// /// Deletes a playback configuration. For information about MediaTailor configurations, /// see Working /// with configurations in AWS Elemental MediaTailor. /// /// Container for the necessary parameters to execute the DeletePlaybackConfiguration service method. /// /// The response from the DeletePlaybackConfiguration service method, as returned by MediaTailor. /// REST API Reference for DeletePlaybackConfiguration Operation public virtual DeletePlaybackConfigurationResponse DeletePlaybackConfiguration(DeletePlaybackConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePlaybackConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePlaybackConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeletePlaybackConfiguration operation. /// /// /// Container for the necessary parameters to execute the DeletePlaybackConfiguration operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeletePlaybackConfiguration /// operation. /// REST API Reference for DeletePlaybackConfiguration Operation public virtual IAsyncResult BeginDeletePlaybackConfiguration(DeletePlaybackConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePlaybackConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePlaybackConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeletePlaybackConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginDeletePlaybackConfiguration. /// /// Returns a DeletePlaybackConfigurationResult from MediaTailor. /// REST API Reference for DeletePlaybackConfiguration Operation public virtual DeletePlaybackConfigurationResponse EndDeletePlaybackConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeletePrefetchSchedule /// /// Deletes a prefetch schedule for a specific playback configuration. If you call DeletePrefetchSchedule /// on an expired prefetch schedule, MediaTailor returns an HTTP 404 status code. For /// more information about ad prefetching, see Using /// ad prefetching in the MediaTailor User Guide. /// /// Container for the necessary parameters to execute the DeletePrefetchSchedule service method. /// /// The response from the DeletePrefetchSchedule service method, as returned by MediaTailor. /// REST API Reference for DeletePrefetchSchedule Operation public virtual DeletePrefetchScheduleResponse DeletePrefetchSchedule(DeletePrefetchScheduleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePrefetchScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePrefetchScheduleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeletePrefetchSchedule operation. /// /// /// Container for the necessary parameters to execute the DeletePrefetchSchedule operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeletePrefetchSchedule /// operation. /// REST API Reference for DeletePrefetchSchedule Operation public virtual IAsyncResult BeginDeletePrefetchSchedule(DeletePrefetchScheduleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePrefetchScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePrefetchScheduleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeletePrefetchSchedule operation. /// /// /// The IAsyncResult returned by the call to BeginDeletePrefetchSchedule. /// /// Returns a DeletePrefetchScheduleResult from MediaTailor. /// REST API Reference for DeletePrefetchSchedule Operation public virtual DeletePrefetchScheduleResponse EndDeletePrefetchSchedule(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteProgram /// /// Deletes a program within a channel. For information about programs, see Working /// with programs in the MediaTailor User Guide. /// /// Container for the necessary parameters to execute the DeleteProgram service method. /// /// The response from the DeleteProgram service method, as returned by MediaTailor. /// REST API Reference for DeleteProgram Operation public virtual DeleteProgramResponse DeleteProgram(DeleteProgramRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProgramRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProgramResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteProgram operation. /// /// /// Container for the necessary parameters to execute the DeleteProgram operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteProgram /// operation. /// REST API Reference for DeleteProgram Operation public virtual IAsyncResult BeginDeleteProgram(DeleteProgramRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteProgramRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteProgramResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteProgram operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteProgram. /// /// Returns a DeleteProgramResult from MediaTailor. /// REST API Reference for DeleteProgram Operation public virtual DeleteProgramResponse EndDeleteProgram(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteSourceLocation /// /// Deletes a source location. A source location is a container for sources. For more /// information about source locations, see Working /// with source locations in the MediaTailor User Guide. /// /// Container for the necessary parameters to execute the DeleteSourceLocation service method. /// /// The response from the DeleteSourceLocation service method, as returned by MediaTailor. /// REST API Reference for DeleteSourceLocation Operation public virtual DeleteSourceLocationResponse DeleteSourceLocation(DeleteSourceLocationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSourceLocationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSourceLocationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteSourceLocation operation. /// /// /// Container for the necessary parameters to execute the DeleteSourceLocation operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteSourceLocation /// operation. /// REST API Reference for DeleteSourceLocation Operation public virtual IAsyncResult BeginDeleteSourceLocation(DeleteSourceLocationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSourceLocationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSourceLocationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteSourceLocation operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteSourceLocation. /// /// Returns a DeleteSourceLocationResult from MediaTailor. /// REST API Reference for DeleteSourceLocation Operation public virtual DeleteSourceLocationResponse EndDeleteSourceLocation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteVodSource /// /// The video on demand (VOD) source to delete. /// /// Container for the necessary parameters to execute the DeleteVodSource service method. /// /// The response from the DeleteVodSource service method, as returned by MediaTailor. /// REST API Reference for DeleteVodSource Operation public virtual DeleteVodSourceResponse DeleteVodSource(DeleteVodSourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVodSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVodSourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteVodSource operation. /// /// /// Container for the necessary parameters to execute the DeleteVodSource operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteVodSource /// operation. /// REST API Reference for DeleteVodSource Operation public virtual IAsyncResult BeginDeleteVodSource(DeleteVodSourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVodSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVodSourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteVodSource operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteVodSource. /// /// Returns a DeleteVodSourceResult from MediaTailor. /// REST API Reference for DeleteVodSource Operation public virtual DeleteVodSourceResponse EndDeleteVodSource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeChannel /// /// Describes a channel. For information about MediaTailor channels, see Working /// with channels in the MediaTailor User Guide. /// /// Container for the necessary parameters to execute the DescribeChannel service method. /// /// The response from the DescribeChannel service method, as returned by MediaTailor. /// REST API Reference for DescribeChannel Operation public virtual DescribeChannelResponse DescribeChannel(DescribeChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeChannel operation. /// /// /// Container for the necessary parameters to execute the DescribeChannel operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeChannel /// operation. /// REST API Reference for DescribeChannel Operation public virtual IAsyncResult BeginDescribeChannel(DescribeChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeChannel operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeChannel. /// /// Returns a DescribeChannelResult from MediaTailor. /// REST API Reference for DescribeChannel Operation public virtual DescribeChannelResponse EndDescribeChannel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeLiveSource /// /// The live source to describe. /// /// Container for the necessary parameters to execute the DescribeLiveSource service method. /// /// The response from the DescribeLiveSource service method, as returned by MediaTailor. /// REST API Reference for DescribeLiveSource Operation public virtual DescribeLiveSourceResponse DescribeLiveSource(DescribeLiveSourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLiveSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLiveSourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeLiveSource operation. /// /// /// Container for the necessary parameters to execute the DescribeLiveSource operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeLiveSource /// operation. /// REST API Reference for DescribeLiveSource Operation public virtual IAsyncResult BeginDescribeLiveSource(DescribeLiveSourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeLiveSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeLiveSourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeLiveSource operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeLiveSource. /// /// Returns a DescribeLiveSourceResult from MediaTailor. /// REST API Reference for DescribeLiveSource Operation public virtual DescribeLiveSourceResponse EndDescribeLiveSource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeProgram /// /// Describes a program within a channel. For information about programs, see Working /// with programs in the MediaTailor User Guide. /// /// Container for the necessary parameters to execute the DescribeProgram service method. /// /// The response from the DescribeProgram service method, as returned by MediaTailor. /// REST API Reference for DescribeProgram Operation public virtual DescribeProgramResponse DescribeProgram(DescribeProgramRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeProgramRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeProgramResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeProgram operation. /// /// /// Container for the necessary parameters to execute the DescribeProgram operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeProgram /// operation. /// REST API Reference for DescribeProgram Operation public virtual IAsyncResult BeginDescribeProgram(DescribeProgramRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeProgramRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeProgramResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeProgram operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeProgram. /// /// Returns a DescribeProgramResult from MediaTailor. /// REST API Reference for DescribeProgram Operation public virtual DescribeProgramResponse EndDescribeProgram(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeSourceLocation /// /// Describes a source location. A source location is a container for sources. For more /// information about source locations, see Working /// with source locations in the MediaTailor User Guide. /// /// Container for the necessary parameters to execute the DescribeSourceLocation service method. /// /// The response from the DescribeSourceLocation service method, as returned by MediaTailor. /// REST API Reference for DescribeSourceLocation Operation public virtual DescribeSourceLocationResponse DescribeSourceLocation(DescribeSourceLocationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSourceLocationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSourceLocationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeSourceLocation operation. /// /// /// Container for the necessary parameters to execute the DescribeSourceLocation operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeSourceLocation /// operation. /// REST API Reference for DescribeSourceLocation Operation public virtual IAsyncResult BeginDescribeSourceLocation(DescribeSourceLocationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSourceLocationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSourceLocationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeSourceLocation operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeSourceLocation. /// /// Returns a DescribeSourceLocationResult from MediaTailor. /// REST API Reference for DescribeSourceLocation Operation public virtual DescribeSourceLocationResponse EndDescribeSourceLocation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeVodSource /// /// Provides details about a specific video on demand (VOD) source in a specific source /// location. /// /// Container for the necessary parameters to execute the DescribeVodSource service method. /// /// The response from the DescribeVodSource service method, as returned by MediaTailor. /// REST API Reference for DescribeVodSource Operation public virtual DescribeVodSourceResponse DescribeVodSource(DescribeVodSourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVodSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVodSourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeVodSource operation. /// /// /// Container for the necessary parameters to execute the DescribeVodSource operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeVodSource /// operation. /// REST API Reference for DescribeVodSource Operation public virtual IAsyncResult BeginDescribeVodSource(DescribeVodSourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVodSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVodSourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeVodSource operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeVodSource. /// /// Returns a DescribeVodSourceResult from MediaTailor. /// REST API Reference for DescribeVodSource Operation public virtual DescribeVodSourceResponse EndDescribeVodSource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetChannelPolicy /// /// Returns the channel's IAM policy. IAM policies are used to control access to your /// channel. /// /// Container for the necessary parameters to execute the GetChannelPolicy service method. /// /// The response from the GetChannelPolicy service method, as returned by MediaTailor. /// REST API Reference for GetChannelPolicy Operation public virtual GetChannelPolicyResponse GetChannelPolicy(GetChannelPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetChannelPolicy operation. /// /// /// Container for the necessary parameters to execute the GetChannelPolicy operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetChannelPolicy /// operation. /// REST API Reference for GetChannelPolicy Operation public virtual IAsyncResult BeginGetChannelPolicy(GetChannelPolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelPolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetChannelPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginGetChannelPolicy. /// /// Returns a GetChannelPolicyResult from MediaTailor. /// REST API Reference for GetChannelPolicy Operation public virtual GetChannelPolicyResponse EndGetChannelPolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetChannelSchedule /// /// Retrieves information about your channel's schedule. /// /// Container for the necessary parameters to execute the GetChannelSchedule service method. /// /// The response from the GetChannelSchedule service method, as returned by MediaTailor. /// REST API Reference for GetChannelSchedule Operation public virtual GetChannelScheduleResponse GetChannelSchedule(GetChannelScheduleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelScheduleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetChannelSchedule operation. /// /// /// Container for the necessary parameters to execute the GetChannelSchedule operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetChannelSchedule /// operation. /// REST API Reference for GetChannelSchedule Operation public virtual IAsyncResult BeginGetChannelSchedule(GetChannelScheduleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetChannelScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = GetChannelScheduleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetChannelSchedule operation. /// /// /// The IAsyncResult returned by the call to BeginGetChannelSchedule. /// /// Returns a GetChannelScheduleResult from MediaTailor. /// REST API Reference for GetChannelSchedule Operation public virtual GetChannelScheduleResponse EndGetChannelSchedule(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetPlaybackConfiguration /// /// Retrieves a playback configuration. For information about MediaTailor configurations, /// see Working /// with configurations in AWS Elemental MediaTailor. /// /// Container for the necessary parameters to execute the GetPlaybackConfiguration service method. /// /// The response from the GetPlaybackConfiguration service method, as returned by MediaTailor. /// REST API Reference for GetPlaybackConfiguration Operation public virtual GetPlaybackConfigurationResponse GetPlaybackConfiguration(GetPlaybackConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPlaybackConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPlaybackConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetPlaybackConfiguration operation. /// /// /// Container for the necessary parameters to execute the GetPlaybackConfiguration operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetPlaybackConfiguration /// operation. /// REST API Reference for GetPlaybackConfiguration Operation public virtual IAsyncResult BeginGetPlaybackConfiguration(GetPlaybackConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetPlaybackConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPlaybackConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetPlaybackConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginGetPlaybackConfiguration. /// /// Returns a GetPlaybackConfigurationResult from MediaTailor. /// REST API Reference for GetPlaybackConfiguration Operation public virtual GetPlaybackConfigurationResponse EndGetPlaybackConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetPrefetchSchedule /// /// Retrieves a prefetch schedule for a playback configuration. A prefetch schedule allows /// you to tell MediaTailor to fetch and prepare certain ads before an ad break happens. /// For more information about ad prefetching, see Using /// ad prefetching in the MediaTailor User Guide. /// /// Container for the necessary parameters to execute the GetPrefetchSchedule service method. /// /// The response from the GetPrefetchSchedule service method, as returned by MediaTailor. /// REST API Reference for GetPrefetchSchedule Operation public virtual GetPrefetchScheduleResponse GetPrefetchSchedule(GetPrefetchScheduleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPrefetchScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPrefetchScheduleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetPrefetchSchedule operation. /// /// /// Container for the necessary parameters to execute the GetPrefetchSchedule operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetPrefetchSchedule /// operation. /// REST API Reference for GetPrefetchSchedule Operation public virtual IAsyncResult BeginGetPrefetchSchedule(GetPrefetchScheduleRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetPrefetchScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPrefetchScheduleResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetPrefetchSchedule operation. /// /// /// The IAsyncResult returned by the call to BeginGetPrefetchSchedule. /// /// Returns a GetPrefetchScheduleResult from MediaTailor. /// REST API Reference for GetPrefetchSchedule Operation public virtual GetPrefetchScheduleResponse EndGetPrefetchSchedule(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAlerts /// /// Lists the alerts that are associated with a MediaTailor channel assembly resource. /// /// Container for the necessary parameters to execute the ListAlerts service method. /// /// The response from the ListAlerts service method, as returned by MediaTailor. /// REST API Reference for ListAlerts Operation public virtual ListAlertsResponse ListAlerts(ListAlertsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAlertsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAlertsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAlerts operation. /// /// /// Container for the necessary parameters to execute the ListAlerts operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAlerts /// operation. /// REST API Reference for ListAlerts Operation public virtual IAsyncResult BeginListAlerts(ListAlertsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAlertsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAlertsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAlerts operation. /// /// /// The IAsyncResult returned by the call to BeginListAlerts. /// /// Returns a ListAlertsResult from MediaTailor. /// REST API Reference for ListAlerts Operation public virtual ListAlertsResponse EndListAlerts(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListChannels /// /// Retrieves information about the channels that are associated with the current AWS /// account. /// /// Container for the necessary parameters to execute the ListChannels service method. /// /// The response from the ListChannels service method, as returned by MediaTailor. /// REST API Reference for ListChannels Operation public virtual ListChannelsResponse ListChannels(ListChannelsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListChannels operation. /// /// /// Container for the necessary parameters to execute the ListChannels operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListChannels /// operation. /// REST API Reference for ListChannels Operation public virtual IAsyncResult BeginListChannels(ListChannelsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListChannelsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListChannelsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListChannels operation. /// /// /// The IAsyncResult returned by the call to BeginListChannels. /// /// Returns a ListChannelsResult from MediaTailor. /// REST API Reference for ListChannels Operation public virtual ListChannelsResponse EndListChannels(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListLiveSources /// /// Lists the live sources contained in a source location. A source represents a piece /// of content. /// /// Container for the necessary parameters to execute the ListLiveSources service method. /// /// The response from the ListLiveSources service method, as returned by MediaTailor. /// REST API Reference for ListLiveSources Operation public virtual ListLiveSourcesResponse ListLiveSources(ListLiveSourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListLiveSourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLiveSourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListLiveSources operation. /// /// /// Container for the necessary parameters to execute the ListLiveSources operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListLiveSources /// operation. /// REST API Reference for ListLiveSources Operation public virtual IAsyncResult BeginListLiveSources(ListLiveSourcesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListLiveSourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLiveSourcesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListLiveSources operation. /// /// /// The IAsyncResult returned by the call to BeginListLiveSources. /// /// Returns a ListLiveSourcesResult from MediaTailor. /// REST API Reference for ListLiveSources Operation public virtual ListLiveSourcesResponse EndListLiveSources(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListPlaybackConfigurations /// /// Retrieves existing playback configurations. For information about MediaTailor configurations, /// see Working /// with Configurations in AWS Elemental MediaTailor. /// /// Container for the necessary parameters to execute the ListPlaybackConfigurations service method. /// /// The response from the ListPlaybackConfigurations service method, as returned by MediaTailor. /// REST API Reference for ListPlaybackConfigurations Operation public virtual ListPlaybackConfigurationsResponse ListPlaybackConfigurations(ListPlaybackConfigurationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPlaybackConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPlaybackConfigurationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListPlaybackConfigurations operation. /// /// /// Container for the necessary parameters to execute the ListPlaybackConfigurations operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPlaybackConfigurations /// operation. /// REST API Reference for ListPlaybackConfigurations Operation public virtual IAsyncResult BeginListPlaybackConfigurations(ListPlaybackConfigurationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPlaybackConfigurationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPlaybackConfigurationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPlaybackConfigurations operation. /// /// /// The IAsyncResult returned by the call to BeginListPlaybackConfigurations. /// /// Returns a ListPlaybackConfigurationsResult from MediaTailor. /// REST API Reference for ListPlaybackConfigurations Operation public virtual ListPlaybackConfigurationsResponse EndListPlaybackConfigurations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListPrefetchSchedules /// /// Lists the prefetch schedules for a playback configuration. /// /// Container for the necessary parameters to execute the ListPrefetchSchedules service method. /// /// The response from the ListPrefetchSchedules service method, as returned by MediaTailor. /// REST API Reference for ListPrefetchSchedules Operation public virtual ListPrefetchSchedulesResponse ListPrefetchSchedules(ListPrefetchSchedulesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPrefetchSchedulesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPrefetchSchedulesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListPrefetchSchedules operation. /// /// /// Container for the necessary parameters to execute the ListPrefetchSchedules operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListPrefetchSchedules /// operation. /// REST API Reference for ListPrefetchSchedules Operation public virtual IAsyncResult BeginListPrefetchSchedules(ListPrefetchSchedulesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListPrefetchSchedulesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPrefetchSchedulesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListPrefetchSchedules operation. /// /// /// The IAsyncResult returned by the call to BeginListPrefetchSchedules. /// /// Returns a ListPrefetchSchedulesResult from MediaTailor. /// REST API Reference for ListPrefetchSchedules Operation public virtual ListPrefetchSchedulesResponse EndListPrefetchSchedules(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListSourceLocations /// /// Lists the source locations for a channel. A source location defines the host server /// URL, and contains a list of sources. /// /// Container for the necessary parameters to execute the ListSourceLocations service method. /// /// The response from the ListSourceLocations service method, as returned by MediaTailor. /// REST API Reference for ListSourceLocations Operation public virtual ListSourceLocationsResponse ListSourceLocations(ListSourceLocationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSourceLocationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSourceLocationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListSourceLocations operation. /// /// /// Container for the necessary parameters to execute the ListSourceLocations operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListSourceLocations /// operation. /// REST API Reference for ListSourceLocations Operation public virtual IAsyncResult BeginListSourceLocations(ListSourceLocationsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListSourceLocationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSourceLocationsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListSourceLocations operation. /// /// /// The IAsyncResult returned by the call to BeginListSourceLocations. /// /// Returns a ListSourceLocationsResult from MediaTailor. /// REST API Reference for ListSourceLocations Operation public virtual ListSourceLocationsResponse EndListSourceLocations(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// A list of tags that are associated with this resource. Tags are key-value pairs that /// you can associate with Amazon resources to help with organization, access control, /// and cost tracking. For more information, see Tagging /// AWS Elemental MediaTailor Resources. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by MediaTailor. /// /// A request contains unexpected data. /// /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from MediaTailor. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListVodSources /// /// Lists the VOD sources contained in a source location. A source represents a piece /// of content. /// /// Container for the necessary parameters to execute the ListVodSources service method. /// /// The response from the ListVodSources service method, as returned by MediaTailor. /// REST API Reference for ListVodSources Operation public virtual ListVodSourcesResponse ListVodSources(ListVodSourcesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListVodSourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVodSourcesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListVodSources operation. /// /// /// Container for the necessary parameters to execute the ListVodSources operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListVodSources /// operation. /// REST API Reference for ListVodSources Operation public virtual IAsyncResult BeginListVodSources(ListVodSourcesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListVodSourcesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListVodSourcesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListVodSources operation. /// /// /// The IAsyncResult returned by the call to BeginListVodSources. /// /// Returns a ListVodSourcesResult from MediaTailor. /// REST API Reference for ListVodSources Operation public virtual ListVodSourcesResponse EndListVodSources(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutChannelPolicy /// /// Creates an IAM policy for the channel. IAM policies are used to control access to /// your channel. /// /// Container for the necessary parameters to execute the PutChannelPolicy service method. /// /// The response from the PutChannelPolicy service method, as returned by MediaTailor. /// REST API Reference for PutChannelPolicy Operation public virtual PutChannelPolicyResponse PutChannelPolicy(PutChannelPolicyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutChannelPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutChannelPolicyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutChannelPolicy operation. /// /// /// Container for the necessary parameters to execute the PutChannelPolicy operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutChannelPolicy /// operation. /// REST API Reference for PutChannelPolicy Operation public virtual IAsyncResult BeginPutChannelPolicy(PutChannelPolicyRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutChannelPolicyRequestMarshaller.Instance; options.ResponseUnmarshaller = PutChannelPolicyResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutChannelPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginPutChannelPolicy. /// /// Returns a PutChannelPolicyResult from MediaTailor. /// REST API Reference for PutChannelPolicy Operation public virtual PutChannelPolicyResponse EndPutChannelPolicy(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutPlaybackConfiguration /// /// Creates a playback configuration. For information about MediaTailor configurations, /// see Working /// with configurations in AWS Elemental MediaTailor. /// /// Container for the necessary parameters to execute the PutPlaybackConfiguration service method. /// /// The response from the PutPlaybackConfiguration service method, as returned by MediaTailor. /// REST API Reference for PutPlaybackConfiguration Operation public virtual PutPlaybackConfigurationResponse PutPlaybackConfiguration(PutPlaybackConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutPlaybackConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutPlaybackConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutPlaybackConfiguration operation. /// /// /// Container for the necessary parameters to execute the PutPlaybackConfiguration operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutPlaybackConfiguration /// operation. /// REST API Reference for PutPlaybackConfiguration Operation public virtual IAsyncResult BeginPutPlaybackConfiguration(PutPlaybackConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutPlaybackConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutPlaybackConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutPlaybackConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginPutPlaybackConfiguration. /// /// Returns a PutPlaybackConfigurationResult from MediaTailor. /// REST API Reference for PutPlaybackConfiguration Operation public virtual PutPlaybackConfigurationResponse EndPutPlaybackConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StartChannel /// /// Starts a channel. For information about MediaTailor channels, see Working /// with channels in the MediaTailor User Guide. /// /// Container for the necessary parameters to execute the StartChannel service method. /// /// The response from the StartChannel service method, as returned by MediaTailor. /// REST API Reference for StartChannel Operation public virtual StartChannelResponse StartChannel(StartChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = StartChannelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StartChannel operation. /// /// /// Container for the necessary parameters to execute the StartChannel operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStartChannel /// operation. /// REST API Reference for StartChannel Operation public virtual IAsyncResult BeginStartChannel(StartChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StartChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = StartChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StartChannel operation. /// /// /// The IAsyncResult returned by the call to BeginStartChannel. /// /// Returns a StartChannelResult from MediaTailor. /// REST API Reference for StartChannel Operation public virtual StartChannelResponse EndStartChannel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region StopChannel /// /// Stops a channel. For information about MediaTailor channels, see Working /// with channels in the MediaTailor User Guide. /// /// Container for the necessary parameters to execute the StopChannel service method. /// /// The response from the StopChannel service method, as returned by MediaTailor. /// REST API Reference for StopChannel Operation public virtual StopChannelResponse StopChannel(StopChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = StopChannelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the StopChannel operation. /// /// /// Container for the necessary parameters to execute the StopChannel operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndStopChannel /// operation. /// REST API Reference for StopChannel Operation public virtual IAsyncResult BeginStopChannel(StopChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = StopChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = StopChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the StopChannel operation. /// /// /// The IAsyncResult returned by the call to BeginStopChannel. /// /// Returns a StopChannelResult from MediaTailor. /// REST API Reference for StopChannel Operation public virtual StopChannelResponse EndStopChannel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// The resource to tag. Tags are key-value pairs that you can associate with Amazon resources /// to help with organization, access control, and cost tracking. For more information, /// see Tagging /// AWS Elemental MediaTailor Resources. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by MediaTailor. /// /// A request contains unexpected data. /// /// REST API Reference for TagResource Operation public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from MediaTailor. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// The resource to untag. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by MediaTailor. /// /// A request contains unexpected data. /// /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from MediaTailor. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateChannel /// /// Updates a channel. For information about MediaTailor channels, see Working /// with channels in the MediaTailor User Guide. /// /// Container for the necessary parameters to execute the UpdateChannel service method. /// /// The response from the UpdateChannel service method, as returned by MediaTailor. /// REST API Reference for UpdateChannel Operation public virtual UpdateChannelResponse UpdateChannel(UpdateChannelRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateChannel operation. /// /// /// Container for the necessary parameters to execute the UpdateChannel operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateChannel /// operation. /// REST API Reference for UpdateChannel Operation public virtual IAsyncResult BeginUpdateChannel(UpdateChannelRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateChannelRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateChannelResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateChannel operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateChannel. /// /// Returns a UpdateChannelResult from MediaTailor. /// REST API Reference for UpdateChannel Operation public virtual UpdateChannelResponse EndUpdateChannel(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateLiveSource /// /// Updates a live source's configuration. /// /// Container for the necessary parameters to execute the UpdateLiveSource service method. /// /// The response from the UpdateLiveSource service method, as returned by MediaTailor. /// REST API Reference for UpdateLiveSource Operation public virtual UpdateLiveSourceResponse UpdateLiveSource(UpdateLiveSourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateLiveSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateLiveSourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateLiveSource operation. /// /// /// Container for the necessary parameters to execute the UpdateLiveSource operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateLiveSource /// operation. /// REST API Reference for UpdateLiveSource Operation public virtual IAsyncResult BeginUpdateLiveSource(UpdateLiveSourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateLiveSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateLiveSourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateLiveSource operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateLiveSource. /// /// Returns a UpdateLiveSourceResult from MediaTailor. /// REST API Reference for UpdateLiveSource Operation public virtual UpdateLiveSourceResponse EndUpdateLiveSource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateProgram /// /// Updates a program within a channel. /// /// Container for the necessary parameters to execute the UpdateProgram service method. /// /// The response from the UpdateProgram service method, as returned by MediaTailor. /// REST API Reference for UpdateProgram Operation public virtual UpdateProgramResponse UpdateProgram(UpdateProgramRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProgramRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProgramResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateProgram operation. /// /// /// Container for the necessary parameters to execute the UpdateProgram operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateProgram /// operation. /// REST API Reference for UpdateProgram Operation public virtual IAsyncResult BeginUpdateProgram(UpdateProgramRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateProgramRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateProgramResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateProgram operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateProgram. /// /// Returns a UpdateProgramResult from MediaTailor. /// REST API Reference for UpdateProgram Operation public virtual UpdateProgramResponse EndUpdateProgram(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateSourceLocation /// /// Updates a source location. A source location is a container for sources. For more /// information about source locations, see Working /// with source locations in the MediaTailor User Guide. /// /// Container for the necessary parameters to execute the UpdateSourceLocation service method. /// /// The response from the UpdateSourceLocation service method, as returned by MediaTailor. /// REST API Reference for UpdateSourceLocation Operation public virtual UpdateSourceLocationResponse UpdateSourceLocation(UpdateSourceLocationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSourceLocationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSourceLocationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateSourceLocation operation. /// /// /// Container for the necessary parameters to execute the UpdateSourceLocation operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateSourceLocation /// operation. /// REST API Reference for UpdateSourceLocation Operation public virtual IAsyncResult BeginUpdateSourceLocation(UpdateSourceLocationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSourceLocationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSourceLocationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateSourceLocation operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateSourceLocation. /// /// Returns a UpdateSourceLocationResult from MediaTailor. /// REST API Reference for UpdateSourceLocation Operation public virtual UpdateSourceLocationResponse EndUpdateSourceLocation(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateVodSource /// /// Updates a VOD source's configuration. /// /// Container for the necessary parameters to execute the UpdateVodSource service method. /// /// The response from the UpdateVodSource service method, as returned by MediaTailor. /// REST API Reference for UpdateVodSource Operation public virtual UpdateVodSourceResponse UpdateVodSource(UpdateVodSourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVodSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVodSourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateVodSource operation. /// /// /// Container for the necessary parameters to execute the UpdateVodSource operation on AmazonMediaTailorClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateVodSource /// operation. /// REST API Reference for UpdateVodSource Operation public virtual IAsyncResult BeginUpdateVodSource(UpdateVodSourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateVodSourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateVodSourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateVodSource operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateVodSource. /// /// Returns a UpdateVodSourceResult from MediaTailor. /// REST API Reference for UpdateVodSource Operation public virtual UpdateVodSourceResponse EndUpdateVodSource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }