:doc:`SecurityHub <../../securityhub>` / Client / enable_security_hub_v2

**********************
enable_security_hub_v2
**********************



.. py:method:: SecurityHub.Client.enable_security_hub_v2(**kwargs)

  

  Enables the service in account for the current Amazon Web Services Region or specified Amazon Web Services Region.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/EnableSecurityHubV2>`_  


  **Request Syntax**
  ::

    response = client.enable_security_hub_v2(
        Tags={
            'string': 'string'
        }
    )
    
  :type Tags: dict
  :param Tags: 

    The tags to add to the hub V2 resource when you enable Security Hub.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


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

    
    ::

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

    

    - *(dict) --* 
      

      - **HubV2Arn** *(string) --* 

        The ARN of the V2 resource that was created.

        
  
  **Exceptions**
  
  *   :py:class:`SecurityHub.Client.exceptions.AccessDeniedException`

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

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

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

  