import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { MediaStoreClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../MediaStoreClient"; import type { StopAccessLoggingInput, StopAccessLoggingOutput } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link StopAccessLoggingCommand}. */ export interface StopAccessLoggingCommandInput extends StopAccessLoggingInput { } /** * @public * * The output of {@link StopAccessLoggingCommand}. */ export interface StopAccessLoggingCommandOutput extends StopAccessLoggingOutput, __MetadataBearer { } declare const StopAccessLoggingCommand_base: { new (input: StopAccessLoggingCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: StopAccessLoggingCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Stops access logging on the specified container. When you stop access logging on a container, MediaStore stops sending access logs to Amazon CloudWatch Logs. These access logs are not saved and are not retrievable.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { MediaStoreClient, StopAccessLoggingCommand } from "@aws-sdk/client-mediastore"; // ES Modules import * // const { MediaStoreClient, StopAccessLoggingCommand } = require("@aws-sdk/client-mediastore"); // CommonJS import * // import type { MediaStoreClientConfig } from "@aws-sdk/client-mediastore"; * const config = {}; // type is MediaStoreClientConfig * const client = new MediaStoreClient(config); * const input = { // StopAccessLoggingInput * ContainerName: "STRING_VALUE", // required * }; * const command = new StopAccessLoggingCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param StopAccessLoggingCommandInput - {@link StopAccessLoggingCommandInput} * @returns {@link StopAccessLoggingCommandOutput} * @see {@link StopAccessLoggingCommandInput} for command's `input` shape. * @see {@link StopAccessLoggingCommandOutput} for command's `response` shape. * @see {@link MediaStoreClientResolvedConfig | config} for MediaStoreClient's `config` shape. * * @throws {@link ContainerInUseException} (client fault) *

The container that you specified in the request already exists or is being * updated.

* * @throws {@link ContainerNotFoundException} (client fault) *

The container that you specified in the request does not exist.

* * @throws {@link InternalServerError} (server fault) *

The service is temporarily unavailable.

* * @throws {@link MediaStoreServiceException} *

Base exception class for all service exceptions from MediaStore service.

* * * @public */ export declare class StopAccessLoggingCommand extends StopAccessLoggingCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: StopAccessLoggingInput; output: {}; }; sdk: { input: StopAccessLoggingCommandInput; output: StopAccessLoggingCommandOutput; }; }; }