Skip to content

GetFileOutput

Source code in docs_src/capo_codecommit/types/get_file_output.py
class GetFileOutput(TypedDict, closed=True):
    commit_id: "capo_codecommit.types.object_id.ObjectId"
    """<p>The full commit ID of the commit that contains the content returned by GetFile.</p>"""
    blob_id: "capo_codecommit.types.object_id.ObjectId"
    """<p>The blob ID of the object that represents the file content.</p>"""
    file_path: "capo_codecommit.types.path.Path"
    """<p>The fully qualified path to the specified file. Returns the name and extension of the file.</p>"""
    file_mode: "capo_codecommit.types.file_mode_type_enum.FileModeTypeEnum"
    """<p>The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.</p> <note> <p>The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values.</p> </note>"""
    file_size: "capo_codecommit.types.object_size.ObjectSize"
    """<p>The size of the contents of the file, in bytes.</p>"""
    file_content: "capo_codecommit.types.file_content.FileContent"
    """<p>The base-64 encoded binary data object that represents the content of the file.</p>"""

blob_id instance-attribute

blob_id: ObjectId

The blob ID of the object that represents the file content.

commit_id instance-attribute

commit_id: ObjectId

The full commit ID of the commit that contains the content returned by GetFile.

file_content instance-attribute

file_content: FileContent

The base-64 encoded binary data object that represents the content of the file.

file_mode instance-attribute

file_mode: FileModeTypeEnum

The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.

The file mode permissions returned by this API are not the standard file mode permission values, such as 100644, but rather extrapolated values. See the supported return values.

file_path instance-attribute

file_path: Path

The fully qualified path to the specified file. Returns the name and extension of the file.

file_size instance-attribute

file_size: ObjectSize

The size of the contents of the file, in bytes.