NAME

Paws::ApplicationInsights::UpdateLogPattern - Arguments for method UpdateLogPattern on Paws::ApplicationInsights

DESCRIPTION

This class represents the parameters used for calling the method UpdateLogPattern on the Amazon CloudWatch Application Insights service. Use the attributes of this class as arguments to method UpdateLogPattern.

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

SYNOPSIS

my $applicationinsights = Paws->service('ApplicationInsights');
my $UpdateLogPatternResponse = $applicationinsights->UpdateLogPattern(
  PatternName       => 'MyLogPatternName',
  PatternSetName    => 'MyLogPatternSetName',
  ResourceGroupName => 'MyResourceGroupName',
  Pattern           => 'MyLogPatternRegex',     # OPTIONAL
  Rank              => 1,                       # OPTIONAL
);

# Results:
my $LogPattern        = $UpdateLogPatternResponse->LogPattern;
my $ResourceGroupName = $UpdateLogPatternResponse->ResourceGroupName;

# Returns a L<Paws::ApplicationInsights::UpdateLogPatternResponse> 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/applicationinsights/UpdateLogPattern

ATTRIBUTES

Pattern => Str

The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.

REQUIRED PatternName => Str

The name of the log pattern.

REQUIRED PatternSetName => Str

The name of the log pattern set.

Rank => Int

Rank of the log pattern. Must be a value between 1 and 1,000,000. The patterns are sorted by rank, so we recommend that you set your highest priority patterns with the lowest rank. A pattern of rank 1 will be the first to get matched to a log line. A pattern of rank 1,000,000 will be last to get matched. When you configure custom log patterns from the console, a Low severity pattern translates to a 750,000 rank. A Medium severity pattern translates to a 500,000 rank. And a High severity pattern translates to a 250,000 rank. Rank values less than 1 or greater than 1,000,000 are reserved for AWS-provided patterns.

REQUIRED ResourceGroupName => Str

The name of the resource group.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateLogPattern in Paws::ApplicationInsights

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