amazonka-elasticbeanstalk-1.6.1: Amazon Elastic Beanstalk SDK.

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

Network.AWS.ElasticBeanstalk.DescribeEvents

Contents

Description

Returns list of event descriptions matching criteria up to the last 6 weeks.

This operation returns paginated results.

Synopsis

Creating a Request

describeEvents :: DescribeEvents Source #

Creates a value of DescribeEvents with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • deRequestId - If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.
  • deTemplateName - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
  • deStartTime - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
  • deSeverity - If specified, limits the events returned from this call to include only those with the specified severity or higher.
  • deNextToken - Pagination token. If specified, the events return the next batch of results.
  • deVersionLabel - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.
  • dePlatformARN - The ARN of the version of the custom platform.
  • deEnvironmentName - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
  • deMaxRecords - Specifies the maximum number of events that can be returned, beginning with the most recent event.
  • deEndTime - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the EndTime .
  • deApplicationName - If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.
  • deEnvironmentId - If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.

data DescribeEvents Source #

Request to retrieve a list of events for an environment.

See: describeEvents smart constructor.

Instances
Eq DescribeEvents Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

Data DescribeEvents Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeEvents -> c DescribeEvents #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeEvents #

toConstr :: DescribeEvents -> Constr #

dataTypeOf :: DescribeEvents -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeEvents) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeEvents) #

gmapT :: (forall b. Data b => b -> b) -> DescribeEvents -> DescribeEvents #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeEvents -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeEvents -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeEvents -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeEvents -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeEvents -> m DescribeEvents #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeEvents -> m DescribeEvents #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeEvents -> m DescribeEvents #

Read DescribeEvents Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

Show DescribeEvents Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

Generic DescribeEvents Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

Associated Types

type Rep DescribeEvents :: Type -> Type #

Hashable DescribeEvents Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

AWSPager DescribeEvents Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

AWSRequest DescribeEvents Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

Associated Types

type Rs DescribeEvents :: Type #

ToHeaders DescribeEvents Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

ToPath DescribeEvents Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

ToQuery DescribeEvents Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

NFData DescribeEvents Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

Methods

rnf :: DescribeEvents -> () #

type Rep DescribeEvents Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

type Rep DescribeEvents = D1 (MetaData "DescribeEvents" "Network.AWS.ElasticBeanstalk.DescribeEvents" "amazonka-elasticbeanstalk-1.6.1-3CoYM4SK8sc46jAbvlY69V" False) (C1 (MetaCons "DescribeEvents'" PrefixI True) (((S1 (MetaSel (Just "_deRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_deTemplateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_deStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)))) :*: (S1 (MetaSel (Just "_deSeverity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe EventSeverity)) :*: (S1 (MetaSel (Just "_deNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_deVersionLabel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) :*: ((S1 (MetaSel (Just "_dePlatformARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_deEnvironmentName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_deMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))) :*: (S1 (MetaSel (Just "_deEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ISO8601)) :*: (S1 (MetaSel (Just "_deApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_deEnvironmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))
type Rs DescribeEvents Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

Request Lenses

deRequestId :: Lens' DescribeEvents (Maybe Text) Source #

If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.

deTemplateName :: Lens' DescribeEvents (Maybe Text) Source #

If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.

deStartTime :: Lens' DescribeEvents (Maybe UTCTime) Source #

If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.

deSeverity :: Lens' DescribeEvents (Maybe EventSeverity) Source #

If specified, limits the events returned from this call to include only those with the specified severity or higher.

deNextToken :: Lens' DescribeEvents (Maybe Text) Source #

Pagination token. If specified, the events return the next batch of results.

deVersionLabel :: Lens' DescribeEvents (Maybe Text) Source #

If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.

dePlatformARN :: Lens' DescribeEvents (Maybe Text) Source #

The ARN of the version of the custom platform.

deEnvironmentName :: Lens' DescribeEvents (Maybe Text) Source #

If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.

deMaxRecords :: Lens' DescribeEvents (Maybe Natural) Source #

Specifies the maximum number of events that can be returned, beginning with the most recent event.

deEndTime :: Lens' DescribeEvents (Maybe UTCTime) Source #

If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the EndTime .

deApplicationName :: Lens' DescribeEvents (Maybe Text) Source #

If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.

deEnvironmentId :: Lens' DescribeEvents (Maybe Text) Source #

If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.

Destructuring the Response

describeEventsResponse Source #

Creates a value of DescribeEventsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data DescribeEventsResponse Source #

Result message wrapping a list of event descriptions.

See: describeEventsResponse smart constructor.

Instances
Eq DescribeEventsResponse Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

Data DescribeEventsResponse Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeEventsResponse -> c DescribeEventsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeEventsResponse #

toConstr :: DescribeEventsResponse -> Constr #

dataTypeOf :: DescribeEventsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c DescribeEventsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeEventsResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeEventsResponse -> DescribeEventsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeEventsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeEventsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeEventsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeEventsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeEventsResponse -> m DescribeEventsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeEventsResponse -> m DescribeEventsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeEventsResponse -> m DescribeEventsResponse #

Read DescribeEventsResponse Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

Show DescribeEventsResponse Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

Generic DescribeEventsResponse Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

Associated Types

type Rep DescribeEventsResponse :: Type -> Type #

NFData DescribeEventsResponse Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

Methods

rnf :: DescribeEventsResponse -> () #

type Rep DescribeEventsResponse Source # 
Instance details

Defined in Network.AWS.ElasticBeanstalk.DescribeEvents

type Rep DescribeEventsResponse = D1 (MetaData "DescribeEventsResponse" "Network.AWS.ElasticBeanstalk.DescribeEvents" "amazonka-elasticbeanstalk-1.6.1-3CoYM4SK8sc46jAbvlY69V" False) (C1 (MetaCons "DescribeEventsResponse'" PrefixI True) (S1 (MetaSel (Just "_dersNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_dersEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [EventDescription])) :*: S1 (MetaSel (Just "_dersResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses

dersNextToken :: Lens' DescribeEventsResponse (Maybe Text) Source #

If returned, this indicates that there are more results to obtain. Use this token in the next DescribeEvents call to get the next batch of events.

dersResponseStatus :: Lens' DescribeEventsResponse Int Source #

  • - | The response status code.