MainframeModernization.Client.
list_data_sets
(**kwargs)¶Lists the data sets imported for a specific application. In Amazon Web Services Mainframe Modernization, data sets are associated with applications deployed on runtime environments. This is known as importing data sets. Currently, Amazon Web Services Mainframe Modernization can import data sets into catalogs using CreateDataSetImportTask.
See also: AWS API Documentation
Request Syntax
response = client.list_data_sets(
applicationId='string',
maxResults=123,
nextToken='string',
prefix='string'
)
[REQUIRED]
The unique identifier of the application for which you want to list the associated data sets.
dict
Response Syntax
{
'dataSets': [
{
'creationTime': datetime(2015, 1, 1),
'dataSetName': 'string',
'dataSetOrg': 'string',
'format': 'string',
'lastReferencedTime': datetime(2015, 1, 1),
'lastUpdatedTime': datetime(2015, 1, 1)
},
],
'nextToken': 'string'
}
Response Structure
(dict) --
dataSets (list) --
The list of data sets, containing information including the creation time, the data set name, the data set organization, the data set format, and the last time the data set was referenced or updated.
(dict) --
A subset of the possible data set attributes.
creationTime (datetime) --
The timestamp when the data set was created.
dataSetName (string) --
The name of the data set.
dataSetOrg (string) --
The type of data set. The only supported value is VSAM.
format (string) --
The format of the data set.
lastReferencedTime (datetime) --
The last time the data set was referenced.
lastUpdatedTime (datetime) --
The last time the data set was updated.
nextToken (string) --
If there are more items to return, this contains a token that is passed to a subsequent call to this operation to retrieve the next set of items.
Exceptions
MainframeModernization.Client.exceptions.ValidationException
MainframeModernization.Client.exceptions.InternalServerException
MainframeModernization.Client.exceptions.AccessDeniedException
MainframeModernization.Client.exceptions.ThrottlingException
MainframeModernization.Client.exceptions.ResourceNotFoundException