:doc:`Proton <../../proton>` / Client / update_service_sync_blocker

***************************
update_service_sync_blocker
***************************



.. py:method:: Proton.Client.update_service_sync_blocker(**kwargs)

  

  Update the service sync blocker by resolving it.

  

  .. danger::

        This operation is deprecated and may not function as expected. This operation should not be used going forward and is only kept for the purpose of backwards compatiblity.


  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/proton-2020-07-20/UpdateServiceSyncBlocker>`_  


  **Request Syntax**
  ::

    response = client.update_service_sync_blocker(
        id='string',
        resolvedReason='string'
    )
    
  :type id: string
  :param id: **[REQUIRED]** 

    The ID of the service sync blocker.

    

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

    The reason the service sync blocker was resolved.

    

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

    
    ::

      {
          'serviceInstanceName': 'string',
          'serviceName': 'string',
          'serviceSyncBlocker': {
              'contexts': [
                  {
                      'key': 'string',
                      'value': 'string'
                  },
              ],
              'createdAt': datetime(2015, 1, 1),
              'createdReason': 'string',
              'id': 'string',
              'resolvedAt': datetime(2015, 1, 1),
              'resolvedReason': 'string',
              'status': 'ACTIVE'|'RESOLVED',
              'type': 'AUTOMATED'
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **serviceInstanceName** *(string) --* 

        The name of the service instance that you want to update the service sync blocker for.

        
      

      - **serviceName** *(string) --* 

        The name of the service that you want to update the service sync blocker for.

        
      

      - **serviceSyncBlocker** *(dict) --* 

        The detailed data on the service sync blocker that was updated.

        
        

        - **contexts** *(list) --* 

          The contexts for the sync blocker.

          
          

          - *(dict) --* 

            Detailed data of the context of the sync blocker.

            
            

            - **key** *(string) --* 

              The key for the sync blocker context.

              
            

            - **value** *(string) --* 

              The value of the sync blocker context.

              
        
      
        

        - **createdAt** *(datetime) --* 

          The time when the sync blocker was created.

          
        

        - **createdReason** *(string) --* 

          The reason why the sync blocker was created.

          
        

        - **id** *(string) --* 

          The ID of the sync blocker.

          
        

        - **resolvedAt** *(datetime) --* 

          The time the sync blocker was resolved.

          
        

        - **resolvedReason** *(string) --* 

          The reason the sync blocker was resolved.

          
        

        - **status** *(string) --* 

          The status of the sync blocker.

          
        

        - **type** *(string) --* 

          The type of the sync blocker.

          
    
  
  **Exceptions**
  
  *   :py:class:`Proton.Client.exceptions.ValidationException`

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

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

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

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

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

  