import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreatePackagingGroupRequest, CreatePackagingGroupResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreatePackagingGroupCommand}. */ export interface CreatePackagingGroupCommandInput extends CreatePackagingGroupRequest { } /** * @public * * The output of {@link CreatePackagingGroupCommand}. */ export interface CreatePackagingGroupCommandOutput extends CreatePackagingGroupResponse, __MetadataBearer { } declare const CreatePackagingGroupCommand_base: { new (input: CreatePackagingGroupCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreatePackagingGroupCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** * Creates a new MediaPackage VOD PackagingGroup resource. * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaPackageVodClient, CreatePackagingGroupCommand } from "@aws-sdk/client-mediapackage-vod"; // ES Modules import * // const { MediaPackageVodClient, CreatePackagingGroupCommand } = require("@aws-sdk/client-mediapackage-vod"); // CommonJS import * // import type { MediaPackageVodClientConfig } from "@aws-sdk/client-mediapackage-vod"; * const config = {}; // type is MediaPackageVodClientConfig * const client = new MediaPackageVodClient(config); * const input = { // CreatePackagingGroupRequest * Authorization: { // Authorization * CdnIdentifierSecret: "STRING_VALUE", // required * SecretsRoleArn: "STRING_VALUE", // required * }, * EgressAccessLogs: { // EgressAccessLogs * LogGroupName: "STRING_VALUE", * }, * Id: "STRING_VALUE", // required * Tags: { // Tags * "": "STRING_VALUE", * }, * }; * const command = new CreatePackagingGroupCommand(input); * const response = await client.send(command); * // { // CreatePackagingGroupResponse * // Arn: "STRING_VALUE", * // Authorization: { // Authorization * // CdnIdentifierSecret: "STRING_VALUE", // required * // SecretsRoleArn: "STRING_VALUE", // required * // }, * // CreatedAt: "STRING_VALUE", * // DomainName: "STRING_VALUE", * // EgressAccessLogs: { // EgressAccessLogs * // LogGroupName: "STRING_VALUE", * // }, * // Id: "STRING_VALUE", * // Tags: { // Tags * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param CreatePackagingGroupCommandInput - {@link CreatePackagingGroupCommandInput} * @returns {@link CreatePackagingGroupCommandOutput} * @see {@link CreatePackagingGroupCommandInput} for command's `input` shape. * @see {@link CreatePackagingGroupCommandOutput} for command's `response` shape. * @see {@link MediaPackageVodClientResolvedConfig | config} for MediaPackageVodClient's `config` shape. * * @throws {@link ForbiddenException} (client fault) * The client is not authorized to access the requested resource. * * @throws {@link InternalServerErrorException} (server fault) * An unexpected error occurred. * * @throws {@link NotFoundException} (client fault) * The requested resource does not exist. * * @throws {@link ServiceUnavailableException} (server fault) * An unexpected error occurred. * * @throws {@link TooManyRequestsException} (client fault) * The client has exceeded their resource or throttling limits. * * @throws {@link UnprocessableEntityException} (client fault) * The parameters sent in the request are not valid. * * @throws {@link MediaPackageVodServiceException} *

Base exception class for all service exceptions from MediaPackageVod service.

* * * @public */ export declare class CreatePackagingGroupCommand extends CreatePackagingGroupCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreatePackagingGroupRequest; output: CreatePackagingGroupResponse; }; sdk: { input: CreatePackagingGroupCommandInput; output: CreatePackagingGroupCommandOutput; }; }; }