NAME

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

DESCRIPTION

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

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

SYNOPSIS

my $devops-guru = Paws->service('DevOpsGuru');
my $SearchInsightsResponse = $devops -guru->SearchInsights(
  StartTimeRange => {
    FromTime => '1970-01-01T01:00:00',    # OPTIONAL
    ToTime   => '1970-01-01T01:00:00',    # OPTIONAL
  },
  Type    => 'REACTIVE',
  Filters => {
    ResourceCollection => {
      CloudFormation => {
        StackNames => [
          'MyStackName', ...    # min: 1, max: 128
        ],    # OPTIONAL
      },    # OPTIONAL
    },    # OPTIONAL
    ServiceCollection => {
      ServiceNames => [
        'API_GATEWAY',
        ... # values: API_GATEWAY, APPLICATION_ELB, AUTO_SCALING_GROUP, CLOUD_FRONT, DYNAMO_DB, EC2, ECS, EKS, ELASTIC_BEANSTALK, ELASTI_CACHE, ELB, ES, KINESIS, LAMBDA, NAT_GATEWAY, NETWORK_ELB, RDS, REDSHIFT, ROUTE_53, S3, SAGE_MAKER, SNS, SQS, STEP_FUNCTIONS, SWF
      ],    # OPTIONAL
    },    # OPTIONAL
    Severities => [
      'LOW', ...    # values: LOW, MEDIUM, HIGH
    ],    # max: 3; OPTIONAL
    Statuses => [
      'ONGOING', ...    # values: ONGOING, CLOSED
    ],    # max: 2; OPTIONAL
  },    # OPTIONAL
  MaxResults => 1,                    # OPTIONAL
  NextToken  => 'MyUuidNextToken',    # OPTIONAL
);

# Results:
my $NextToken         = $SearchInsightsResponse->NextToken;
my $ProactiveInsights = $SearchInsightsResponse->ProactiveInsights;
my $ReactiveInsights  = $SearchInsightsResponse->ReactiveInsights;

# Returns a L<Paws::DevOpsGuru::SearchInsightsResponse> 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/SearchInsights

ATTRIBUTES

Filters => Paws::DevOpsGuru::SearchInsightsFilters

A SearchInsightsFilters object that is used to set the severity and status filters on your insight search.

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.

REQUIRED StartTimeRange => Paws::DevOpsGuru::StartTimeRange

The start of the time range passed in. Returned insights occurred after this time.

REQUIRED Type => Str

The type of insights you are searching for (REACTIVE or PROACTIVE).

Valid values are: "REACTIVE", "PROACTIVE"

SEE ALSO

This class forms part of Paws, documenting arguments for method SearchInsights 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