import { Command as $Command } from "@smithy/smithy-client"; import { MetadataBearer as __MetadataBearer } from "@smithy/types"; import { CloudFrontClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudFrontClient"; import { DeleteRealtimeLogConfigRequest } from "../models/models_1"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DeleteRealtimeLogConfigCommand}. */ export interface DeleteRealtimeLogConfigCommandInput extends DeleteRealtimeLogConfigRequest { } /** * @public * * The output of {@link DeleteRealtimeLogConfigCommand}. */ export interface DeleteRealtimeLogConfigCommandOutput extends __MetadataBearer { } declare const DeleteRealtimeLogConfigCommand_base: { new (input: DeleteRealtimeLogConfigCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DeleteRealtimeLogConfigCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Deletes a real-time log configuration.

You cannot delete a real-time log configuration if it's attached to a cache behavior. First update your distributions to remove the real-time log configuration from all cache behaviors, then delete the real-time log configuration.

To delete a real-time log configuration, you can provide the configuration's name or its Amazon Resource Name (ARN). You must provide at least one. If you provide both, CloudFront uses the name to identify the real-time log configuration to delete.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudFrontClient, DeleteRealtimeLogConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import * // const { CloudFrontClient, DeleteRealtimeLogConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import * const client = new CloudFrontClient(config); * const input = { // DeleteRealtimeLogConfigRequest * Name: "STRING_VALUE", * ARN: "STRING_VALUE", * }; * const command = new DeleteRealtimeLogConfigCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param DeleteRealtimeLogConfigCommandInput - {@link DeleteRealtimeLogConfigCommandInput} * @returns {@link DeleteRealtimeLogConfigCommandOutput} * @see {@link DeleteRealtimeLogConfigCommandInput} for command's `input` shape. * @see {@link DeleteRealtimeLogConfigCommandOutput} for command's `response` shape. * @see {@link CloudFrontClientResolvedConfig | config} for CloudFrontClient's `config` shape. * * @throws {@link AccessDenied} (client fault) *

Access denied.

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

An argument is invalid.

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

The real-time log configuration does not exist.

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

Cannot delete the real-time log configuration because it is attached to one or more cache behaviors.

* * @throws {@link CloudFrontServiceException} *

Base exception class for all service exceptions from CloudFront service.

* * * @public */ export declare class DeleteRealtimeLogConfigCommand extends DeleteRealtimeLogConfigCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DeleteRealtimeLogConfigRequest; output: {}; }; sdk: { input: DeleteRealtimeLogConfigCommandInput; output: DeleteRealtimeLogConfigCommandOutput; }; }; }