import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { RetrieveEnvironmentInfoMessage, RetrieveEnvironmentInfoResultMessage } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link RetrieveEnvironmentInfoCommand}. */ export interface RetrieveEnvironmentInfoCommandInput extends RetrieveEnvironmentInfoMessage { } /** * @public * * The output of {@link RetrieveEnvironmentInfoCommand}. */ export interface RetrieveEnvironmentInfoCommandOutput extends RetrieveEnvironmentInfoResultMessage, __MetadataBearer { } declare const RetrieveEnvironmentInfoCommand_base: { new (input: RetrieveEnvironmentInfoCommandInput): import("@smithy/core/client").CommandImpl; new (input: RetrieveEnvironmentInfoCommandInput): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Retrieves the compiled information from a RequestEnvironmentInfo request.

*

Related Topics

* * @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElasticBeanstalkClient, RetrieveEnvironmentInfoCommand } from "@aws-sdk/client-elastic-beanstalk"; // ES Modules import * // const { ElasticBeanstalkClient, RetrieveEnvironmentInfoCommand } = 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 = { // RetrieveEnvironmentInfoMessage * EnvironmentId: "STRING_VALUE", * EnvironmentName: "STRING_VALUE", * InfoType: "tail" || "bundle" || "analyze", // required * }; * const command = new RetrieveEnvironmentInfoCommand(input); * const response = await client.send(command); * // { // RetrieveEnvironmentInfoResultMessage * // EnvironmentInfo: [ // EnvironmentInfoDescriptionList * // { // EnvironmentInfoDescription * // InfoType: "tail" || "bundle" || "analyze", * // Ec2InstanceId: "STRING_VALUE", * // SampleTimestamp: new Date("TIMESTAMP"), * // Message: "STRING_VALUE", * // }, * // ], * // }; * * ``` * * @param RetrieveEnvironmentInfoCommandInput - {@link RetrieveEnvironmentInfoCommandInput} * @returns {@link RetrieveEnvironmentInfoCommandOutput} * @see {@link RetrieveEnvironmentInfoCommandInput} for command's `input` shape. * @see {@link RetrieveEnvironmentInfoCommandOutput} 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 retrieve tailed logs * ```javascript * // The following operation retrieves a link to logs from an environment named my-env: * const input = { * EnvironmentName: "my-env", * InfoType: "tail" * }; * const command = new RetrieveEnvironmentInfoCommand(input); * const response = await client.send(command); * /* response is * { * EnvironmentInfo: [ * { * Ec2InstanceId: "i-09c1c867", * InfoType: "tail", * Message: "https://elasticbeanstalk-us-west-2-0123456789012.s3.amazonaws.com/resources/environments/logs/tail/e-fyqyju3yjs/i-09c1c867/TailLogs-1440109397703.out?AWSAccessKeyId=AKGPT4J56IAJ2EUBL5CQ&Expires=1440195891&Signature=n%2BEalOV6A2HIOx4Rcfb7LT16bBM%3D", * SampleTimestamp: "2015-08-20T22:23:17.703Z" * } * ] * } * *\/ * ``` * * @public */ export declare class RetrieveEnvironmentInfoCommand extends RetrieveEnvironmentInfoCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: RetrieveEnvironmentInfoMessage; output: RetrieveEnvironmentInfoResultMessage; }; sdk: { input: RetrieveEnvironmentInfoCommandInput; output: RetrieveEnvironmentInfoCommandOutput; }; }; }