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.
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.
For .NET Core this operation is only available in asynchronous form. Please refer to UpdateChannelAsync.
Namespace: Amazon.MediaPackageV2
Assembly: AWSSDK.MediaPackageV2.dll
Version: 3.x.y.z
public virtual UpdateChannelResponse UpdateChannel( UpdateChannelRequest request )
Container for the necessary parameters to execute the UpdateChannel 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. |
ConflictException | Updating or deleting this resource can cause an inconsistent state. |
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