/* * 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 mediapackagev2-2022-12-25.normal.json service model. */ using System; using System.Collections.Generic; using Amazon.Runtime; using Amazon.MediaPackageV2.Model; namespace Amazon.MediaPackageV2 { /// /// Interface for accessing MediaPackageV2 /// /// /// /// This guide is intended for creating AWS Elemental MediaPackage resources in MediaPackage /// Version 2 (v2) starting from May 2023. To get started with MediaPackage v2, create /// your MediaPackage resources. There isn't an automated process to migrate your resources /// from MediaPackage v1 to MediaPackage v2. /// /// /// /// The names of the entities that you use to access this API, like URLs and ARNs, all /// have the versioning information added, like "v2", to distinguish from the prior version. /// If you used MediaPackage prior to this release, you can't use the MediaPackage v2 /// CLI or the MediaPackage v2 API to access any MediaPackage v1 resources. /// /// /// /// If you created resources in MediaPackage v1, use video on demand (VOD) workflows, /// and aren't looking to migrate to MediaPackage v2 yet, see the MediaPackage /// v1 Live API Reference. /// /// /// /// This is the AWS Elemental MediaPackage v2 Live REST API Reference. It describes all /// the MediaPackage API operations for live content in detail, and provides sample requests, /// responses, and errors for the supported web services protocols. /// /// /// /// We assume that you have the IAM permissions that you need to use MediaPackage via /// the REST API. We also assume that you are familiar with the features and operations /// of MediaPackage, as described in the AWS Elemental MediaPackage User Guide. /// /// public partial interface IAmazonMediaPackageV2 : IAmazonService, IDisposable { #if BCL45 || AWS_ASYNC_ENUMERABLES_API /// /// Paginators for the service /// IMediaPackageV2PaginatorFactory Paginators { get; } #endif #region CreateChannel /// /// Create a channel to start receiving content streams. The channel represents the input /// to MediaPackage for incoming live content from an encoder such as AWS Elemental MediaLive. /// The channel receives content, and after packaging it, outputs it through an origin /// endpoint to downstream devices (such as video players or CDNs) that request the content. /// You can create only one channel with each request. We recommend that you spread out /// channels between channel groups, such as putting redundant channels in the same AWS /// Region in different channel groups. /// /// Container for the necessary parameters to execute the CreateChannel service method. /// /// The response from the CreateChannel service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Updating or deleting this resource can cause an inconsistent state. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The specified resource doesn't exist. /// /// /// The request would cause a service quota to be exceeded. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for CreateChannel Operation CreateChannelResponse CreateChannel(CreateChannelRequest request); /// /// Initiates the asynchronous execution of the CreateChannel operation. /// /// /// Container for the necessary parameters to execute the CreateChannel operation on AmazonMediaPackageV2Client. /// 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 IAsyncResult BeginCreateChannel(CreateChannelRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateChannel operation. /// /// /// The IAsyncResult returned by the call to BeginCreateChannel. /// /// Returns a CreateChannelResult from MediaPackageV2. /// REST API Reference for CreateChannel Operation CreateChannelResponse EndCreateChannel(IAsyncResult asyncResult); #endregion #region CreateChannelGroup /// /// Create a channel group to group your channels and origin endpoints. A channel group /// is the top-level resource that consists of channels and origin endpoints that are /// associated with it and that provides predictable URLs for stream delivery. All channels /// and origin endpoints within the channel group are guaranteed to share the DNS. You /// can create only one channel group with each request. /// /// Container for the necessary parameters to execute the CreateChannelGroup service method. /// /// The response from the CreateChannelGroup service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Updating or deleting this resource can cause an inconsistent state. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The specified resource doesn't exist. /// /// /// The request would cause a service quota to be exceeded. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for CreateChannelGroup Operation CreateChannelGroupResponse CreateChannelGroup(CreateChannelGroupRequest request); /// /// Initiates the asynchronous execution of the CreateChannelGroup operation. /// /// /// Container for the necessary parameters to execute the CreateChannelGroup operation on AmazonMediaPackageV2Client. /// 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 EndCreateChannelGroup /// operation. /// REST API Reference for CreateChannelGroup Operation IAsyncResult BeginCreateChannelGroup(CreateChannelGroupRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateChannelGroup operation. /// /// /// The IAsyncResult returned by the call to BeginCreateChannelGroup. /// /// Returns a CreateChannelGroupResult from MediaPackageV2. /// REST API Reference for CreateChannelGroup Operation CreateChannelGroupResponse EndCreateChannelGroup(IAsyncResult asyncResult); #endregion #region CreateOriginEndpoint /// /// The endpoint is attached to a channel, and represents the output of the live content. /// You can associate multiple endpoints to a single channel. Each endpoint gives players /// and downstream CDNs (such as Amazon CloudFront) access to the content for playback. /// Content can't be served from a channel until it has an endpoint. You can create only /// one endpoint with each request. /// /// Container for the necessary parameters to execute the CreateOriginEndpoint service method. /// /// The response from the CreateOriginEndpoint service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Updating or deleting this resource can cause an inconsistent state. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The specified resource doesn't exist. /// /// /// The request would cause a service quota to be exceeded. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for CreateOriginEndpoint Operation CreateOriginEndpointResponse CreateOriginEndpoint(CreateOriginEndpointRequest request); /// /// Initiates the asynchronous execution of the CreateOriginEndpoint operation. /// /// /// Container for the necessary parameters to execute the CreateOriginEndpoint operation on AmazonMediaPackageV2Client. /// 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 EndCreateOriginEndpoint /// operation. /// REST API Reference for CreateOriginEndpoint Operation IAsyncResult BeginCreateOriginEndpoint(CreateOriginEndpointRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the CreateOriginEndpoint operation. /// /// /// The IAsyncResult returned by the call to BeginCreateOriginEndpoint. /// /// Returns a CreateOriginEndpointResult from MediaPackageV2. /// REST API Reference for CreateOriginEndpoint Operation CreateOriginEndpointResponse EndCreateOriginEndpoint(IAsyncResult asyncResult); #endregion #region DeleteChannel /// /// Delete a channel to stop AWS Elemental MediaPackage from receiving further content. /// You must delete the channel's origin endpoints before you can delete the channel. /// /// Container for the necessary parameters to execute the DeleteChannel service method. /// /// The response from the DeleteChannel service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Updating or deleting this resource can cause an inconsistent state. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for DeleteChannel Operation DeleteChannelResponse DeleteChannel(DeleteChannelRequest request); /// /// Initiates the asynchronous execution of the DeleteChannel operation. /// /// /// Container for the necessary parameters to execute the DeleteChannel operation on AmazonMediaPackageV2Client. /// 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 IAsyncResult BeginDeleteChannel(DeleteChannelRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteChannel operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteChannel. /// /// Returns a DeleteChannelResult from MediaPackageV2. /// REST API Reference for DeleteChannel Operation DeleteChannelResponse EndDeleteChannel(IAsyncResult asyncResult); #endregion #region DeleteChannelGroup /// /// Delete a channel group. You must delete the channel group's channels and origin endpoints /// before you can delete the channel group. If you delete a channel group, you'll lose /// access to the egress domain and will have to create a new channel group to replace /// it. /// /// Container for the necessary parameters to execute the DeleteChannelGroup service method. /// /// The response from the DeleteChannelGroup service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Updating or deleting this resource can cause an inconsistent state. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for DeleteChannelGroup Operation DeleteChannelGroupResponse DeleteChannelGroup(DeleteChannelGroupRequest request); /// /// Initiates the asynchronous execution of the DeleteChannelGroup operation. /// /// /// Container for the necessary parameters to execute the DeleteChannelGroup operation on AmazonMediaPackageV2Client. /// 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 EndDeleteChannelGroup /// operation. /// REST API Reference for DeleteChannelGroup Operation IAsyncResult BeginDeleteChannelGroup(DeleteChannelGroupRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteChannelGroup operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteChannelGroup. /// /// Returns a DeleteChannelGroupResult from MediaPackageV2. /// REST API Reference for DeleteChannelGroup Operation DeleteChannelGroupResponse EndDeleteChannelGroup(IAsyncResult asyncResult); #endregion #region DeleteChannelPolicy /// /// Delete a channel policy. /// /// Container for the necessary parameters to execute the DeleteChannelPolicy service method. /// /// The response from the DeleteChannelPolicy service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Updating or deleting this resource can cause an inconsistent state. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for DeleteChannelPolicy Operation DeleteChannelPolicyResponse DeleteChannelPolicy(DeleteChannelPolicyRequest request); /// /// Initiates the asynchronous execution of the DeleteChannelPolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteChannelPolicy operation on AmazonMediaPackageV2Client. /// 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 IAsyncResult BeginDeleteChannelPolicy(DeleteChannelPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteChannelPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteChannelPolicy. /// /// Returns a DeleteChannelPolicyResult from MediaPackageV2. /// REST API Reference for DeleteChannelPolicy Operation DeleteChannelPolicyResponse EndDeleteChannelPolicy(IAsyncResult asyncResult); #endregion #region DeleteOriginEndpoint /// /// Origin endpoints can serve content until they're deleted. Delete the endpoint if it /// should no longer respond to playback requests. You must delete all endpoints from /// a channel before you can delete the channel. /// /// Container for the necessary parameters to execute the DeleteOriginEndpoint service method. /// /// The response from the DeleteOriginEndpoint service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for DeleteOriginEndpoint Operation DeleteOriginEndpointResponse DeleteOriginEndpoint(DeleteOriginEndpointRequest request); /// /// Initiates the asynchronous execution of the DeleteOriginEndpoint operation. /// /// /// Container for the necessary parameters to execute the DeleteOriginEndpoint operation on AmazonMediaPackageV2Client. /// 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 EndDeleteOriginEndpoint /// operation. /// REST API Reference for DeleteOriginEndpoint Operation IAsyncResult BeginDeleteOriginEndpoint(DeleteOriginEndpointRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteOriginEndpoint operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteOriginEndpoint. /// /// Returns a DeleteOriginEndpointResult from MediaPackageV2. /// REST API Reference for DeleteOriginEndpoint Operation DeleteOriginEndpointResponse EndDeleteOriginEndpoint(IAsyncResult asyncResult); #endregion #region DeleteOriginEndpointPolicy /// /// Delete an origin endpoint policy. /// /// Container for the necessary parameters to execute the DeleteOriginEndpointPolicy service method. /// /// The response from the DeleteOriginEndpointPolicy service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Updating or deleting this resource can cause an inconsistent state. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for DeleteOriginEndpointPolicy Operation DeleteOriginEndpointPolicyResponse DeleteOriginEndpointPolicy(DeleteOriginEndpointPolicyRequest request); /// /// Initiates the asynchronous execution of the DeleteOriginEndpointPolicy operation. /// /// /// Container for the necessary parameters to execute the DeleteOriginEndpointPolicy operation on AmazonMediaPackageV2Client. /// 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 EndDeleteOriginEndpointPolicy /// operation. /// REST API Reference for DeleteOriginEndpointPolicy Operation IAsyncResult BeginDeleteOriginEndpointPolicy(DeleteOriginEndpointPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the DeleteOriginEndpointPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteOriginEndpointPolicy. /// /// Returns a DeleteOriginEndpointPolicyResult from MediaPackageV2. /// REST API Reference for DeleteOriginEndpointPolicy Operation DeleteOriginEndpointPolicyResponse EndDeleteOriginEndpointPolicy(IAsyncResult asyncResult); #endregion #region GetChannel /// /// Retrieves the specified channel that's configured in AWS Elemental MediaPackage, including /// the origin endpoints that are associated with it. /// /// Container for the necessary parameters to execute the GetChannel service method. /// /// The response from the GetChannel service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The specified resource doesn't exist. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for GetChannel Operation GetChannelResponse GetChannel(GetChannelRequest request); /// /// Initiates the asynchronous execution of the GetChannel operation. /// /// /// Container for the necessary parameters to execute the GetChannel operation on AmazonMediaPackageV2Client. /// 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 EndGetChannel /// operation. /// REST API Reference for GetChannel Operation IAsyncResult BeginGetChannel(GetChannelRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetChannel operation. /// /// /// The IAsyncResult returned by the call to BeginGetChannel. /// /// Returns a GetChannelResult from MediaPackageV2. /// REST API Reference for GetChannel Operation GetChannelResponse EndGetChannel(IAsyncResult asyncResult); #endregion #region GetChannelGroup /// /// Retrieves the specified channel group that's configured in AWS Elemental MediaPackage, /// including the channels and origin endpoints that are associated with it. /// /// Container for the necessary parameters to execute the GetChannelGroup service method. /// /// The response from the GetChannelGroup service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The specified resource doesn't exist. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for GetChannelGroup Operation GetChannelGroupResponse GetChannelGroup(GetChannelGroupRequest request); /// /// Initiates the asynchronous execution of the GetChannelGroup operation. /// /// /// Container for the necessary parameters to execute the GetChannelGroup operation on AmazonMediaPackageV2Client. /// 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 EndGetChannelGroup /// operation. /// REST API Reference for GetChannelGroup Operation IAsyncResult BeginGetChannelGroup(GetChannelGroupRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetChannelGroup operation. /// /// /// The IAsyncResult returned by the call to BeginGetChannelGroup. /// /// Returns a GetChannelGroupResult from MediaPackageV2. /// REST API Reference for GetChannelGroup Operation GetChannelGroupResponse EndGetChannelGroup(IAsyncResult asyncResult); #endregion #region GetChannelPolicy /// /// Retrieves the specified channel policy that's configured in AWS Elemental MediaPackage. /// With policies, you can specify who has access to AWS resources and what actions they /// can perform on those resources. /// /// Container for the necessary parameters to execute the GetChannelPolicy service method. /// /// The response from the GetChannelPolicy service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The specified resource doesn't exist. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for GetChannelPolicy Operation GetChannelPolicyResponse GetChannelPolicy(GetChannelPolicyRequest request); /// /// Initiates the asynchronous execution of the GetChannelPolicy operation. /// /// /// Container for the necessary parameters to execute the GetChannelPolicy operation on AmazonMediaPackageV2Client. /// 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 IAsyncResult BeginGetChannelPolicy(GetChannelPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetChannelPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginGetChannelPolicy. /// /// Returns a GetChannelPolicyResult from MediaPackageV2. /// REST API Reference for GetChannelPolicy Operation GetChannelPolicyResponse EndGetChannelPolicy(IAsyncResult asyncResult); #endregion #region GetOriginEndpoint /// /// Retrieves the specified origin endpoint that's configured in AWS Elemental MediaPackage /// to obtain its playback URL and to view the packaging settings that it's currently /// using. /// /// Container for the necessary parameters to execute the GetOriginEndpoint service method. /// /// The response from the GetOriginEndpoint service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The specified resource doesn't exist. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for GetOriginEndpoint Operation GetOriginEndpointResponse GetOriginEndpoint(GetOriginEndpointRequest request); /// /// Initiates the asynchronous execution of the GetOriginEndpoint operation. /// /// /// Container for the necessary parameters to execute the GetOriginEndpoint operation on AmazonMediaPackageV2Client. /// 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 EndGetOriginEndpoint /// operation. /// REST API Reference for GetOriginEndpoint Operation IAsyncResult BeginGetOriginEndpoint(GetOriginEndpointRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetOriginEndpoint operation. /// /// /// The IAsyncResult returned by the call to BeginGetOriginEndpoint. /// /// Returns a GetOriginEndpointResult from MediaPackageV2. /// REST API Reference for GetOriginEndpoint Operation GetOriginEndpointResponse EndGetOriginEndpoint(IAsyncResult asyncResult); #endregion #region GetOriginEndpointPolicy /// /// Retrieves the specified origin endpoint policy that's configured in AWS Elemental /// MediaPackage. /// /// Container for the necessary parameters to execute the GetOriginEndpointPolicy service method. /// /// The response from the GetOriginEndpointPolicy service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The specified resource doesn't exist. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for GetOriginEndpointPolicy Operation GetOriginEndpointPolicyResponse GetOriginEndpointPolicy(GetOriginEndpointPolicyRequest request); /// /// Initiates the asynchronous execution of the GetOriginEndpointPolicy operation. /// /// /// Container for the necessary parameters to execute the GetOriginEndpointPolicy operation on AmazonMediaPackageV2Client. /// 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 EndGetOriginEndpointPolicy /// operation. /// REST API Reference for GetOriginEndpointPolicy Operation IAsyncResult BeginGetOriginEndpointPolicy(GetOriginEndpointPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the GetOriginEndpointPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginGetOriginEndpointPolicy. /// /// Returns a GetOriginEndpointPolicyResult from MediaPackageV2. /// REST API Reference for GetOriginEndpointPolicy Operation GetOriginEndpointPolicyResponse EndGetOriginEndpointPolicy(IAsyncResult asyncResult); #endregion #region ListChannelGroups /// /// Retrieves all channel groups that are configured in AWS Elemental MediaPackage, including /// the channels and origin endpoints that are associated with it. /// /// Container for the necessary parameters to execute the ListChannelGroups service method. /// /// The response from the ListChannelGroups service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for ListChannelGroups Operation ListChannelGroupsResponse ListChannelGroups(ListChannelGroupsRequest request); /// /// Initiates the asynchronous execution of the ListChannelGroups operation. /// /// /// Container for the necessary parameters to execute the ListChannelGroups operation on AmazonMediaPackageV2Client. /// 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 EndListChannelGroups /// operation. /// REST API Reference for ListChannelGroups Operation IAsyncResult BeginListChannelGroups(ListChannelGroupsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListChannelGroups operation. /// /// /// The IAsyncResult returned by the call to BeginListChannelGroups. /// /// Returns a ListChannelGroupsResult from MediaPackageV2. /// REST API Reference for ListChannelGroups Operation ListChannelGroupsResponse EndListChannelGroups(IAsyncResult asyncResult); #endregion #region ListChannels /// /// Retrieves all channels in a specific channel group that are configured in AWS Elemental /// MediaPackage, including the origin endpoints that are associated with it. /// /// Container for the necessary parameters to execute the ListChannels service method. /// /// The response from the ListChannels service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for ListChannels Operation ListChannelsResponse ListChannels(ListChannelsRequest request); /// /// Initiates the asynchronous execution of the ListChannels operation. /// /// /// Container for the necessary parameters to execute the ListChannels operation on AmazonMediaPackageV2Client. /// 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 IAsyncResult BeginListChannels(ListChannelsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListChannels operation. /// /// /// The IAsyncResult returned by the call to BeginListChannels. /// /// Returns a ListChannelsResult from MediaPackageV2. /// REST API Reference for ListChannels Operation ListChannelsResponse EndListChannels(IAsyncResult asyncResult); #endregion #region ListOriginEndpoints /// /// Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental /// MediaPackage. /// /// Container for the necessary parameters to execute the ListOriginEndpoints service method. /// /// The response from the ListOriginEndpoints service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The specified resource doesn't exist. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for ListOriginEndpoints Operation ListOriginEndpointsResponse ListOriginEndpoints(ListOriginEndpointsRequest request); /// /// Initiates the asynchronous execution of the ListOriginEndpoints operation. /// /// /// Container for the necessary parameters to execute the ListOriginEndpoints operation on AmazonMediaPackageV2Client. /// 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 EndListOriginEndpoints /// operation. /// REST API Reference for ListOriginEndpoints Operation IAsyncResult BeginListOriginEndpoints(ListOriginEndpointsRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListOriginEndpoints operation. /// /// /// The IAsyncResult returned by the call to BeginListOriginEndpoints. /// /// Returns a ListOriginEndpointsResult from MediaPackageV2. /// REST API Reference for ListOriginEndpoints Operation ListOriginEndpointsResponse EndListOriginEndpoints(IAsyncResult asyncResult); #endregion #region ListTagsForResource /// /// Lists the tags assigned to a resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by MediaPackageV2. /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request); /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonMediaPackageV2Client. /// 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 IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from MediaPackageV2. /// REST API Reference for ListTagsForResource Operation ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult); #endregion #region PutChannelPolicy /// /// Attaches an IAM policy to the specified channel. With policies, you can specify who /// has access to AWS resources and what actions they can perform on those resources. /// You can attach only one policy with each request. /// /// Container for the necessary parameters to execute the PutChannelPolicy service method. /// /// The response from the PutChannelPolicy service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Updating or deleting this resource can cause an inconsistent state. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The specified resource doesn't exist. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for PutChannelPolicy Operation PutChannelPolicyResponse PutChannelPolicy(PutChannelPolicyRequest request); /// /// Initiates the asynchronous execution of the PutChannelPolicy operation. /// /// /// Container for the necessary parameters to execute the PutChannelPolicy operation on AmazonMediaPackageV2Client. /// 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 IAsyncResult BeginPutChannelPolicy(PutChannelPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutChannelPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginPutChannelPolicy. /// /// Returns a PutChannelPolicyResult from MediaPackageV2. /// REST API Reference for PutChannelPolicy Operation PutChannelPolicyResponse EndPutChannelPolicy(IAsyncResult asyncResult); #endregion #region PutOriginEndpointPolicy /// /// Attaches an IAM policy to the specified origin endpoint. You can attach only one policy /// with each request. /// /// Container for the necessary parameters to execute the PutOriginEndpointPolicy service method. /// /// The response from the PutOriginEndpointPolicy service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Updating or deleting this resource can cause an inconsistent state. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The specified resource doesn't exist. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for PutOriginEndpointPolicy Operation PutOriginEndpointPolicyResponse PutOriginEndpointPolicy(PutOriginEndpointPolicyRequest request); /// /// Initiates the asynchronous execution of the PutOriginEndpointPolicy operation. /// /// /// Container for the necessary parameters to execute the PutOriginEndpointPolicy operation on AmazonMediaPackageV2Client. /// 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 EndPutOriginEndpointPolicy /// operation. /// REST API Reference for PutOriginEndpointPolicy Operation IAsyncResult BeginPutOriginEndpointPolicy(PutOriginEndpointPolicyRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the PutOriginEndpointPolicy operation. /// /// /// The IAsyncResult returned by the call to BeginPutOriginEndpointPolicy. /// /// Returns a PutOriginEndpointPolicyResult from MediaPackageV2. /// REST API Reference for PutOriginEndpointPolicy Operation PutOriginEndpointPolicyResponse EndPutOriginEndpointPolicy(IAsyncResult asyncResult); #endregion #region TagResource /// /// Assigns one of more tags (key-value pairs) to the specified MediaPackage resource. /// /// /// /// Tags can help you organize and categorize your resources. You can also use them to /// scope user permissions, by granting a user permission to access or change only resources /// with certain tag values. You can use the TagResource operation with a resource that /// already has tags. If you specify a new tag key for the resource, this tag is appended /// to the list of tags associated with the resource. If you specify a tag key that is /// already associated with the resource, the new tag value that you specify replaces /// the previous value for that tag. /// /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by MediaPackageV2. /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for TagResource Operation TagResourceResponse TagResource(TagResourceRequest request); /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonMediaPackageV2Client. /// 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 IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from MediaPackageV2. /// REST API Reference for TagResource Operation TagResourceResponse EndTagResource(IAsyncResult asyncResult); #endregion #region UntagResource /// /// Removes one or more tags from the specified resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by MediaPackageV2. /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for UntagResource Operation UntagResourceResponse UntagResource(UntagResourceRequest request); /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonMediaPackageV2Client. /// 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 IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from MediaPackageV2. /// REST API Reference for UntagResource Operation UntagResourceResponse EndUntagResource(IAsyncResult asyncResult); #endregion #region UpdateChannel /// /// Update the specified channel. You can edit if MediaPackage sends ingest or egress /// access logs to the CloudWatch log group, if content will be encrypted, the description /// on a channel, and your channel's policy settings. You can't edit the name of the channel /// or CloudFront distribution details. /// /// /// /// Any edits you make that impact the video output may not be reflected for a few minutes. /// /// /// Container for the necessary parameters to execute the UpdateChannel service method. /// /// The response from the UpdateChannel service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Updating or deleting this resource can cause an inconsistent state. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The specified resource doesn't exist. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for UpdateChannel Operation UpdateChannelResponse UpdateChannel(UpdateChannelRequest request); /// /// Initiates the asynchronous execution of the UpdateChannel operation. /// /// /// Container for the necessary parameters to execute the UpdateChannel operation on AmazonMediaPackageV2Client. /// 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 IAsyncResult BeginUpdateChannel(UpdateChannelRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateChannel operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateChannel. /// /// Returns a UpdateChannelResult from MediaPackageV2. /// REST API Reference for UpdateChannel Operation UpdateChannelResponse EndUpdateChannel(IAsyncResult asyncResult); #endregion #region UpdateChannelGroup /// /// Update the specified channel group. You can edit the description on a channel group /// for easier identification later from the AWS Elemental MediaPackage console. You can't /// edit the name of the channel group. /// /// /// /// Any edits you make that impact the video output may not be reflected for a few minutes. /// /// /// Container for the necessary parameters to execute the UpdateChannelGroup service method. /// /// The response from the UpdateChannelGroup service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Updating or deleting this resource can cause an inconsistent state. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The specified resource doesn't exist. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for UpdateChannelGroup Operation UpdateChannelGroupResponse UpdateChannelGroup(UpdateChannelGroupRequest request); /// /// Initiates the asynchronous execution of the UpdateChannelGroup operation. /// /// /// Container for the necessary parameters to execute the UpdateChannelGroup operation on AmazonMediaPackageV2Client. /// 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 EndUpdateChannelGroup /// operation. /// REST API Reference for UpdateChannelGroup Operation IAsyncResult BeginUpdateChannelGroup(UpdateChannelGroupRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateChannelGroup operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateChannelGroup. /// /// Returns a UpdateChannelGroupResult from MediaPackageV2. /// REST API Reference for UpdateChannelGroup Operation UpdateChannelGroupResponse EndUpdateChannelGroup(IAsyncResult asyncResult); #endregion #region UpdateOriginEndpoint /// /// Update the specified origin endpoint. Edit the packaging preferences on an endpoint /// to optimize the viewing experience. You can't edit the name of the endpoint. /// /// /// /// Any edits you make that impact the video output may not be reflected for a few minutes. /// /// /// Container for the necessary parameters to execute the UpdateOriginEndpoint service method. /// /// The response from the UpdateOriginEndpoint service method, as returned by MediaPackageV2. /// /// You don't have permissions to perform the requested operation. The user or role that /// is making the request must have at least one IAM permissions policy attached that /// grants the required permissions. For more information, see Access Management in the /// IAM User Guide. /// /// /// Updating or deleting this resource can cause an inconsistent state. /// /// /// Indicates that an error from the service occurred while trying to process a request. /// /// /// The specified resource doesn't exist. /// /// /// The request would cause a service quota to be exceeded. /// /// /// The request throughput limit was exceeded. /// /// /// The input failed to meet the constraints specified by the AWS service. /// /// REST API Reference for UpdateOriginEndpoint Operation UpdateOriginEndpointResponse UpdateOriginEndpoint(UpdateOriginEndpointRequest request); /// /// Initiates the asynchronous execution of the UpdateOriginEndpoint operation. /// /// /// Container for the necessary parameters to execute the UpdateOriginEndpoint operation on AmazonMediaPackageV2Client. /// 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 EndUpdateOriginEndpoint /// operation. /// REST API Reference for UpdateOriginEndpoint Operation IAsyncResult BeginUpdateOriginEndpoint(UpdateOriginEndpointRequest request, AsyncCallback callback, object state); /// /// Finishes the asynchronous execution of the UpdateOriginEndpoint operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateOriginEndpoint. /// /// Returns a UpdateOriginEndpointResult from MediaPackageV2. /// REST API Reference for UpdateOriginEndpoint Operation UpdateOriginEndpointResponse EndUpdateOriginEndpoint(IAsyncResult asyncResult); #endregion } }