Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

DescribeEvents

class ElasticBeanstalk.Paginator.DescribeEvents
paginator = client.get_paginator('describe_events')
paginate(**kwargs)

Creates an iterator that will paginate through responses from ElasticBeanstalk.Client.describe_events().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
    ApplicationName='string',
    VersionLabel='string',
    TemplateName='string',
    EnvironmentId='string',
    EnvironmentName='string',
    PlatformArn='string',
    RequestId='string',
    Severity='TRACE'|'DEBUG'|'INFO'|'WARN'|'ERROR'|'FATAL',
    StartTime=datetime(2015, 1, 1),
    EndTime=datetime(2015, 1, 1),
    PaginationConfig={
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
    }
)
Parameters
  • ApplicationName (string) -- If specified, AWS Elastic Beanstalk restricts the returned descriptions to include only those associated with this application.
  • VersionLabel (string) -- If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this application version.
  • TemplateName (string) -- If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that are associated with this environment configuration.
  • EnvironmentId (string) -- If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
  • EnvironmentName (string) -- If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this environment.
  • PlatformArn (string) -- The ARN of a custom platform version. If specified, AWS Elastic Beanstalk restricts the returned descriptions to those associated with this custom platform version.
  • RequestId (string) -- If specified, AWS Elastic Beanstalk restricts the described events to include only those associated with this request ID.
  • Severity (string) -- If specified, limits the events returned from this call to include only those with the specified severity or higher.
  • StartTime (datetime) -- If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur on or after this time.
  • EndTime (datetime) -- If specified, AWS Elastic Beanstalk restricts the returned descriptions to those that occur up to, but not including, the EndTime .
  • PaginationConfig (dict) --

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) --

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) --

      The size of each page.

    • StartingToken (string) --

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type

dict

Returns

Response Syntax

{
    'Events': [
        {
            'EventDate': datetime(2015, 1, 1),
            'Message': 'string',
            'ApplicationName': 'string',
            'VersionLabel': 'string',
            'TemplateName': 'string',
            'EnvironmentName': 'string',
            'PlatformArn': 'string',
            'RequestId': 'string',
            'Severity': 'TRACE'|'DEBUG'|'INFO'|'WARN'|'ERROR'|'FATAL'
        },
    ],

}

Response Structure

  • (dict) --

    Result message wrapping a list of event descriptions.

    • Events (list) --

      A list of EventDescription.

      • (dict) --

        Describes an event.

        • EventDate (datetime) --

          The date when the event occurred.

        • Message (string) --

          The event message.

        • ApplicationName (string) --

          The application associated with the event.

        • VersionLabel (string) --

          The release label for the application version associated with this event.

        • TemplateName (string) --

          The name of the configuration associated with this event.

        • EnvironmentName (string) --

          The name of the environment associated with this event.

        • PlatformArn (string) --

          The ARN of the platform version.

        • RequestId (string) --

          The web service request ID for the activity of this event.

        • Severity (string) --

          The severity level of this event.