import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { UpdateSourceLocationRequest, UpdateSourceLocationResponse } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link UpdateSourceLocationCommand}. */ export interface UpdateSourceLocationCommandInput extends UpdateSourceLocationRequest { } /** * @public * * The output of {@link UpdateSourceLocationCommand}. */ export interface UpdateSourceLocationCommandOutput extends UpdateSourceLocationResponse, __MetadataBearer { } declare const UpdateSourceLocationCommand_base: { new (input: UpdateSourceLocationCommandInput): import("@smithy/core/client").CommandImpl; new (input: UpdateSourceLocationCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Updates 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, UpdateSourceLocationCommand } from "@aws-sdk/client-mediatailor"; // ES Modules import * // const { MediaTailorClient, UpdateSourceLocationCommand } = 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 = { // UpdateSourceLocationRequest * 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 * }; * const command = new UpdateSourceLocationCommand(input); * const response = await client.send(command); * // { // UpdateSourceLocationResponse * // 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 UpdateSourceLocationCommandInput - {@link UpdateSourceLocationCommandInput} * @returns {@link UpdateSourceLocationCommandOutput} * @see {@link UpdateSourceLocationCommandInput} for command's `input` shape. * @see {@link UpdateSourceLocationCommandOutput} 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 UpdateSourceLocationCommand extends UpdateSourceLocationCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: UpdateSourceLocationRequest; output: UpdateSourceLocationResponse; }; sdk: { input: UpdateSourceLocationCommandInput; output: UpdateSourceLocationCommandOutput; }; }; }