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 { GetFlowLogsIntegrationTemplateRequest, GetFlowLogsIntegrationTemplateResult } from "../models/models_6"; /** * @public */ export type { __MetadataBearer }; export { $Command }; /** * @public * * The input for {@link GetFlowLogsIntegrationTemplateCommand}. */ export interface GetFlowLogsIntegrationTemplateCommandInput extends GetFlowLogsIntegrationTemplateRequest { } /** * @public * * The output of {@link GetFlowLogsIntegrationTemplateCommand}. */ export interface GetFlowLogsIntegrationTemplateCommandOutput extends GetFlowLogsIntegrationTemplateResult, __MetadataBearer { } declare const GetFlowLogsIntegrationTemplateCommand_base: { new (input: GetFlowLogsIntegrationTemplateCommandInput): import("@smithy/smithy-client").CommandImpl; new (input: GetFlowLogsIntegrationTemplateCommandInput): import("@smithy/smithy-client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions; }; /** *

Generates a CloudFormation template that streamlines and automates the integration of VPC flow logs * with Amazon Athena. This make it easier for you to query and gain insights from VPC flow logs data. * Based on the information that you provide, we configure resources in the template to do the following:

* * *

* GetFlowLogsIntegrationTemplate does not support integration between * Amazon Web Services Transit Gateway Flow Logs and Amazon Athena.

*
* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { EC2Client, GetFlowLogsIntegrationTemplateCommand } from "@aws-sdk/client-ec2"; // ES Modules import * // const { EC2Client, GetFlowLogsIntegrationTemplateCommand } = 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 = { // GetFlowLogsIntegrationTemplateRequest * DryRun: true || false, * FlowLogId: "STRING_VALUE", // required * ConfigDeliveryS3DestinationArn: "STRING_VALUE", // required * IntegrateServices: { // IntegrateServices * AthenaIntegrations: [ // AthenaIntegrationsSet * { // AthenaIntegration * IntegrationResultS3DestinationArn: "STRING_VALUE", // required * PartitionLoadFrequency: "none" || "daily" || "weekly" || "monthly", // required * PartitionStartDate: new Date("TIMESTAMP"), * PartitionEndDate: new Date("TIMESTAMP"), * }, * ], * }, * }; * const command = new GetFlowLogsIntegrationTemplateCommand(input); * const response = await client.send(command); * // { // GetFlowLogsIntegrationTemplateResult * // Result: "STRING_VALUE", * // }; * * ``` * * @param GetFlowLogsIntegrationTemplateCommandInput - {@link GetFlowLogsIntegrationTemplateCommandInput} * @returns {@link GetFlowLogsIntegrationTemplateCommandOutput} * @see {@link GetFlowLogsIntegrationTemplateCommandInput} for command's `input` shape. * @see {@link GetFlowLogsIntegrationTemplateCommandOutput} 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 GetFlowLogsIntegrationTemplateCommand extends GetFlowLogsIntegrationTemplateCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: GetFlowLogsIntegrationTemplateRequest; output: GetFlowLogsIntegrationTemplateResult; }; sdk: { input: GetFlowLogsIntegrationTemplateCommandInput; output: GetFlowLogsIntegrationTemplateCommandOutput; }; }; }