import { Command as $Command } from "@smithy/smithy-client"; import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client"; import type { DescribeFlowLogsRequest, DescribeFlowLogsResult } from "../models/models_3"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link DescribeFlowLogsCommand}. */ export interface DescribeFlowLogsCommandInput extends DescribeFlowLogsRequest { } /** * @public * * The output of {@link DescribeFlowLogsCommand}. */ export interface DescribeFlowLogsCommandOutput extends DescribeFlowLogsResult, __MetadataBearer { } declare const DescribeFlowLogsCommand_base: { new (input: DescribeFlowLogsCommandInput): import("@smithy/smithy-client").CommandImpl; new (...[input]: [] | [DescribeFlowLogsCommandInput]): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Describes one or more flow logs.

*

To view the published flow log records, you must view the log destination. For example, * the CloudWatch Logs log group, the Amazon S3 bucket, or the Kinesis Data Firehose delivery stream.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, DescribeFlowLogsCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, DescribeFlowLogsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2"; * const config = {}; // type is EC2ClientConfig * const client = new EC2Client(config); * const input = { // DescribeFlowLogsRequest * DryRun: true || false, * Filter: [ // FilterList * { // Filter * Name: "STRING_VALUE", * Values: [ // ValueStringList * "STRING_VALUE", * ], * }, * ], * FlowLogIds: [ // FlowLogIdList * "STRING_VALUE", * ], * MaxResults: Number("int"), * NextToken: "STRING_VALUE", * }; * const command = new DescribeFlowLogsCommand(input); * const response = await client.send(command); * // { // DescribeFlowLogsResult * // FlowLogs: [ // FlowLogSet * // { // FlowLog * // CreationTime: new Date("TIMESTAMP"), * // DeliverLogsErrorMessage: "STRING_VALUE", * // DeliverLogsPermissionArn: "STRING_VALUE", * // DeliverCrossAccountRole: "STRING_VALUE", * // DeliverLogsStatus: "STRING_VALUE", * // FlowLogId: "STRING_VALUE", * // FlowLogStatus: "STRING_VALUE", * // LogGroupName: "STRING_VALUE", * // ResourceId: "STRING_VALUE", * // TrafficType: "ACCEPT" || "REJECT" || "ALL", * // LogDestinationType: "cloud-watch-logs" || "s3" || "kinesis-data-firehose", * // LogDestination: "STRING_VALUE", * // LogFormat: "STRING_VALUE", * // Tags: [ // TagList * // { // Tag * // Key: "STRING_VALUE", * // Value: "STRING_VALUE", * // }, * // ], * // MaxAggregationInterval: Number("int"), * // DestinationOptions: { // DestinationOptionsResponse * // FileFormat: "plain-text" || "parquet", * // HiveCompatiblePartitions: true || false, * // PerHourPartition: true || false, * // }, * // }, * // ], * // NextToken: "STRING_VALUE", * // }; * * ``` * * @param DescribeFlowLogsCommandInput - {@link DescribeFlowLogsCommandInput} * @returns {@link DescribeFlowLogsCommandOutput} * @see {@link DescribeFlowLogsCommandInput} for command's `input` shape. * @see {@link DescribeFlowLogsCommandOutput} for command's `response` shape. * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape. * * @throws {@link EC2ServiceException} *

Base exception class for all service exceptions from EC2 service.

* * * @public */ export declare class DescribeFlowLogsCommand extends DescribeFlowLogsCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeFlowLogsRequest; output: DescribeFlowLogsResult; }; sdk: { input: DescribeFlowLogsCommandInput; output: DescribeFlowLogsCommandOutput; }; }; }