NAME

Paws::DevOpsGuru::ListEvents - Arguments for method ListEvents on Paws::DevOpsGuru

DESCRIPTION

This class represents the parameters used for calling the method ListEvents on the Amazon DevOps Guru service. Use the attributes of this class as arguments to method ListEvents.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListEvents.

SYNOPSIS

my $devops-guru = Paws->service('DevOpsGuru');
my $ListEventsResponse = $devops -guru->ListEvents(
  Filters => {
    DataSource => 'AWS_CLOUD_TRAIL'
    ,    # values: AWS_CLOUD_TRAIL, AWS_CODE_DEPLOY; OPTIONAL
    EventClass => 'INFRASTRUCTURE'
    , # values: INFRASTRUCTURE, DEPLOYMENT, SECURITY_CHANGE, CONFIG_CHANGE, SCHEMA_CHANGE; OPTIONAL
    EventSource    => 'MyEventSource',    # min: 10, max: 50; OPTIONAL
    EventTimeRange => {
      FromTime => '1970-01-01T01:00:00',
      ToTime   => '1970-01-01T01:00:00',

    },                                    # OPTIONAL
    InsightId          => 'MyInsightId',  # min: 1, max: 100; OPTIONAL
    ResourceCollection => {
      CloudFormation => {
        StackNames => [
          'MyStackName', ...    # min: 1, max: 128
        ],    # OPTIONAL
      },    # OPTIONAL
    },    # OPTIONAL
  },
  MaxResults => 1,                    # OPTIONAL
  NextToken  => 'MyUuidNextToken',    # OPTIONAL
);

# Results:
my $Events    = $ListEventsResponse->Events;
my $NextToken = $ListEventsResponse->NextToken;

# Returns a L<Paws::DevOpsGuru::ListEventsResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/devops-guru/ListEvents

ATTRIBUTES

REQUIRED Filters => Paws::DevOpsGuru::ListEventsFilters

A ListEventsFilters object used to specify which events to return.

MaxResults => Int

The maximum number of results to return with a single call. To retrieve the remaining results, make another call with the returned nextToken value.

NextToken => Str

The pagination token to use to retrieve the next page of results for this operation. If this value is null, it retrieves the first page.

SEE ALSO

This class forms part of Paws, documenting arguments for method ListEvents in Paws::DevOpsGuru

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues