AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

Implementation for accessing MediaPackage AWS Elemental MediaPackage

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonServiceClient
    Amazon.MediaPackage.AmazonMediaPackageClient

Namespace: Amazon.MediaPackage
Assembly: AWSSDK.MediaPackage.dll
Version: 3.x.y.z

Syntax

C#
public class AmazonMediaPackageClient : AmazonServiceClient
         IAmazonMediaPackage, IAmazonService, IDisposable

The AmazonMediaPackageClient type exposes the following members

Constructors

NameDescription
Public Method AmazonMediaPackageClient()

Constructs AmazonMediaPackageClient 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.



    
        
    

             

Public Method AmazonMediaPackageClient(RegionEndpoint)

Constructs AmazonMediaPackageClient 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.



    
        
    

             

Public Method AmazonMediaPackageClient(AmazonMediaPackageConfig)

Constructs AmazonMediaPackageClient 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.



    
        
    

             

Public Method AmazonMediaPackageClient(AWSCredentials)

Constructs AmazonMediaPackageClient with AWS Credentials

Public Method AmazonMediaPackageClient(AWSCredentials, RegionEndpoint)

Constructs AmazonMediaPackageClient with AWS Credentials

Public Method AmazonMediaPackageClient(AWSCredentials, AmazonMediaPackageConfig)

Constructs AmazonMediaPackageClient with AWS Credentials and an AmazonMediaPackageClient Configuration object.

Public Method AmazonMediaPackageClient(string, string)

Constructs AmazonMediaPackageClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonMediaPackageClient(string, string, RegionEndpoint)

Constructs AmazonMediaPackageClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonMediaPackageClient(string, string, AmazonMediaPackageConfig)

Constructs AmazonMediaPackageClient with AWS Access Key ID, AWS Secret Key and an AmazonMediaPackageClient Configuration object.

Public Method AmazonMediaPackageClient(string, string, string)

Constructs AmazonMediaPackageClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonMediaPackageClient(string, string, string, RegionEndpoint)

Constructs AmazonMediaPackageClient with AWS Access Key ID and AWS Secret Key

Public Method AmazonMediaPackageClient(string, string, string, AmazonMediaPackageConfig)

Constructs AmazonMediaPackageClient with AWS Access Key ID, AWS Secret Key and an AmazonMediaPackageClient Configuration object.

Properties

NameTypeDescription
Public Property Config Amazon.Runtime.IClientConfig Inherited from Amazon.Runtime.AmazonServiceClient.

Methods

Note:

Asynchronous operations (methods ending with Async) in the table below are for .NET 4.5 or higher. For .NET 3.5 the SDK follows the standard naming convention of BeginMethodName and EndMethodName to indicate asynchronous operations - these method pairs are not shown in the table below.

NameDescription
Public Method CreateChannel(CreateChannelRequest)

Creates a new Channel.

Public Method CreateChannelAsync(CreateChannelRequest, CancellationToken)

Initiates the asynchronous execution of the CreateChannel operation.

Public Method CreateOriginEndpoint(CreateOriginEndpointRequest)

Creates a new OriginEndpoint record.

Public Method CreateOriginEndpointAsync(CreateOriginEndpointRequest, CancellationToken)

Initiates the asynchronous execution of the CreateOriginEndpoint operation.

Public Method DeleteChannel(DeleteChannelRequest)

Deletes an existing Channel.

Public Method DeleteChannelAsync(DeleteChannelRequest, CancellationToken)

Initiates the asynchronous execution of the DeleteChannel operation.

Public Method DeleteOriginEndpoint(DeleteOriginEndpointRequest)

Deletes an existing OriginEndpoint.

Public Method DeleteOriginEndpointAsync(DeleteOriginEndpointRequest, CancellationToken)

Initiates the asynchronous execution of the DeleteOriginEndpoint operation.

Public Method DescribeChannel(DescribeChannelRequest)

Gets details about a Channel.

Public Method DescribeChannelAsync(DescribeChannelRequest, CancellationToken)

Initiates the asynchronous execution of the DescribeChannel operation.

Public Method DescribeOriginEndpoint(DescribeOriginEndpointRequest)

Gets details about an existing OriginEndpoint.

Public Method DescribeOriginEndpointAsync(DescribeOriginEndpointRequest, CancellationToken)

Initiates the asynchronous execution of the DescribeOriginEndpoint operation.

Public Method Dispose() Inherited from Amazon.Runtime.AmazonServiceClient.
Public Method ListChannels(ListChannelsRequest)

Returns a collection of Channels.

Public Method ListChannelsAsync(ListChannelsRequest, CancellationToken)

Initiates the asynchronous execution of the ListChannels operation.

Public Method ListOriginEndpoints(ListOriginEndpointsRequest)

Returns a collection of OriginEndpoint records.

Public Method ListOriginEndpointsAsync(ListOriginEndpointsRequest, CancellationToken)

Initiates the asynchronous execution of the ListOriginEndpoints operation.

Public Method RotateChannelCredentials(RotateChannelCredentialsRequest)

Changes the Channel ingest username and password.

Public Method RotateChannelCredentialsAsync(RotateChannelCredentialsRequest, CancellationToken)

Initiates the asynchronous execution of the RotateChannelCredentials operation.

Public Method UpdateChannel(UpdateChannelRequest)

Updates an existing Channel.

Public Method UpdateChannelAsync(UpdateChannelRequest, CancellationToken)

Initiates the asynchronous execution of the UpdateChannel operation.

Public Method UpdateOriginEndpoint(UpdateOriginEndpointRequest)

Updates an existing OriginEndpoint.

Public Method UpdateOriginEndpointAsync(UpdateOriginEndpointRequest, CancellationToken)

Initiates the asynchronous execution of the UpdateOriginEndpoint operation.

Events

NameDescription
Event AfterResponseEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event BeforeRequestEvent Inherited from Amazon.Runtime.AmazonServiceClient.
Event ExceptionEvent Inherited from Amazon.Runtime.AmazonServiceClient.

Version Information

.NET Standard:
Supported in: 1.3

.NET Framework:
Supported in: 4.5, 4.0, 3.5

Portable Class Library:
Supported in: Windows Store Apps
Supported in: Windows Phone 8.1
Supported in: Xamarin Android
Supported in: Xamarin iOS (Unified)
Supported in: Xamarin.Forms