:doc:`AccessAnalyzer <../../accessanalyzer>` / Client / start_resource_scan

*******************
start_resource_scan
*******************



.. py:method:: AccessAnalyzer.Client.start_resource_scan(**kwargs)

  

  Immediately starts a scan of the policies applied to the specified resource.

   

  .. note::

    

    This action is supported only for external access analyzers.

    

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/accessanalyzer-2019-11-01/StartResourceScan>`_  


  **Request Syntax**
  ::

    response = client.start_resource_scan(
        analyzerArn='string',
        resourceArn='string',
        resourceOwnerAccount='string'
    )
    
  :type analyzerArn: string
  :param analyzerArn: **[REQUIRED]** 

    The `ARN of the analyzer <https://docs.aws.amazon.com/IAM/latest/UserGuide/access-analyzer-getting-started.html#permission-resources>`__ to use to scan the policies applied to the specified resource.

    

  
  :type resourceArn: string
  :param resourceArn: **[REQUIRED]** 

    The ARN of the resource to scan.

    

  
  :type resourceOwnerAccount: string
  :param resourceOwnerAccount: 

    The Amazon Web Services account ID that owns the resource. For most Amazon Web Services resources, the owning account is the account in which the resource was created.

    

  
  
  :returns: None
  **Exceptions**
  
  *   :py:class:`AccessAnalyzer.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`AccessAnalyzer.Client.exceptions.ValidationException`

  
  *   :py:class:`AccessAnalyzer.Client.exceptions.InternalServerException`

  
  *   :py:class:`AccessAnalyzer.Client.exceptions.ThrottlingException`

  
  *   :py:class:`AccessAnalyzer.Client.exceptions.AccessDeniedException`

  