Skip to content

GetBlobDifferencesOutput

Source code in docs_src/capo_codecommit/types/get_blob_differences_output.py
class GetBlobDifferencesOutput(TypedDict, closed=True):
    hunks: "capo_codecommit.types.diff_hunk_list.DiffHunkList"
    """<p>An ordered list of diff hunks. Each hunk represents a contiguous run of changed and adjacent context lines. The list is empty when the blobs are identical or when the content is binary. The list is also empty when a paginated request has already returned all hunks in earlier pages, in which case <code>NextToken</code> is also <code>null</code>.</p>"""
    is_binary: "capo_codecommit.types.capital_boolean.CapitalBoolean"
    """<p>Specifies whether the operation treated the diff content as binary. When <code>true</code>, the operation does not compute a line-level diff and <code>hunks</code> is empty.</p>"""
    before_blob_size: "capo_codecommit.types.object_size.ObjectSize"
    """<p>The size, in bytes, of the blob identified by <code>beforeBlobId</code>. Returns <code>0</code> when you do not specify <code>beforeBlobId</code>.</p>"""
    after_blob_size: "capo_codecommit.types.object_size.ObjectSize"
    """<p>The size, in bytes, of the blob identified by <code>afterBlobId</code>.</p>"""
    next_token: NotRequired["capo_codecommit.types.next_token.NextToken"]
    """<p>An enumeration token that can be used in a request to return the next batch of <code>DiffHunk</code> entries. <code>null</code> when the response contains the final page of the diff.</p>"""

after_blob_size instance-attribute

after_blob_size: ObjectSize

The size, in bytes, of the blob identified by afterBlobId.

before_blob_size instance-attribute

before_blob_size: ObjectSize

The size, in bytes, of the blob identified by beforeBlobId. Returns 0 when you do not specify beforeBlobId.

hunks instance-attribute

hunks: DiffHunkList

An ordered list of diff hunks. Each hunk represents a contiguous run of changed and adjacent context lines. The list is empty when the blobs are identical or when the content is binary. The list is also empty when a paginated request has already returned all hunks in earlier pages, in which case NextToken is also null.

is_binary instance-attribute

is_binary: CapitalBoolean

Specifies whether the operation treated the diff content as binary. When true, the operation does not compute a line-level diff and hunks is empty.

next_token instance-attribute

next_token: NotRequired[NextToken]

An enumeration token that can be used in a request to return the next batch of DiffHunk entries. null when the response contains the final page of the diff.