amazonka-elasticbeanstalk-1.6.0: 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 # 
Data DescribeEvents Source # 

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 # 
Show DescribeEvents Source # 
Generic DescribeEvents Source # 

Associated Types

type Rep DescribeEvents :: * -> * #

Hashable DescribeEvents Source # 
NFData DescribeEvents Source # 

Methods

rnf :: DescribeEvents -> () #

AWSPager DescribeEvents Source # 
AWSRequest DescribeEvents Source # 
ToHeaders DescribeEvents Source # 
ToPath DescribeEvents Source # 
ToQuery DescribeEvents Source # 
type Rep DescribeEvents Source # 
type Rep DescribeEvents = D1 * (MetaData "DescribeEvents" "Network.AWS.ElasticBeanstalk.DescribeEvents" "amazonka-elasticbeanstalk-1.6.0-4Kt4TpxAtj66tluiSbk4fC" False) (C1 * (MetaCons "DescribeEvents'" PrefixI True) ((:*:) * ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_deRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_deTemplateName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_deStartTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ISO8601))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_deSeverity") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe EventSeverity))) ((:*:) * (S1 * (MetaSel (Just Symbol "_deNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_deVersionLabel") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text)))))) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dePlatformARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_deEnvironmentName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_deMaxRecords") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_deEndTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe ISO8601))) ((:*:) * (S1 * (MetaSel (Just Symbol "_deApplicationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_deEnvironmentId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))))))
type Rs DescribeEvents Source # 

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 # 
Data DescribeEventsResponse Source # 

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 # 
Show DescribeEventsResponse Source # 
Generic DescribeEventsResponse Source # 
NFData DescribeEventsResponse Source # 

Methods

rnf :: DescribeEventsResponse -> () #

type Rep DescribeEventsResponse Source # 
type Rep DescribeEventsResponse = D1 * (MetaData "DescribeEventsResponse" "Network.AWS.ElasticBeanstalk.DescribeEvents" "amazonka-elasticbeanstalk-1.6.0-4Kt4TpxAtj66tluiSbk4fC" False) (C1 * (MetaCons "DescribeEventsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dersNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dersEvents") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [EventDescription]))) (S1 * (MetaSel (Just Symbol "_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.