libZSservicesZSamazonka-application-insightsZSamazonka-application-insights
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ApplicationInsights.UpdateLogPattern

Description

Adds a log pattern to a LogPatternSet.

Synopsis

Creating a Request

data UpdateLogPattern Source #

See: newUpdateLogPattern smart constructor.

Constructors

UpdateLogPattern' 

Fields

  • pattern' :: Maybe Text

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

  • rank :: Maybe 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.

  • resourceGroupName :: Text

    The name of the resource group.

  • patternSetName :: Text

    The name of the log pattern set.

  • patternName :: Text

    The name of the log pattern.

Instances

Instances details
Eq UpdateLogPattern Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

Read UpdateLogPattern Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

Show UpdateLogPattern Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

Generic UpdateLogPattern Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

Associated Types

type Rep UpdateLogPattern :: Type -> Type #

NFData UpdateLogPattern Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

Methods

rnf :: UpdateLogPattern -> () #

Hashable UpdateLogPattern Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

ToJSON UpdateLogPattern Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

AWSRequest UpdateLogPattern Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

Associated Types

type AWSResponse UpdateLogPattern #

ToHeaders UpdateLogPattern Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

ToPath UpdateLogPattern Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

ToQuery UpdateLogPattern Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

type Rep UpdateLogPattern Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

type Rep UpdateLogPattern = D1 ('MetaData "UpdateLogPattern" "Amazonka.ApplicationInsights.UpdateLogPattern" "libZSservicesZSamazonka-application-insightsZSamazonka-application-insights" 'False) (C1 ('MetaCons "UpdateLogPattern'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "pattern'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "rank") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))) :*: (S1 ('MetaSel ('Just "resourceGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "patternSetName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "patternName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse UpdateLogPattern Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

newUpdateLogPattern Source #

Create a value of UpdateLogPattern with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:pattern':UpdateLogPattern', updateLogPattern_pattern - The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.

$sel:rank:UpdateLogPattern', updateLogPattern_rank - 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.

$sel:resourceGroupName:UpdateLogPattern', updateLogPattern_resourceGroupName - The name of the resource group.

$sel:patternSetName:UpdateLogPattern', updateLogPattern_patternSetName - The name of the log pattern set.

$sel:patternName:UpdateLogPattern', updateLogPattern_patternName - The name of the log pattern.

Request Lenses

updateLogPattern_pattern :: Lens' UpdateLogPattern (Maybe Text) Source #

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

updateLogPattern_rank :: Lens' UpdateLogPattern (Maybe Int) Source #

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.

Destructuring the Response

data UpdateLogPatternResponse Source #

See: newUpdateLogPatternResponse smart constructor.

Constructors

UpdateLogPatternResponse' 

Fields

Instances

Instances details
Eq UpdateLogPatternResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

Read UpdateLogPatternResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

Show UpdateLogPatternResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

Generic UpdateLogPatternResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

Associated Types

type Rep UpdateLogPatternResponse :: Type -> Type #

NFData UpdateLogPatternResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

type Rep UpdateLogPatternResponse Source # 
Instance details

Defined in Amazonka.ApplicationInsights.UpdateLogPattern

type Rep UpdateLogPatternResponse = D1 ('MetaData "UpdateLogPatternResponse" "Amazonka.ApplicationInsights.UpdateLogPattern" "libZSservicesZSamazonka-application-insightsZSamazonka-application-insights" 'False) (C1 ('MetaCons "UpdateLogPatternResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe LogPattern)) :*: (S1 ('MetaSel ('Just "resourceGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newUpdateLogPatternResponse Source #

Create a value of UpdateLogPatternResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:logPattern:UpdateLogPatternResponse', updateLogPatternResponse_logPattern - The successfully created log pattern.

$sel:resourceGroupName:UpdateLogPattern', updateLogPatternResponse_resourceGroupName - The name of the resource group.

$sel:httpStatus:UpdateLogPatternResponse', updateLogPatternResponse_httpStatus - The response's http status code.

Response Lenses