file_commit_histories
Creates, updates, deletes, gets or lists a file_commit_histories resource.
Overview
| Name | file_commit_histories |
| Type | Resource |
| Id | aws.codecommit.file_commit_histories |
Fields
The following fields are returned by SELECT queries:
- list_file_commit_history
| Name | Datatype | Description |
|---|---|---|
next_token | string | An enumeration token that can be used to return the next batch of results. |
revision_dag | array | An 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:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_file_commit_history | select | region | Retrieves 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.
| Name | Datatype | Description |
|---|---|---|
region | string | AWS region (default: us-east-1) |
SELECT examples
- list_file_commit_history
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
;