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.

Retrieves all origin endpoints in a specific channel that are configured in AWS Elemental MediaPackage.

Note:

For .NET Core this operation is only available in asynchronous form. Please refer to ListOriginEndpointsAsync.

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

Syntax

C#
public abstract ListOriginEndpointsResponse ListOriginEndpoints(
         ListOriginEndpointsRequest request
)

Parameters

request
Type: Amazon.MediaPackageV2.Model.ListOriginEndpointsRequest

Container for the necessary parameters to execute the ListOriginEndpoints service method.

Return Value


The response from the ListOriginEndpoints service method, as returned by MediaPackageV2.

Exceptions

ExceptionCondition
AccessDeniedException 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.
InternalServerException Indicates that an error from the service occurred while trying to process a request.
ResourceNotFoundException The specified resource doesn't exist.
ThrottlingException The request throughput limit was exceeded.
ValidationException The input failed to meet the constraints specified by the AWS service.

Examples

Listing all OriginEndpoints


var client = new AmazonMediaPackageV2Client();
var response = client.CancelHarvestJob(new CancelHarvestJobRequest 
{
    ChannelGroupName = "exampleChannelGroup",
    ChannelName = "exampleChannelName",
    HarvestJobName = "HarvestJobName",
    OriginEndpointName = "exampleOriginEndpointName"
});


            

Version Information

.NET Framework:
Supported in: 4.5 and newer, 3.5

See Also