import type { MetadataBearer as __MetadataBearer } from "@smithy/types"; import type { DescribeEnvironmentResourcesMessage, EnvironmentResourceDescriptionsMessage } from "../models/models_0"; /** * @public */ export type { __MetadataBearer }; /** * @public * * The input for {@link DescribeEnvironmentResourcesCommand}. */ export interface DescribeEnvironmentResourcesCommandInput extends DescribeEnvironmentResourcesMessage { } /** * @public * * The output of {@link DescribeEnvironmentResourcesCommand}. */ export interface DescribeEnvironmentResourcesCommandOutput extends EnvironmentResourceDescriptionsMessage, __MetadataBearer { } declare const DescribeEnvironmentResourcesCommand_base: { new (input: DescribeEnvironmentResourcesCommandInput): import("@smithy/core/client").CommandImpl; new (...[input]: [] | [DescribeEnvironmentResourcesCommandInput]): import("@smithy/core/client").CommandImpl; getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions; }; /** *

Returns Amazon Web Services resources for this environment.

* @example * Use a bare-bones client and the command you need to make an API call. * ```javascript * import { ElasticBeanstalkClient, DescribeEnvironmentResourcesCommand } from "@aws-sdk/client-elastic-beanstalk"; // ES Modules import * // const { ElasticBeanstalkClient, DescribeEnvironmentResourcesCommand } = 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 = { // DescribeEnvironmentResourcesMessage * EnvironmentId: "STRING_VALUE", * EnvironmentName: "STRING_VALUE", * }; * const command = new DescribeEnvironmentResourcesCommand(input); * const response = await client.send(command); * // { // EnvironmentResourceDescriptionsMessage * // EnvironmentResources: { // EnvironmentResourceDescription * // EnvironmentName: "STRING_VALUE", * // AutoScalingGroups: [ // AutoScalingGroupList * // { // AutoScalingGroup * // Name: "STRING_VALUE", * // }, * // ], * // Cluster: { // Cluster * // ClusterArn: "STRING_VALUE", * // }, * // Instances: [ // InstanceList * // { // Instance * // Id: "STRING_VALUE", * // }, * // ], * // LaunchConfigurations: [ // LaunchConfigurationList * // { // LaunchConfiguration * // Name: "STRING_VALUE", * // }, * // ], * // LaunchTemplates: [ // LaunchTemplateList * // { // LaunchTemplate * // Id: "STRING_VALUE", * // }, * // ], * // LoadBalancers: [ // LoadBalancerList * // { // LoadBalancer * // Name: "STRING_VALUE", * // }, * // ], * // Triggers: [ // TriggerList * // { // Trigger * // Name: "STRING_VALUE", * // }, * // ], * // Queues: [ // QueueList * // { // Queue * // Name: "STRING_VALUE", * // URL: "STRING_VALUE", * // }, * // ], * // }, * // }; * * ``` * * @param DescribeEnvironmentResourcesCommandInput - {@link DescribeEnvironmentResourcesCommandInput} * @returns {@link DescribeEnvironmentResourcesCommandOutput} * @see {@link DescribeEnvironmentResourcesCommandInput} for command's `input` shape. * @see {@link DescribeEnvironmentResourcesCommandOutput} for command's `response` shape. * @see {@link ElasticBeanstalkClientResolvedConfig | config} for ElasticBeanstalkClient's `config` shape. * * @throws {@link InsufficientPrivilegesException} (client fault) *

The specified account does not have sufficient privileges for one or more Amazon Web Services services.

* * @throws {@link ElasticBeanstalkSyntheticServiceException} *

Base exception class for all service exceptions from ElasticBeanstalk service.

* * * @example To view information about the AWS resources in your environment * ```javascript * // The following operation retrieves information about resources in an environment named my-env: * const input = { * EnvironmentName: "my-env" * }; * const command = new DescribeEnvironmentResourcesCommand(input); * const response = await client.send(command); * /* response is * { * EnvironmentResources: { * AutoScalingGroups: [ * { * Name: "awseb-e-qu3fyyjyjs-stack-AWSEBAutoScalingGroup-QSB2ZO88SXZT" * } * ], * EnvironmentName: "my-env", * Instances: [ * { * Id: "i-0c91c786" * } * ], * LaunchConfigurations: [ * { * Name: "awseb-e-qu3fyyjyjs-stack-AWSEBAutoScalingLaunchConfiguration-1UUVQIBC96TQ2" * } * ], * LoadBalancers: [ * { * Name: "awseb-e-q-AWSEBLoa-1EEPZ0K98BIF0" * } * ], * Queues: [], * Triggers: [] * } * } * *\/ * ``` * * @public */ export declare class DescribeEnvironmentResourcesCommand extends DescribeEnvironmentResourcesCommand_base { /** @internal type navigation helper, not in runtime. */ protected static __types: { api: { input: DescribeEnvironmentResourcesMessage; output: EnvironmentResourceDescriptionsMessage; }; sdk: { input: DescribeEnvironmentResourcesCommandInput; output: DescribeEnvironmentResourcesCommandOutput; }; }; }