start_resource_scan
(**kwargs)¶Immediately starts a scan of the policies applied to the specified resource.
See also: AWS API Documentation
Request Syntax
response = client.start_resource_scan(
analyzerArn='string',
resourceArn='string',
resourceOwnerAccount='string'
)
[REQUIRED]
The ARN of the analyzer to use to scan the policies applied to the specified resource.
[REQUIRED]
The ARN of the resource to scan.
None
Exceptions
AccessAnalyzer.Client.exceptions.ResourceNotFoundException
AccessAnalyzer.Client.exceptions.ValidationException
AccessAnalyzer.Client.exceptions.InternalServerException
AccessAnalyzer.Client.exceptions.ThrottlingException
AccessAnalyzer.Client.exceptions.AccessDeniedException