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.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
             

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.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
             

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.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSProfileName" value="AWS Default"/>
    </appSettings>
</configuration>
             

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.
Public Property Paginators Amazon.MediaPackage.Model.IMediaPackagePaginatorFactory

Paginators for the service

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 ConfigureLogs(ConfigureLogsRequest)

Changes the Channel's properities to configure log subscription

Public Method ConfigureLogsAsync(ConfigureLogsRequest, CancellationToken)

Changes the Channel's properities to configure log subscription

Public Method CreateChannel(CreateChannelRequest)

Creates a new Channel.

Public Method CreateChannelAsync(CreateChannelRequest, CancellationToken)

Creates a new Channel.

Public Method CreateHarvestJob(CreateHarvestJobRequest)

Creates a new HarvestJob record.

Public Method CreateHarvestJobAsync(CreateHarvestJobRequest, CancellationToken)

Creates a new HarvestJob record.

Public Method CreateOriginEndpoint(CreateOriginEndpointRequest)

Creates a new OriginEndpoint record.

Public Method CreateOriginEndpointAsync(CreateOriginEndpointRequest, CancellationToken)

Creates a new OriginEndpoint record.

Public Method DeleteChannel(DeleteChannelRequest)

Deletes an existing Channel.

Public Method DeleteChannelAsync(DeleteChannelRequest, CancellationToken)

Deletes an existing Channel.

Public Method DeleteOriginEndpoint(DeleteOriginEndpointRequest)

Deletes an existing OriginEndpoint.

Public Method DeleteOriginEndpointAsync(DeleteOriginEndpointRequest, CancellationToken)

Deletes an existing OriginEndpoint.

Public Method DescribeChannel(DescribeChannelRequest)

Gets details about a Channel.

Public Method DescribeChannelAsync(DescribeChannelRequest, CancellationToken)

Gets details about a Channel.

Public Method DescribeHarvestJob(DescribeHarvestJobRequest)

Gets details about an existing HarvestJob.

Public Method DescribeHarvestJobAsync(DescribeHarvestJobRequest, CancellationToken)

Gets details about an existing HarvestJob.

Public Method DescribeOriginEndpoint(DescribeOriginEndpointRequest)

Gets details about an existing OriginEndpoint.

Public Method DescribeOriginEndpointAsync(DescribeOriginEndpointRequest, CancellationToken)

Gets details about an existing OriginEndpoint.

Public Method DetermineServiceOperationEndpoint(AmazonWebServiceRequest)

Returns the endpoint that will be used for a particular request.

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

Returns a collection of Channels.

Public Method ListChannelsAsync(ListChannelsRequest, CancellationToken)

Returns a collection of Channels.

Public Method ListHarvestJobs(ListHarvestJobsRequest)

Returns a collection of HarvestJob records.

Public Method ListHarvestJobsAsync(ListHarvestJobsRequest, CancellationToken)

Returns a collection of HarvestJob records.

Public Method ListOriginEndpoints(ListOriginEndpointsRequest)

Returns a collection of OriginEndpoint records.

Public Method ListOriginEndpointsAsync(ListOriginEndpointsRequest, CancellationToken)

Returns a collection of OriginEndpoint records.

Public Method ListTagsForResource(ListTagsForResourceRequest)

Public Method ListTagsForResourceAsync(ListTagsForResourceRequest, CancellationToken)

Public Method RotateChannelCredentials(RotateChannelCredentialsRequest)

Changes the Channel's first IngestEndpoint's username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead

Public Method RotateChannelCredentialsAsync(RotateChannelCredentialsRequest, CancellationToken)

Changes the Channel's first IngestEndpoint's username and password. WARNING - This API is deprecated. Please use RotateIngestEndpointCredentials instead

Public Method RotateIngestEndpointCredentials(RotateIngestEndpointCredentialsRequest)

Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id.

Public Method RotateIngestEndpointCredentialsAsync(RotateIngestEndpointCredentialsRequest, CancellationToken)

Rotate the IngestEndpoint's username and password, as specified by the IngestEndpoint's id.

Public Method TagResource(TagResourceRequest)

Public Method TagResourceAsync(TagResourceRequest, CancellationToken)

Public Method UntagResource(UntagResourceRequest)

Public Method UntagResourceAsync(UntagResourceRequest, CancellationToken)

Public Method UpdateChannel(UpdateChannelRequest)

Updates an existing Channel.

Public Method UpdateChannelAsync(UpdateChannelRequest, CancellationToken)

Updates an existing Channel.

Public Method UpdateOriginEndpoint(UpdateOriginEndpointRequest)

Updates an existing OriginEndpoint.

Public Method UpdateOriginEndpointAsync(UpdateOriginEndpointRequest, CancellationToken)

Updates an existing OriginEndpoint.

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 Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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