Skip to content

GetFileInput

Source code in docs_src/capo_codecommit/types/get_file_input.py
class GetFileInput(TypedDict, closed=True):
    repository_name: "capo_codecommit.types.repository_name.RepositoryName"
    """<p>The name of the repository that contains the file.</p>"""
    commit_specifier: NotRequired["capo_codecommit.types.commit_name.CommitName"]
    """<p>The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such as refs/heads/main. If none is provided, the head commit is used.</p>"""
    file_path: "capo_codecommit.types.path.Path"
    """<p>The fully qualified path to the file, including the full name and extension of the file. For example, /examples/file.md is the fully qualified path to a file named file.md in a folder named examples.</p>"""

commit_specifier instance-attribute

commit_specifier: NotRequired[CommitName]

The fully quaified reference that identifies the commit that contains the file. For example, you can specify a full commit ID, a tag, a branch name, or a reference such as refs/heads/main. If none is provided, the head commit is used.

file_path instance-attribute

file_path: Path

The fully qualified path to the file, including the full name and extension of the file. For example, /examples/file.md is the fully qualified path to a file named file.md in a folder named examples.

repository_name instance-attribute

repository_name: RepositoryName

The name of the repository that contains the file.