:doc:`EC2 <../../ec2>` / Client / delete_network_insights_access_scope

************************************
delete_network_insights_access_scope
************************************



.. py:method:: EC2.Client.delete_network_insights_access_scope(**kwargs)

  

  Deletes the specified Network Access Scope.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/ec2-2016-11-15/DeleteNetworkInsightsAccessScope>`_  


  **Request Syntax**
  ::

    response = client.delete_network_insights_access_scope(
        DryRun=True|False,
        NetworkInsightsAccessScopeId='string'
    )
    
  :type DryRun: boolean
  :param DryRun: 

    Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is ``DryRunOperation``. Otherwise, it is ``UnauthorizedOperation``.

    

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

    The ID of the Network Access Scope.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'NetworkInsightsAccessScopeId': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **NetworkInsightsAccessScopeId** *(string) --* 

        The ID of the Network Access Scope.

        
  