CodeStarconnections / Client / update_sync_blocker

update_sync_blocker#

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

Request Syntax

response = client.update_sync_blocker(
    Id='string',
    SyncType='CFN_STACK_SYNC',
    ResourceName='string',
    ResolvedReason='string'
)
Parameters:
  • Id (string) –

    [REQUIRED]

    The ID of the sync blocker to be updated.

  • SyncType (string) –

    [REQUIRED]

    The sync type of the sync blocker to be updated.

  • ResourceName (string) –

    [REQUIRED]

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

  • ResolvedReason (string) –

    [REQUIRED]

    The reason for resolving the sync blocker.

Return type:

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

  • CodeStarconnections.Client.exceptions.AccessDeniedException

  • CodeStarconnections.Client.exceptions.InternalServerException

  • CodeStarconnections.Client.exceptions.InvalidInputException

  • CodeStarconnections.Client.exceptions.ResourceNotFoundException

  • CodeStarconnections.Client.exceptions.RetryLatestCommitFailedException

  • CodeStarconnections.Client.exceptions.SyncBlockerDoesNotExistException

  • CodeStarconnections.Client.exceptions.ThrottlingException