« blib/lib/Paws/ApplicationInsights/ListTagsForResourceResponse.pm
↑ Summary
blib/lib/Paws/ApplicationInsights/Observation.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::ApplicationInsights::LogPattern; | ||
| 3 | use Moose; | ||
| 4 | has Pattern => (is => 'ro', isa => 'Str'); | ||
| 5 | has PatternName => (is => 'ro', isa => 'Str'); | ||
| 6 | has PatternSetName => (is => 'ro', isa => 'Str'); | ||
| 7 | has Rank => (is => 'ro', isa => 'Int'); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::ApplicationInsights::LogPattern | ||
| 16 | |||
| 17 | =head1 USAGE | ||
| 18 | |||
| 19 | This class represents one of two things: | ||
| 20 | |||
| 21 | =head3 Arguments in a call to a service | ||
| 22 | |||
| 23 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 24 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 25 | |||
| 26 | As an example, if Att1 is expected to be a Paws::ApplicationInsights::LogPattern object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { Pattern => $value, ..., Rank => $value }); | ||
| 29 | |||
| 30 | =head3 Results returned from an API call | ||
| 31 | |||
| 32 | Use accessors for each attribute. If Att1 is expected to be an Paws::ApplicationInsights::LogPattern object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->Pattern | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | An object that defines the log patterns that belongs to a | ||
| 40 | C<LogPatternSet>. | ||
| 41 | |||
| 42 | =head1 ATTRIBUTES | ||
| 43 | |||
| 44 | |||
| 45 | =head2 Pattern => Str | ||
| 46 | |||
| 47 | A regular expression that defines the log pattern. A log pattern can | ||
| 48 | contain as many as 50 characters, and it cannot be empty. The pattern | ||
| 49 | must be DFA compatible. Patterns that utilize forward lookahead or | ||
| 50 | backreference constructions are not supported. | ||
| 51 | |||
| 52 | |||
| 53 | =head2 PatternName => Str | ||
| 54 | |||
| 55 | The name of the log pattern. A log pattern name can contain as many as | ||
| 56 | 50 characters, and it cannot be empty. The characters can be Unicode | ||
| 57 | letters, digits, or one of the following symbols: period, dash, | ||
| 58 | underscore. | ||
| 59 | |||
| 60 | |||
| 61 | =head2 PatternSetName => Str | ||
| 62 | |||
| 63 | The name of the log pattern. A log pattern name can contain as many as | ||
| 64 | 30 characters, and it cannot be empty. The characters can be Unicode | ||
| 65 | letters, digits, or one of the following symbols: period, dash, | ||
| 66 | underscore. | ||
| 67 | |||
| 68 | |||
| 69 | =head2 Rank => Int | ||
| 70 | |||
| 71 | Rank of the log pattern. Must be a value between C<1> and C<1,000,000>. | ||
| 72 | The patterns are sorted by rank, so we recommend that you set your | ||
| 73 | highest priority patterns with the lowest rank. A pattern of rank C<1> | ||
| 74 | will be the first to get matched to a log line. A pattern of rank | ||
| 75 | C<1,000,000> will be last to get matched. When you configure custom log | ||
| 76 | patterns from the console, a C<Low> severity pattern translates to a | ||
| 77 | C<750,000> rank. A C<Medium> severity pattern translates to a | ||
| 78 | C<500,000> rank. And a C<High> severity pattern translates to a | ||
| 79 | C<250,000> rank. Rank values less than C<1> or greater than | ||
| 80 | C<1,000,000> are reserved for AWS-provided patterns. | ||
| 81 | |||
| 82 | |||
| 83 | |||
| 84 | =head1 SEE ALSO | ||
| 85 | |||
| 86 | This class forms part of L<Paws>, describing an object used in L<Paws::ApplicationInsights> | ||
| 87 | |||
| 88 | =head1 BUGS and CONTRIBUTIONS | ||
| 89 | |||
| 90 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 91 | |||
| 92 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 93 | |||
| 94 | =cut | ||
| 95 |