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.
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
public abstract ListOriginEndpointsResponse ListOriginEndpoints( ListOriginEndpointsRequest request )
Container for the necessary parameters to execute the ListOriginEndpoints service method.
Exception | Condition |
---|---|
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. |
var client = new AmazonMediaPackageV2Client(); var response = client.CancelHarvestJob(new CancelHarvestJobRequest { ChannelGroupName = "exampleChannelGroup", ChannelName = "exampleChannelName", HarvestJobName = "HarvestJobName", OriginEndpointName = "exampleOriginEndpointName" });
.NET Framework:
Supported in: 4.5 and newer, 3.5