ApplicationInsights / Client / list_log_pattern_sets

list_log_pattern_sets#

ApplicationInsights.Client.list_log_pattern_sets(**kwargs)#

Lists the log pattern sets in the specific application.

See also: AWS API Documentation

Request Syntax

response = client.list_log_pattern_sets(
    ResourceGroupName='string',
    MaxResults=123,
    NextToken='string',
    AccountId='string'
)
Parameters:
  • ResourceGroupName (string) –

    [REQUIRED]

    The name of the resource group.

  • MaxResults (integer) – The maximum number of results to return in a single call. To retrieve the remaining results, make another call with the returned NextToken value.

  • NextToken (string) – The token to request the next page of results.

  • AccountId (string) – The Amazon Web Services account ID for the resource group owner.

Return type:

dict

Returns:

Response Syntax

{
    'ResourceGroupName': 'string',
    'AccountId': 'string',
    'LogPatternSets': [
        'string',
    ],
    'NextToken': 'string'
}

Response Structure

  • (dict) –

    • ResourceGroupName (string) –

      The name of the resource group.

    • AccountId (string) –

      The Amazon Web Services account ID for the resource group owner.

    • LogPatternSets (list) –

      The list of log pattern sets.

      • (string) –

    • NextToken (string) –

      The token used to retrieve the next page of results. This value is null when there are no more results to return.

Exceptions

  • ApplicationInsights.Client.exceptions.ResourceNotFoundException

  • ApplicationInsights.Client.exceptions.ValidationException

  • ApplicationInsights.Client.exceptions.InternalServerException