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

************************
get_sync_blocker_summary
************************



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

  

  Returns a list of the most recent sync blockers.

  

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


  **Request Syntax**
  ::

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

    The sync type for the sync blocker summary.

    

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

    The name of the Amazon Web Services resource currently blocked from automatically being synced from a Git repository.

    

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

    
    ::

      {
          'SyncBlockerSummary': {
              'ResourceName': 'string',
              'ParentResourceName': 'string',
              'LatestBlockers': [
                  {
                      '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) --* 
      

      - **SyncBlockerSummary** *(dict) --* 

        The list of sync blockers for a specified resource.

        
        

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

          The resource name for sync blocker summary.

          
        

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

          The parent resource name for a sync blocker summary.

          
        

        - **LatestBlockers** *(list) --* 

          The latest events for a sync blocker summary.

          
          

          - *(dict) --* 

            Information about a blocker for a sync event.

            
            

            - **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.ThrottlingException`

  