import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { CreateSourceLocationRequest, CreateSourceLocationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link CreateSourceLocationCommand}. */ export interface CreateSourceLocationCommandInput extends CreateSourceLocationRequest { } /** * @public * * The output of {@link CreateSourceLocationCommand}. */ export interface CreateSourceLocationCommandOutput extends CreateSourceLocationResponse, __MetadataBearer { } declare const CreateSourceLocationCommand_base: { new (input: CreateSourceLocationCommandInput): import("@smithy/core/client").CommandImpl; new (input: CreateSourceLocationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Creates a source location. A source location is a container for sources. For more information about source locations, see Working with source locations in the MediaTailor User Guide.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaTailorClient, CreateSourceLocationCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import * // const { MediaTailorClient, CreateSourceLocationCommand } = require("@aws-sdk/client-mediatailor"); // CommonJS import * // import type { MediaTailorClientConfig } from "@aws-sdk/client-mediatailor"; * const config = {}; // type is MediaTailorClientConfig * const client = new MediaTailorClient(config); * const input = { // CreateSourceLocationRequest * AccessConfiguration: { // AccessConfiguration * AccessType: "S3_SIGV4" || "SECRETS_MANAGER_ACCESS_TOKEN" || "AUTODETECT_SIGV4", * SecretsManagerAccessTokenConfiguration: { // SecretsManagerAccessTokenConfiguration * HeaderName: "STRING_VALUE", * SecretArn: "STRING_VALUE", * SecretStringKey: "STRING_VALUE", * }, * }, * DefaultSegmentDeliveryConfiguration: { // DefaultSegmentDeliveryConfiguration * BaseUrl: "STRING_VALUE", * }, * HttpConfiguration: { // HttpConfiguration * BaseUrl: "STRING_VALUE", // required * }, * SegmentDeliveryConfigurations: [ // __listOfSegmentDeliveryConfiguration * { // SegmentDeliveryConfiguration * BaseUrl: "STRING_VALUE", * Name: "STRING_VALUE", * }, * ], * SourceLocationName: "STRING_VALUE", // required * Tags: { // __mapOf__string * "": "STRING_VALUE", * }, * }; * const command = new CreateSourceLocationCommand(input); * const response = await client.send(command); * // { // CreateSourceLocationResponse * // AccessConfiguration: { // AccessConfiguration * // AccessType: "S3_SIGV4" || "SECRETS_MANAGER_ACCESS_TOKEN" || "AUTODETECT_SIGV4", * // SecretsManagerAccessTokenConfiguration: { // SecretsManagerAccessTokenConfiguration * // HeaderName: "STRING_VALUE", * // SecretArn: "STRING_VALUE", * // SecretStringKey: "STRING_VALUE", * // }, * // }, * // Arn: "STRING_VALUE", * // CreationTime: new Date("TIMESTAMP"), * // DefaultSegmentDeliveryConfiguration: { // DefaultSegmentDeliveryConfiguration * // BaseUrl: "STRING_VALUE", * // }, * // HttpConfiguration: { // HttpConfiguration * // BaseUrl: "STRING_VALUE", // required * // }, * // LastModifiedTime: new Date("TIMESTAMP"), * // SegmentDeliveryConfigurations: [ // __listOfSegmentDeliveryConfiguration * // { // SegmentDeliveryConfiguration * // BaseUrl: "STRING_VALUE", * // Name: "STRING_VALUE", * // }, * // ], * // SourceLocationName: "STRING_VALUE", * // Tags: { // __mapOf__string * // "": "STRING_VALUE", * // }, * // }; * * ``` * * @param CreateSourceLocationCommandInput - {@link CreateSourceLocationCommandInput} * @returns {@link CreateSourceLocationCommandOutput} * @see {@link CreateSourceLocationCommandInput} for command's `input` shape. * @see {@link CreateSourceLocationCommandOutput} for command's `response` shape. * @see {@link MediaTailorClientResolvedConfig | config} for MediaTailorClient's `config` shape. * * @throws {@link MediaTailorServiceException} *

Base exception class for all service exceptions from MediaTailor service.

* * * @public */ export declare class CreateSourceLocationCommand extends CreateSourceLocationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: CreateSourceLocationRequest; output: CreateSourceLocationResponse; }; sdk: { input: CreateSourceLocationCommandInput; output: CreateSourceLocationCommandOutput; }; }; }