blobs
Creates, updates, deletes, gets or lists a blobs resource.
Overview
| Name | blobs |
| Type | Resource |
| Id | aws.codecommit.blobs |
Fields
The following fields are returned by SELECT queries:
- get_blob
| Name | Datatype | Description |
|---|---|---|
content | string (byte) | The content of the blob, usually a file. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_blob | select | region | Returns the base-64 encoded content of an individual blob in a repository. |
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
- get_blob
Returns the base-64 encoded content of an individual blob in a repository.
SELECT
content
FROM aws.codecommit.blobs
WHERE region = '{{ region }}' -- required
;