Skip to main content

file_commit_histories

Creates, updates, deletes, gets or lists a file_commit_histories resource.

Overview

Namefile_commit_histories
TypeResource
Idaws.codecommit.file_commit_histories

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
next_tokenstringAn enumeration token that can be used to return the next batch of results.
revision_dagarrayAn array of FileVersion objects that form a directed acyclic graph (DAG) of the changes to the file made by the commits that changed the file.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_file_commit_historyselectregionRetrieves a list of commits and changes to a specified file.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
regionstringAWS region (default: us-east-1)

SELECT examples

Retrieves a list of commits and changes to a specified file.

SELECT
next_token,
revision_dag
FROM aws.codecommit.file_commit_histories
WHERE region = '{{ region }}' -- required
;