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

*******************
update_connector_v2
*******************



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

  

  Grants permission to update a connectorV2 based on its id and input parameters.

  

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


  **Request Syntax**
  ::

    response = client.update_connector_v2(
        ConnectorId='string',
        Description='string',
        Provider={
            'JiraCloud': {
                'ProjectKey': 'string'
            },
            'ServiceNow': {
                'SecretArn': 'string'
            }
        }
    )
    
  :type ConnectorId: string
  :param ConnectorId: **[REQUIRED]** 

    The UUID of the connectorV2 to identify connectorV2 resource.

    

  
  :type Description: string
  :param Description: 

    The description of the connectorV2.

    

  
  :type Provider: dict
  :param Provider: 

    The third-party provider’s service configuration.

    .. note::    This is a Tagged Union structure. Only one of the     following top level keys can be set: ``JiraCloud``, ``ServiceNow``. 

  
    - **JiraCloud** *(dict) --* 

      The parameters required to update the configuration for a Jira Cloud integration.

      

    
      - **ProjectKey** *(string) --* 

        The project key for a JiraCloud instance.

        

      
    
    - **ServiceNow** *(dict) --* 

      The parameters required to update the configuration for a ServiceNow integration.

      

    
      - **SecretArn** *(string) --* 

        The Amazon Resource Name (ARN) of the Amazon Web Services Secrets Manager secret that contains the ServiceNow credentials.

        

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`SecurityHub.Client.exceptions.AccessDeniedException`

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

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

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

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

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

  