Struct aws_sdk_applicationinsights::client::fluent_builders::UpdateLogPattern [−][src]
pub struct UpdateLogPattern<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to UpdateLogPattern
.
Adds a log pattern to a LogPatternSet
.
Implementations
impl<C, M, R> UpdateLogPattern<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateLogPattern<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateLogPatternOutput, SdkError<UpdateLogPatternError>> where
R::Policy: SmithyRetryPolicy<UpdateLogPatternInputOperationOutputAlias, UpdateLogPatternOutput, UpdateLogPatternError, UpdateLogPatternInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateLogPatternOutput, SdkError<UpdateLogPatternError>> where
R::Policy: SmithyRetryPolicy<UpdateLogPatternInputOperationOutputAlias, UpdateLogPatternOutput, UpdateLogPatternError, UpdateLogPatternInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the resource group.
The name of the resource group.
The name of the log pattern set.
The name of the log pattern set.
The name of the log pattern.
The name of the log pattern.
The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
The log pattern. The pattern must be DFA compatible. Patterns that utilize forward lookahead or backreference constructions are not supported.
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.
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.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateLogPattern<C, M, R>
impl<C, M, R> Send for UpdateLogPattern<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateLogPattern<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateLogPattern<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateLogPattern<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more