import { type WaiterResult } from "@smithy/core/client"; import type { HttpHandlerOptions as __HttpHandlerOptions, PaginationConfiguration, Paginator, WaiterConfiguration } from "@smithy/types"; import { type CancelHarvestJobCommandInput, type CancelHarvestJobCommandOutput } from "./commands/CancelHarvestJobCommand"; import { type CreateChannelCommandInput, type CreateChannelCommandOutput } from "./commands/CreateChannelCommand"; import { type CreateChannelGroupCommandInput, type CreateChannelGroupCommandOutput } from "./commands/CreateChannelGroupCommand"; import { type CreateHarvestJobCommandInput, type CreateHarvestJobCommandOutput } from "./commands/CreateHarvestJobCommand"; import { type CreateOriginEndpointCommandInput, type CreateOriginEndpointCommandOutput } from "./commands/CreateOriginEndpointCommand"; import { type DeleteChannelCommandInput, type DeleteChannelCommandOutput } from "./commands/DeleteChannelCommand"; import { type DeleteChannelGroupCommandInput, type DeleteChannelGroupCommandOutput } from "./commands/DeleteChannelGroupCommand"; import { type DeleteChannelPolicyCommandInput, type DeleteChannelPolicyCommandOutput } from "./commands/DeleteChannelPolicyCommand"; import { type DeleteOriginEndpointCommandInput, type DeleteOriginEndpointCommandOutput } from "./commands/DeleteOriginEndpointCommand"; import { type DeleteOriginEndpointPolicyCommandInput, type DeleteOriginEndpointPolicyCommandOutput } from "./commands/DeleteOriginEndpointPolicyCommand"; import { type GetChannelCommandInput, type GetChannelCommandOutput } from "./commands/GetChannelCommand"; import { type GetChannelGroupCommandInput, type GetChannelGroupCommandOutput } from "./commands/GetChannelGroupCommand"; import { type GetChannelPolicyCommandInput, type GetChannelPolicyCommandOutput } from "./commands/GetChannelPolicyCommand"; import { type GetHarvestJobCommandInput, type GetHarvestJobCommandOutput } from "./commands/GetHarvestJobCommand"; import { type GetOriginEndpointCommandInput, type GetOriginEndpointCommandOutput } from "./commands/GetOriginEndpointCommand"; import { type GetOriginEndpointPolicyCommandInput, type GetOriginEndpointPolicyCommandOutput } from "./commands/GetOriginEndpointPolicyCommand"; import { type ListChannelGroupsCommandInput, type ListChannelGroupsCommandOutput } from "./commands/ListChannelGroupsCommand"; import { type ListChannelsCommandInput, type ListChannelsCommandOutput } from "./commands/ListChannelsCommand"; import { type ListHarvestJobsCommandInput, type ListHarvestJobsCommandOutput } from "./commands/ListHarvestJobsCommand"; import { type ListOriginEndpointsCommandInput, type ListOriginEndpointsCommandOutput } from "./commands/ListOriginEndpointsCommand"; import { type ListTagsForResourceCommandInput, type ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand"; import { type PutChannelPolicyCommandInput, type PutChannelPolicyCommandOutput } from "./commands/PutChannelPolicyCommand"; import { type PutOriginEndpointPolicyCommandInput, type PutOriginEndpointPolicyCommandOutput } from "./commands/PutOriginEndpointPolicyCommand"; import { type ResetChannelStateCommandInput, type ResetChannelStateCommandOutput } from "./commands/ResetChannelStateCommand"; import { type ResetOriginEndpointStateCommandInput, type ResetOriginEndpointStateCommandOutput } from "./commands/ResetOriginEndpointStateCommand"; import { type TagResourceCommandInput, type TagResourceCommandOutput } from "./commands/TagResourceCommand"; import { type UntagResourceCommandInput, type UntagResourceCommandOutput } from "./commands/UntagResourceCommand"; import { type UpdateChannelCommandInput, type UpdateChannelCommandOutput } from "./commands/UpdateChannelCommand"; import { type UpdateChannelGroupCommandInput, type UpdateChannelGroupCommandOutput } from "./commands/UpdateChannelGroupCommand"; import { type UpdateOriginEndpointCommandInput, type UpdateOriginEndpointCommandOutput } from "./commands/UpdateOriginEndpointCommand"; import { MediaPackageV2Client } from "./MediaPackageV2Client"; export interface MediaPackageV2 { /** * @see {@link CancelHarvestJobCommand} */ cancelHarvestJob(args: CancelHarvestJobCommandInput, options?: __HttpHandlerOptions): Promise; cancelHarvestJob(args: CancelHarvestJobCommandInput, cb: (err: any, data?: CancelHarvestJobCommandOutput) => void): void; cancelHarvestJob(args: CancelHarvestJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CancelHarvestJobCommandOutput) => void): void; /** * @see {@link CreateChannelCommand} */ createChannel(args: CreateChannelCommandInput, options?: __HttpHandlerOptions): Promise; createChannel(args: CreateChannelCommandInput, cb: (err: any, data?: CreateChannelCommandOutput) => void): void; createChannel(args: CreateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateChannelCommandOutput) => void): void; /** * @see {@link CreateChannelGroupCommand} */ createChannelGroup(args: CreateChannelGroupCommandInput, options?: __HttpHandlerOptions): Promise; createChannelGroup(args: CreateChannelGroupCommandInput, cb: (err: any, data?: CreateChannelGroupCommandOutput) => void): void; createChannelGroup(args: CreateChannelGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateChannelGroupCommandOutput) => void): void; /** * @see {@link CreateHarvestJobCommand} */ createHarvestJob(args: CreateHarvestJobCommandInput, options?: __HttpHandlerOptions): Promise; createHarvestJob(args: CreateHarvestJobCommandInput, cb: (err: any, data?: CreateHarvestJobCommandOutput) => void): void; createHarvestJob(args: CreateHarvestJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateHarvestJobCommandOutput) => void): void; /** * @see {@link CreateOriginEndpointCommand} */ createOriginEndpoint(args: CreateOriginEndpointCommandInput, options?: __HttpHandlerOptions): Promise; createOriginEndpoint(args: CreateOriginEndpointCommandInput, cb: (err: any, data?: CreateOriginEndpointCommandOutput) => void): void; createOriginEndpoint(args: CreateOriginEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateOriginEndpointCommandOutput) => void): void; /** * @see {@link DeleteChannelCommand} */ deleteChannel(args: DeleteChannelCommandInput, options?: __HttpHandlerOptions): Promise; deleteChannel(args: DeleteChannelCommandInput, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void; deleteChannel(args: DeleteChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelCommandOutput) => void): void; /** * @see {@link DeleteChannelGroupCommand} */ deleteChannelGroup(args: DeleteChannelGroupCommandInput, options?: __HttpHandlerOptions): Promise; deleteChannelGroup(args: DeleteChannelGroupCommandInput, cb: (err: any, data?: DeleteChannelGroupCommandOutput) => void): void; deleteChannelGroup(args: DeleteChannelGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelGroupCommandOutput) => void): void; /** * @see {@link DeleteChannelPolicyCommand} */ deleteChannelPolicy(args: DeleteChannelPolicyCommandInput, options?: __HttpHandlerOptions): Promise; deleteChannelPolicy(args: DeleteChannelPolicyCommandInput, cb: (err: any, data?: DeleteChannelPolicyCommandOutput) => void): void; deleteChannelPolicy(args: DeleteChannelPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteChannelPolicyCommandOutput) => void): void; /** * @see {@link DeleteOriginEndpointCommand} */ deleteOriginEndpoint(args: DeleteOriginEndpointCommandInput, options?: __HttpHandlerOptions): Promise; deleteOriginEndpoint(args: DeleteOriginEndpointCommandInput, cb: (err: any, data?: DeleteOriginEndpointCommandOutput) => void): void; deleteOriginEndpoint(args: DeleteOriginEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteOriginEndpointCommandOutput) => void): void; /** * @see {@link DeleteOriginEndpointPolicyCommand} */ deleteOriginEndpointPolicy(args: DeleteOriginEndpointPolicyCommandInput, options?: __HttpHandlerOptions): Promise; deleteOriginEndpointPolicy(args: DeleteOriginEndpointPolicyCommandInput, cb: (err: any, data?: DeleteOriginEndpointPolicyCommandOutput) => void): void; deleteOriginEndpointPolicy(args: DeleteOriginEndpointPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteOriginEndpointPolicyCommandOutput) => void): void; /** * @see {@link GetChannelCommand} */ getChannel(args: GetChannelCommandInput, options?: __HttpHandlerOptions): Promise; getChannel(args: GetChannelCommandInput, cb: (err: any, data?: GetChannelCommandOutput) => void): void; getChannel(args: GetChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelCommandOutput) => void): void; /** * @see {@link GetChannelGroupCommand} */ getChannelGroup(args: GetChannelGroupCommandInput, options?: __HttpHandlerOptions): Promise; getChannelGroup(args: GetChannelGroupCommandInput, cb: (err: any, data?: GetChannelGroupCommandOutput) => void): void; getChannelGroup(args: GetChannelGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelGroupCommandOutput) => void): void; /** * @see {@link GetChannelPolicyCommand} */ getChannelPolicy(args: GetChannelPolicyCommandInput, options?: __HttpHandlerOptions): Promise; getChannelPolicy(args: GetChannelPolicyCommandInput, cb: (err: any, data?: GetChannelPolicyCommandOutput) => void): void; getChannelPolicy(args: GetChannelPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetChannelPolicyCommandOutput) => void): void; /** * @see {@link GetHarvestJobCommand} */ getHarvestJob(args: GetHarvestJobCommandInput, options?: __HttpHandlerOptions): Promise; getHarvestJob(args: GetHarvestJobCommandInput, cb: (err: any, data?: GetHarvestJobCommandOutput) => void): void; getHarvestJob(args: GetHarvestJobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetHarvestJobCommandOutput) => void): void; /** * @see {@link GetOriginEndpointCommand} */ getOriginEndpoint(args: GetOriginEndpointCommandInput, options?: __HttpHandlerOptions): Promise; getOriginEndpoint(args: GetOriginEndpointCommandInput, cb: (err: any, data?: GetOriginEndpointCommandOutput) => void): void; getOriginEndpoint(args: GetOriginEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOriginEndpointCommandOutput) => void): void; /** * @see {@link GetOriginEndpointPolicyCommand} */ getOriginEndpointPolicy(args: GetOriginEndpointPolicyCommandInput, options?: __HttpHandlerOptions): Promise; getOriginEndpointPolicy(args: GetOriginEndpointPolicyCommandInput, cb: (err: any, data?: GetOriginEndpointPolicyCommandOutput) => void): void; getOriginEndpointPolicy(args: GetOriginEndpointPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetOriginEndpointPolicyCommandOutput) => void): void; /** * @see {@link ListChannelGroupsCommand} */ listChannelGroups(): Promise; listChannelGroups(args: ListChannelGroupsCommandInput, options?: __HttpHandlerOptions): Promise; listChannelGroups(args: ListChannelGroupsCommandInput, cb: (err: any, data?: ListChannelGroupsCommandOutput) => void): void; listChannelGroups(args: ListChannelGroupsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelGroupsCommandOutput) => void): void; /** * @see {@link ListChannelsCommand} */ listChannels(args: ListChannelsCommandInput, options?: __HttpHandlerOptions): Promise; listChannels(args: ListChannelsCommandInput, cb: (err: any, data?: ListChannelsCommandOutput) => void): void; listChannels(args: ListChannelsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListChannelsCommandOutput) => void): void; /** * @see {@link ListHarvestJobsCommand} */ listHarvestJobs(args: ListHarvestJobsCommandInput, options?: __HttpHandlerOptions): Promise; listHarvestJobs(args: ListHarvestJobsCommandInput, cb: (err: any, data?: ListHarvestJobsCommandOutput) => void): void; listHarvestJobs(args: ListHarvestJobsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListHarvestJobsCommandOutput) => void): void; /** * @see {@link ListOriginEndpointsCommand} */ listOriginEndpoints(args: ListOriginEndpointsCommandInput, options?: __HttpHandlerOptions): Promise; listOriginEndpoints(args: ListOriginEndpointsCommandInput, cb: (err: any, data?: ListOriginEndpointsCommandOutput) => void): void; listOriginEndpoints(args: ListOriginEndpointsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOriginEndpointsCommandOutput) => void): void; /** * @see {@link ListTagsForResourceCommand} */ listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise; listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void; /** * @see {@link PutChannelPolicyCommand} */ putChannelPolicy(args: PutChannelPolicyCommandInput, options?: __HttpHandlerOptions): Promise; putChannelPolicy(args: PutChannelPolicyCommandInput, cb: (err: any, data?: PutChannelPolicyCommandOutput) => void): void; putChannelPolicy(args: PutChannelPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutChannelPolicyCommandOutput) => void): void; /** * @see {@link PutOriginEndpointPolicyCommand} */ putOriginEndpointPolicy(args: PutOriginEndpointPolicyCommandInput, options?: __HttpHandlerOptions): Promise; putOriginEndpointPolicy(args: PutOriginEndpointPolicyCommandInput, cb: (err: any, data?: PutOriginEndpointPolicyCommandOutput) => void): void; putOriginEndpointPolicy(args: PutOriginEndpointPolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutOriginEndpointPolicyCommandOutput) => void): void; /** * @see {@link ResetChannelStateCommand} */ resetChannelState(args: ResetChannelStateCommandInput, options?: __HttpHandlerOptions): Promise; resetChannelState(args: ResetChannelStateCommandInput, cb: (err: any, data?: ResetChannelStateCommandOutput) => void): void; resetChannelState(args: ResetChannelStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResetChannelStateCommandOutput) => void): void; /** * @see {@link ResetOriginEndpointStateCommand} */ resetOriginEndpointState(args: ResetOriginEndpointStateCommandInput, options?: __HttpHandlerOptions): Promise; resetOriginEndpointState(args: ResetOriginEndpointStateCommandInput, cb: (err: any, data?: ResetOriginEndpointStateCommandOutput) => void): void; resetOriginEndpointState(args: ResetOriginEndpointStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ResetOriginEndpointStateCommandOutput) => void): void; /** * @see {@link TagResourceCommand} */ tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise; tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void; tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void; /** * @see {@link UntagResourceCommand} */ untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise; untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void; /** * @see {@link UpdateChannelCommand} */ updateChannel(args: UpdateChannelCommandInput, options?: __HttpHandlerOptions): Promise; updateChannel(args: UpdateChannelCommandInput, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void; updateChannel(args: UpdateChannelCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateChannelCommandOutput) => void): void; /** * @see {@link UpdateChannelGroupCommand} */ updateChannelGroup(args: UpdateChannelGroupCommandInput, options?: __HttpHandlerOptions): Promise; updateChannelGroup(args: UpdateChannelGroupCommandInput, cb: (err: any, data?: UpdateChannelGroupCommandOutput) => void): void; updateChannelGroup(args: UpdateChannelGroupCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateChannelGroupCommandOutput) => void): void; /** * @see {@link UpdateOriginEndpointCommand} */ updateOriginEndpoint(args: UpdateOriginEndpointCommandInput, options?: __HttpHandlerOptions): Promise; updateOriginEndpoint(args: UpdateOriginEndpointCommandInput, cb: (err: any, data?: UpdateOriginEndpointCommandOutput) => void): void; updateOriginEndpoint(args: UpdateOriginEndpointCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateOriginEndpointCommandOutput) => void): void; /** * @see {@link ListChannelGroupsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListChannelGroupsCommandOutput}. */ paginateListChannelGroups(args?: ListChannelGroupsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListChannelsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListChannelsCommandOutput}. */ paginateListChannels(args: ListChannelsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListHarvestJobsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListHarvestJobsCommandOutput}. */ paginateListHarvestJobs(args: ListHarvestJobsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link ListOriginEndpointsCommand} * @param args - command input. * @param paginationConfig - optional pagination config. * @returns AsyncIterable of {@link ListOriginEndpointsCommandOutput}. */ paginateListOriginEndpoints(args: ListOriginEndpointsCommandInput, paginationConfig?: Omit): Paginator; /** * @see {@link GetHarvestJobCommand} * @param args - command input. * @param waiterConfig - `maxWaitTime` in seconds or waiter config object. */ waitUntilHarvestJobFinished(args: GetHarvestJobCommandInput, waiterConfig: number | Omit, "client">): Promise>; } /** *

This guide is intended for creating AWS Elemental MediaPackage resources in MediaPackage Version 2 (v2) starting from May 2023. To get started with MediaPackage v2, create your MediaPackage resources. There isn't an automated process to migrate your resources from MediaPackage v1 to MediaPackage v2.

The names of the entities that you use to access this API, like URLs and ARNs, all have the versioning information added, like "v2", to distinguish from the prior version. If you used MediaPackage prior to this release, you can't use the MediaPackage v2 CLI or the MediaPackage v2 API to access any MediaPackage v1 resources.

If you created resources in MediaPackage v1, use video on demand (VOD) workflows, and aren't looking to migrate to MediaPackage v2 yet, see the MediaPackage v1 Live API Reference.

This is the AWS Elemental MediaPackage v2 Live REST API Reference. It describes all the MediaPackage API operations for live content in detail, and provides sample requests, responses, and errors for the supported web services protocols.

We assume that you have the IAM permissions that you need to use MediaPackage via the REST API. We also assume that you are familiar with the features and operations of MediaPackage, as described in the AWS Elemental MediaPackage User Guide.

* @public */ export declare class MediaPackageV2 extends MediaPackageV2Client implements MediaPackageV2 { }