data_set_details
Creates, updates, deletes, gets or lists a data_set_details resource.
Overview
| Name | data_set_details |
| Type | Resource |
| Id | aws.m2.data_set_details |
Fields
The following fields are returned by SELECT queries:
- get_data_set_details
| Name | Datatype | Description |
|---|---|---|
blocksize | integer | The size of the block on disk. |
creation_time | string (date-time) | The timestamp when the data set was created. |
data_set_name | string | The name of the data set. (pattern: <code>^\S{1,200}$</code>) |
data_set_org | object | The type of data set. The only supported value is VSAM. |
file_size | integer (int64) | File size of the dataset. |
last_referenced_time | string (date-time) | The last time the data set was referenced. |
last_updated_time | string (date-time) | The last time the data set was updated. |
location | string | The location where the data set is stored. (pattern: <code>^\S{1,2000}$</code>) |
record_length | integer | The length of records in the data set. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_data_set_details | select | application_id, data_set_name, region | Gets the details of a specific data set. |
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 |
|---|---|---|
application_id | string | The unique identifier of the application that this data set is associated with. |
data_set_name | string | The name of the data set. |
region | string | AWS region (default: us-east-1) |
SELECT examples
- get_data_set_details
Gets the details of a specific data set.
SELECT
blocksize,
creation_time,
data_set_name,
data_set_org,
file_size,
last_referenced_time,
last_updated_time,
location,
record_length
FROM aws.m2.data_set_details
WHERE application_id = '{{ application_id }}' -- required
AND data_set_name = '{{ data_set_name }}' -- required
AND region = '{{ region }}' -- required
;