list_datalake_exceptions

SecurityLake.Client.list_datalake_exceptions(**kwargs)

Lists the Amazon Security Lake exceptions that you can use to find the source of problems and fix them.

See also: AWS API Documentation

Request Syntax

response = client.list_datalake_exceptions(
    maxFailures=123,
    nextToken='string',
    regionSet=[
        'us-east-1'|'us-west-2'|'eu-central-1'|'us-east-2'|'eu-west-1'|'ap-northeast-1'|'ap-southeast-2',
    ]
)
Parameters
  • maxFailures (integer) -- List the maximum number of failures in Security Lake.
  • nextToken (string) --

    List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.

    Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

  • regionSet (list) --

    List the Amazon Web Services Regions from which exceptions are retrieved.

    • (string) --
Return type

dict

Returns

Response Syntax

{
    'nextToken': 'string',
    'nonRetryableFailures': [
        {
            'failures': [
                {
                    'exceptionMessage': 'string',
                    'remediation': 'string',
                    'timestamp': datetime(2015, 1, 1)
                },
            ],
            'region': 'string'
        },
    ]
}

Response Structure

  • (dict) --

    • nextToken (string) --

      List if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.

      Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.

    • nonRetryableFailures (list) --

      Lists the failures that cannot be retried in the current Region.

      • (dict) --

        Response element for actions that make changes, namely create, update, or delete actions.

        • failures (list) --

          List of all failures.

          • (dict) --

            List of all failures.

            • exceptionMessage (string) --

              List of all exception messages.

            • remediation (string) --

              List of all remediation steps for failures.

            • timestamp (datetime) --

              This error can occur if you configure the wrong timestamp format, or if the subset of entries used for validation had errors or missing values.

        • region (string) --

          List of Amazon Web Services Regions where the failure occurred.

Exceptions

  • SecurityLake.Client.exceptions.InternalServerException
  • SecurityLake.Client.exceptions.ValidationException
  • SecurityLake.Client.exceptions.AccessDeniedException
  • SecurityLake.Client.exceptions.AccountNotFoundException