import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { RequestEnvironmentInfoMessage } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link RequestEnvironmentInfoCommand}. */ export interface RequestEnvironmentInfoCommandInput extends RequestEnvironmentInfoMessage { } /** * @public * * The output of {@link RequestEnvironmentInfoCommand}. */ export interface RequestEnvironmentInfoCommandOutput extends __MetadataBearer { } declare const RequestEnvironmentInfoCommand_base: { new (input: RequestEnvironmentInfoCommandInput): import("@smithy/core/client").CommandImpl; new (input: RequestEnvironmentInfoCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Initiates a request to compile the specified type of information of the deployed environment.

*

Setting the InfoType to tail compiles the last lines from the application server log files of every Amazon EC2 instance in * your environment.

*

Setting the InfoType to bundle compresses the application server log files for every Amazon EC2 instance into a * .zip file. Legacy and .NET containers do not support bundle logs.

*

Setting the InfoType to analyze collects recent events, instance health, and logs from your environment and sends them to * Amazon Bedrock in your account to generate diagnostic insights and recommended next steps.

*

Use RetrieveEnvironmentInfo to obtain the set of logs.

*

Related Topics

* * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElasticBeanstalkClient, RequestEnvironmentInfoCommand } from "@aws-sdk/client-elastic-beanstalk"; // ES Modules import * // const { ElasticBeanstalkClient, RequestEnvironmentInfoCommand } = require("@aws-sdk/client-elastic-beanstalk"); // CommonJS import * // import type { ElasticBeanstalkClientConfig } from "@aws-sdk/client-elastic-beanstalk"; * const config = {}; // type is ElasticBeanstalkClientConfig * const client = new ElasticBeanstalkClient(config); * const input = { // RequestEnvironmentInfoMessage * EnvironmentId: "STRING_VALUE", * EnvironmentName: "STRING_VALUE", * InfoType: "tail" || "bundle" || "analyze", // required * }; * const command = new RequestEnvironmentInfoCommand(input); * const response = await client.send(command); * // {}; * * ``` * * @param RequestEnvironmentInfoCommandInput - {@link RequestEnvironmentInfoCommandInput} * @returns {@link RequestEnvironmentInfoCommandOutput} * @see {@link RequestEnvironmentInfoCommandInput} for command's `input` shape. * @see {@link RequestEnvironmentInfoCommandOutput} for command's `response` shape. * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape. * * @throws {@link ElasticBeanstalkSyntheticServiceException} *

Base exception class for all service exceptions from ElasticBeanstalk service.

* * * @example To request tailed logs * ```javascript * // The following operation requests logs from an environment named my-env: * const input = { * EnvironmentName: "my-env", * InfoType: "tail" * }; * const command = new RequestEnvironmentInfoCommand(input); * const response = await client.send(command); * /* response is * { /* metadata only *\/ } * *\/ * ``` * * @public */ export declare class RequestEnvironmentInfoCommand extends RequestEnvironmentInfoCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RequestEnvironmentInfoMessage; output: {}; }; sdk: { input: RequestEnvironmentInfoCommandInput; output: RequestEnvironmentInfoCommandOutput; }; }; }