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

Gets a real-time log configuration.

To get 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 get.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { CloudFrontClient, GetRealtimeLogConfigCommand } from "@aws-sdk/client-cloudfront"; // ES Modules import * // const { CloudFrontClient, GetRealtimeLogConfigCommand } = require("@aws-sdk/client-cloudfront"); // CommonJS import * const client = new CloudFrontClient(config); * const input = { // GetRealtimeLogConfigRequest * Name: "STRING_VALUE", * ARN: "STRING_VALUE", * }; * const command = new GetRealtimeLogConfigCommand(input); * const response = await client.send(command); * // { // GetRealtimeLogConfigResult * // RealtimeLogConfig: { // RealtimeLogConfig * // ARN: "STRING_VALUE", // required * // Name: "STRING_VALUE", // required * // SamplingRate: Number("long"), // required * // EndPoints: [ // EndPointList // required * // { // EndPoint * // StreamType: "STRING_VALUE", // required * // KinesisStreamConfig: { // KinesisStreamConfig * // RoleARN: "STRING_VALUE", // required * // StreamARN: "STRING_VALUE", // required * // }, * // }, * // ], * // Fields: [ // FieldList // required * // "STRING_VALUE", * // ], * // }, * // }; * * ``` * * @param GetRealtimeLogConfigCommandInput - {@link GetRealtimeLogConfigCommandInput} * @returns {@link GetRealtimeLogConfigCommandOutput} * @see {@link GetRealtimeLogConfigCommandInput} for command's `input` shape. * @see {@link GetRealtimeLogConfigCommandOutput} 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 CloudFrontServiceException} *

Base exception class for all service exceptions from CloudFront service.

* * * @public */ export declare class GetRealtimeLogConfigCommand extends GetRealtimeLogConfigCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetRealtimeLogConfigRequest; output: GetRealtimeLogConfigResult; }; sdk: { input: GetRealtimeLogConfigCommandInput; output: GetRealtimeLogConfigCommandOutput; }; }; }