libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

Description

Returns AWS resources for this environment.

Synopsis

Creating a Request

data DescribeEnvironmentResources Source #

Request to describe the resources in an environment.

See: newDescribeEnvironmentResources smart constructor.

Constructors

DescribeEnvironmentResources' 

Fields

  • environmentName :: Maybe Text

    The name of the environment to retrieve AWS resource usage data.

    Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

  • environmentId :: Maybe Text

    The ID of the environment to retrieve AWS resource usage data.

    Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

Instances

Instances details
Eq DescribeEnvironmentResources Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

Read DescribeEnvironmentResources Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

Show DescribeEnvironmentResources Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

Generic DescribeEnvironmentResources Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

Associated Types

type Rep DescribeEnvironmentResources :: Type -> Type #

NFData DescribeEnvironmentResources Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

Hashable DescribeEnvironmentResources Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

AWSRequest DescribeEnvironmentResources Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

ToHeaders DescribeEnvironmentResources Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

ToPath DescribeEnvironmentResources Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

ToQuery DescribeEnvironmentResources Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

type Rep DescribeEnvironmentResources Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

type Rep DescribeEnvironmentResources = D1 ('MetaData "DescribeEnvironmentResources" "Amazonka.ElasticBeanstalk.DescribeEnvironmentResources" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "DescribeEnvironmentResources'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "environmentId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))
type AWSResponse DescribeEnvironmentResources Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

newDescribeEnvironmentResources :: DescribeEnvironmentResources Source #

Create a value of DescribeEnvironmentResources with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:environmentName:DescribeEnvironmentResources', describeEnvironmentResources_environmentName - The name of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

$sel:environmentId:DescribeEnvironmentResources', describeEnvironmentResources_environmentId - The ID of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

Request Lenses

describeEnvironmentResources_environmentName :: Lens' DescribeEnvironmentResources (Maybe Text) Source #

The name of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentId, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

describeEnvironmentResources_environmentId :: Lens' DescribeEnvironmentResources (Maybe Text) Source #

The ID of the environment to retrieve AWS resource usage data.

Condition: You must specify either this or an EnvironmentName, or both. If you do not specify either, AWS Elastic Beanstalk returns MissingRequiredParameter error.

Destructuring the Response

data DescribeEnvironmentResourcesResponse Source #

Result message containing a list of environment resource descriptions.

See: newDescribeEnvironmentResourcesResponse smart constructor.

Constructors

DescribeEnvironmentResourcesResponse' 

Fields

Instances

Instances details
Eq DescribeEnvironmentResourcesResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

Read DescribeEnvironmentResourcesResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

Show DescribeEnvironmentResourcesResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

Generic DescribeEnvironmentResourcesResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

NFData DescribeEnvironmentResourcesResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

type Rep DescribeEnvironmentResourcesResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentResources

type Rep DescribeEnvironmentResourcesResponse = D1 ('MetaData "DescribeEnvironmentResourcesResponse" "Amazonka.ElasticBeanstalk.DescribeEnvironmentResources" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "DescribeEnvironmentResourcesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "environmentResources") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnvironmentResourceDescription)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDescribeEnvironmentResourcesResponse Source #

Create a value of DescribeEnvironmentResourcesResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:environmentResources:DescribeEnvironmentResourcesResponse', describeEnvironmentResourcesResponse_environmentResources - A list of EnvironmentResourceDescription.

$sel:httpStatus:DescribeEnvironmentResourcesResponse', describeEnvironmentResourcesResponse_httpStatus - The response's http status code.

Response Lenses