:doc:`CodeStarconnections <../../codestar-connections>` / Client / update_sync_blocker

*******************
update_sync_blocker
*******************



.. py:method:: CodeStarconnections.Client.update_sync_blocker(**kwargs)

  

  Allows you to update the status of a sync blocker, resolving the blocker and allowing syncing to continue.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/codestar-connections-2019-12-01/UpdateSyncBlocker>`_  


  **Request Syntax**
  ::

    response = client.update_sync_blocker(
        Id='string',
        SyncType='CFN_STACK_SYNC',
        ResourceName='string',
        ResolvedReason='string'
    )
    
  :type Id: string
  :param Id: **[REQUIRED]** 

    The ID of the sync blocker to be updated.

    

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

    The sync type of the sync blocker to be updated.

    

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

    The name of the resource for the sync blocker to be updated.

    

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

    The reason for resolving the sync blocker.

    

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

    
    ::

      {
          'ResourceName': 'string',
          'ParentResourceName': 'string',
          'SyncBlocker': {
              'Id': 'string',
              'Type': 'AUTOMATED',
              'Status': 'ACTIVE'|'RESOLVED',
              'CreatedReason': 'string',
              'CreatedAt': datetime(2015, 1, 1),
              'Contexts': [
                  {
                      'Key': 'string',
                      'Value': 'string'
                  },
              ],
              'ResolvedReason': 'string',
              'ResolvedAt': datetime(2015, 1, 1)
          }
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **ResourceName** *(string) --* 

        The resource name for the sync blocker.

        
      

      - **ParentResourceName** *(string) --* 

        The parent resource name for the sync blocker.

        
      

      - **SyncBlocker** *(dict) --* 

        Information about the sync blocker to be updated.

        
        

        - **Id** *(string) --* 

          The ID for a specific sync blocker.

          
        

        - **Type** *(string) --* 

          The sync blocker type.

          
        

        - **Status** *(string) --* 

          The status for a specific sync blocker.

          
        

        - **CreatedReason** *(string) --* 

          The provided reason for a specific sync blocker.

          
        

        - **CreatedAt** *(datetime) --* 

          The creation time for a specific sync blocker.

          
        

        - **Contexts** *(list) --* 

          The contexts for a specific sync blocker.

          
          

          - *(dict) --* 

            The context for a specific sync blocker.

            
            

            - **Key** *(string) --* 

              The key provided for a context key-value pair for a specific sync blocker.

              
            

            - **Value** *(string) --* 

              The value provided for a context key-value pair for a specific sync blocker.

              
        
      
        

        - **ResolvedReason** *(string) --* 

          The resolved reason for a specific sync blocker.

          
        

        - **ResolvedAt** *(datetime) --* 

          The time that a specific sync blocker was resolved.

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

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

  
  *   :py:class:`CodeStarconnections.Client.exceptions.InvalidInputException`

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

  
  *   :py:class:`CodeStarconnections.Client.exceptions.RetryLatestCommitFailedException`

  
  *   :py:class:`CodeStarconnections.Client.exceptions.SyncBlockerDoesNotExistException`

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

  