AccessAnalyzer / Client / apply_archive_rule

apply_archive_rule#

AccessAnalyzer.Client.apply_archive_rule(**kwargs)#

Retroactively applies the archive rule to existing findings that meet the archive rule criteria.

See also: AWS API Documentation

Request Syntax

response = client.apply_archive_rule(
    analyzerArn='string',
    ruleName='string',
    clientToken='string'
)
Parameters:
  • analyzerArn (string) –

    [REQUIRED]

    The Amazon resource name (ARN) of the analyzer.

  • ruleName (string) –

    [REQUIRED]

    The name of the rule to apply.

  • clientToken (string) –

    A client token.

    This field is autopopulated if not provided.

Returns:

None

Exceptions

  • AccessAnalyzer.Client.exceptions.ResourceNotFoundException

  • AccessAnalyzer.Client.exceptions.ValidationException

  • AccessAnalyzer.Client.exceptions.InternalServerException

  • AccessAnalyzer.Client.exceptions.ThrottlingException

  • AccessAnalyzer.Client.exceptions.AccessDeniedException