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.DescribeEnvironmentHealth

Description

Returns information about the overall health of the specified environment. The DescribeEnvironmentHealth operation is only available with AWS Elastic Beanstalk Enhanced Health.

Synopsis

Creating a Request

data DescribeEnvironmentHealth Source #

See the example below to learn how to create a request body.

See: newDescribeEnvironmentHealth smart constructor.

Constructors

DescribeEnvironmentHealth' 

Fields

Instances

Instances details
Eq DescribeEnvironmentHealth Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

Read DescribeEnvironmentHealth Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

Show DescribeEnvironmentHealth Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

Generic DescribeEnvironmentHealth Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

Associated Types

type Rep DescribeEnvironmentHealth :: Type -> Type #

NFData DescribeEnvironmentHealth Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

Hashable DescribeEnvironmentHealth Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

AWSRequest DescribeEnvironmentHealth Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

ToHeaders DescribeEnvironmentHealth Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

ToPath DescribeEnvironmentHealth Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

ToQuery DescribeEnvironmentHealth Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

type Rep DescribeEnvironmentHealth Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

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

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

newDescribeEnvironmentHealth :: DescribeEnvironmentHealth Source #

Create a value of DescribeEnvironmentHealth 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:DescribeEnvironmentHealth', describeEnvironmentHealth_environmentName - Specify the environment by name.

You must specify either this or an EnvironmentName, or both.

$sel:attributeNames:DescribeEnvironmentHealth', describeEnvironmentHealth_attributeNames - Specify the response elements to return. To retrieve all attributes, set to All. If no attribute names are specified, returns the name of the environment.

$sel:environmentId:DescribeEnvironmentHealth', describeEnvironmentHealth_environmentId - Specify the environment by ID.

You must specify either this or an EnvironmentName, or both.

Request Lenses

describeEnvironmentHealth_environmentName :: Lens' DescribeEnvironmentHealth (Maybe Text) Source #

Specify the environment by name.

You must specify either this or an EnvironmentName, or both.

describeEnvironmentHealth_attributeNames :: Lens' DescribeEnvironmentHealth (Maybe [EnvironmentHealthAttribute]) Source #

Specify the response elements to return. To retrieve all attributes, set to All. If no attribute names are specified, returns the name of the environment.

describeEnvironmentHealth_environmentId :: Lens' DescribeEnvironmentHealth (Maybe Text) Source #

Specify the environment by ID.

You must specify either this or an EnvironmentName, or both.

Destructuring the Response

data DescribeEnvironmentHealthResponse Source #

Health details for an AWS Elastic Beanstalk environment.

See: newDescribeEnvironmentHealthResponse smart constructor.

Constructors

DescribeEnvironmentHealthResponse' 

Fields

Instances

Instances details
Eq DescribeEnvironmentHealthResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

Read DescribeEnvironmentHealthResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

Show DescribeEnvironmentHealthResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

Generic DescribeEnvironmentHealthResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

Associated Types

type Rep DescribeEnvironmentHealthResponse :: Type -> Type #

NFData DescribeEnvironmentHealthResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

type Rep DescribeEnvironmentHealthResponse Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth

type Rep DescribeEnvironmentHealthResponse = D1 ('MetaData "DescribeEnvironmentHealthResponse" "Amazonka.ElasticBeanstalk.DescribeEnvironmentHealth" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "DescribeEnvironmentHealthResponse'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe EnvironmentHealth)) :*: S1 ('MetaSel ('Just "causes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "applicationMetrics") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ApplicationMetrics)) :*: S1 ('MetaSel ('Just "color") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "environmentName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "healthStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "instancesHealth") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe InstanceHealthSummary)) :*: (S1 ('MetaSel ('Just "refreshedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ISO8601)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))))

newDescribeEnvironmentHealthResponse Source #

Create a value of DescribeEnvironmentHealthResponse 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:status:DescribeEnvironmentHealthResponse', describeEnvironmentHealthResponse_status - The environment's operational status. Ready, Launching, Updating, Terminating, or Terminated.

$sel:causes:DescribeEnvironmentHealthResponse', describeEnvironmentHealthResponse_causes - Descriptions of the data that contributed to the environment's current health status.

$sel:applicationMetrics:DescribeEnvironmentHealthResponse', describeEnvironmentHealthResponse_applicationMetrics - Application request metrics for the environment.

$sel:color:DescribeEnvironmentHealthResponse', describeEnvironmentHealthResponse_color - The health color of the environment.

$sel:environmentName:DescribeEnvironmentHealth', describeEnvironmentHealthResponse_environmentName - The environment's name.

$sel:healthStatus:DescribeEnvironmentHealthResponse', describeEnvironmentHealthResponse_healthStatus - The health status of the environment. For example, Ok.

$sel:instancesHealth:DescribeEnvironmentHealthResponse', describeEnvironmentHealthResponse_instancesHealth - Summary health information for the instances in the environment.

$sel:refreshedAt:DescribeEnvironmentHealthResponse', describeEnvironmentHealthResponse_refreshedAt - The date and time that the health information was retrieved.

$sel:httpStatus:DescribeEnvironmentHealthResponse', describeEnvironmentHealthResponse_httpStatus - The response's http status code.

Response Lenses

describeEnvironmentHealthResponse_status :: Lens' DescribeEnvironmentHealthResponse (Maybe EnvironmentHealth) Source #

The environment's operational status. Ready, Launching, Updating, Terminating, or Terminated.

describeEnvironmentHealthResponse_causes :: Lens' DescribeEnvironmentHealthResponse (Maybe [Text]) Source #

Descriptions of the data that contributed to the environment's current health status.

describeEnvironmentHealthResponse_refreshedAt :: Lens' DescribeEnvironmentHealthResponse (Maybe UTCTime) Source #

The date and time that the health information was retrieved.