NAME

Paws::Health::DescribeEventAggregates - Arguments for method DescribeEventAggregates on Paws::Health

DESCRIPTION

This class represents the parameters used for calling the method DescribeEventAggregates on the AWS Health APIs and Notifications service. Use the attributes of this class as arguments to method DescribeEventAggregates.

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

SYNOPSIS

my $health = Paws->service('Health');
my $DescribeEventAggregatesResponse = $health->DescribeEventAggregates(
  AggregateField => 'eventTypeCategory',
  Filter         => {
    AvailabilityZones => [
      'MyavailabilityZone', ...    # min: 6, max: 18
    ],    # OPTIONAL
    EndTimes => [
      {
        From => '1970-01-01T01:00:00',    # OPTIONAL
        To   => '1970-01-01T01:00:00',    # OPTIONAL
      },
      ...
    ],    # min: 1, max: 10; OPTIONAL
    EntityArns => [
      'MyentityArn', ...    # max: 1600
    ],    # min: 1, max: 100; OPTIONAL
    EntityValues => [
      'MyentityValue', ...    # max: 1224
    ],    # min: 1, max: 100; OPTIONAL
    EventArns => [
      'MyeventArn', ...    # max: 1600
    ],    # min: 1, max: 10; OPTIONAL
    EventStatusCodes => [
      'open', ...    # values: open, closed, upcoming
    ],    # min: 1, max: 6; OPTIONAL
    EventTypeCategories => [
      'issue',
      ... # values: issue, accountNotification, scheduledChange, investigationmin: 3, max: 255
    ],    # min: 1, max: 10; OPTIONAL
    EventTypeCodes => [
      'MyeventType', ...    # min: 3, max: 100
    ],    # min: 1, max: 10; OPTIONAL
    LastUpdatedTimes => [
      {
        From => '1970-01-01T01:00:00',    # OPTIONAL
        To   => '1970-01-01T01:00:00',    # OPTIONAL
      },
      ...
    ],    # min: 1, max: 10; OPTIONAL
    Regions => [
      'Myregion', ...    # min: 2, max: 25
    ],    # min: 1, max: 10; OPTIONAL
    Services => [
      'Myservice', ...    # min: 2, max: 30
    ],    # min: 1, max: 10; OPTIONAL
    StartTimes => [
      {
        From => '1970-01-01T01:00:00',    # OPTIONAL
        To   => '1970-01-01T01:00:00',    # OPTIONAL
      },
      ...
    ],    # min: 1, max: 10; OPTIONAL
    Tags => [
      {
        'MytagKey' => 'MytagValue',    # key: max: 127, value: max: 255
      },
      ...                              # max: 50
    ],    # max: 50; OPTIONAL
  },    # OPTIONAL
  MaxResults => 1,                # OPTIONAL
  NextToken  => 'MynextToken',    # OPTIONAL
);

# Results:
my $EventAggregates = $DescribeEventAggregatesResponse->EventAggregates;
my $NextToken       = $DescribeEventAggregatesResponse->NextToken;

# Returns a L<Paws::Health::DescribeEventAggregatesResponse> 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/health/DescribeEventAggregates

ATTRIBUTES

REQUIRED AggregateField => Str

The only currently supported value is eventTypeCategory.

Valid values are: "eventTypeCategory"

Filter => Paws::Health::EventFilter

Values to narrow the results returned.

MaxResults => Int

The maximum number of items to return in one batch, between 10 and 100, inclusive.

NextToken => Str

If the results of a search are large, only a portion of the results are returned, and a nextToken pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.

SEE ALSO

This class forms part of Paws, documenting arguments for method DescribeEventAggregates in Paws::Health

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