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.Types.StatusCodes

Description

 
Synopsis

Documentation

data StatusCodes Source #

Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response. For more information, see Status Code Definitions.

See: newStatusCodes smart constructor.

Constructors

StatusCodes' 

Fields

  • status2xx :: Maybe Int

    The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.

  • status3xx :: Maybe Int

    The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.

  • status4xx :: Maybe Int

    The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.

  • status5xx :: Maybe Int

    The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.

Instances

Instances details
Eq StatusCodes Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.StatusCodes

Read StatusCodes Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.StatusCodes

Show StatusCodes Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.StatusCodes

Generic StatusCodes Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.StatusCodes

Associated Types

type Rep StatusCodes :: Type -> Type #

NFData StatusCodes Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.StatusCodes

Methods

rnf :: StatusCodes -> () #

Hashable StatusCodes Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.StatusCodes

FromXML StatusCodes Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.StatusCodes

type Rep StatusCodes Source # 
Instance details

Defined in Amazonka.ElasticBeanstalk.Types.StatusCodes

type Rep StatusCodes = D1 ('MetaData "StatusCodes" "Amazonka.ElasticBeanstalk.Types.StatusCodes" "libZSservicesZSamazonka-elasticbeanstalkZSamazonka-elasticbeanstalk" 'False) (C1 ('MetaCons "StatusCodes'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status2xx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "status3xx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "status4xx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "status5xx") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newStatusCodes :: StatusCodes Source #

Create a value of StatusCodes 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:status2xx:StatusCodes', statusCodes_status2xx - The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.

$sel:status3xx:StatusCodes', statusCodes_status3xx - The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.

$sel:status4xx:StatusCodes', statusCodes_status4xx - The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.

$sel:status5xx:StatusCodes', statusCodes_status5xx - The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.

statusCodes_status2xx :: Lens' StatusCodes (Maybe Int) Source #

The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.

statusCodes_status3xx :: Lens' StatusCodes (Maybe Int) Source #

The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.

statusCodes_status4xx :: Lens' StatusCodes (Maybe Int) Source #

The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.

statusCodes_status5xx :: Lens' StatusCodes (Maybe Int) Source #

The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.