Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
This operation returns paginated results.
Synopsis
- data ListDataSets = ListDataSets' {}
- newListDataSets :: Text -> ListDataSets
- listDataSets_maxResults :: Lens' ListDataSets (Maybe Natural)
- listDataSets_nextToken :: Lens' ListDataSets (Maybe Text)
- listDataSets_prefix :: Lens' ListDataSets (Maybe Text)
- listDataSets_applicationId :: Lens' ListDataSets Text
- data ListDataSetsResponse = ListDataSetsResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- dataSets :: [DataSetSummary]
- newListDataSetsResponse :: Int -> ListDataSetsResponse
- listDataSetsResponse_nextToken :: Lens' ListDataSetsResponse (Maybe Text)
- listDataSetsResponse_httpStatus :: Lens' ListDataSetsResponse Int
- listDataSetsResponse_dataSets :: Lens' ListDataSetsResponse [DataSetSummary]
Creating a Request
data ListDataSets Source #
See: newListDataSets
smart constructor.
ListDataSets' | |
|
Instances
Create a value of ListDataSets
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxResults:ListDataSets'
, listDataSets_maxResults
- The maximum number of objects to return.
ListDataSets
, listDataSets_nextToken
- A pagination token returned from a previous call to this operation. This
specifies the next item to return. To return to the beginning of the
list, exclude this parameter.
$sel:prefix:ListDataSets'
, listDataSets_prefix
- The prefix of the data set name, which you can use to filter the list of
data sets.
ListDataSets
, listDataSets_applicationId
- The unique identifier of the application for which you want to list the
associated data sets.
Request Lenses
listDataSets_maxResults :: Lens' ListDataSets (Maybe Natural) Source #
The maximum number of objects to return.
listDataSets_nextToken :: Lens' ListDataSets (Maybe Text) Source #
A pagination token returned from a previous call to this operation. This specifies the next item to return. To return to the beginning of the list, exclude this parameter.
listDataSets_prefix :: Lens' ListDataSets (Maybe Text) Source #
The prefix of the data set name, which you can use to filter the list of data sets.
listDataSets_applicationId :: Lens' ListDataSets Text Source #
The unique identifier of the application for which you want to list the associated data sets.
Destructuring the Response
data ListDataSetsResponse Source #
See: newListDataSetsResponse
smart constructor.
ListDataSetsResponse' | |
|
Instances
newListDataSetsResponse Source #
Create a value of ListDataSetsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
ListDataSets
, listDataSetsResponse_nextToken
- 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.
$sel:httpStatus:ListDataSetsResponse'
, listDataSetsResponse_httpStatus
- The response's http status code.
ListDataSetsResponse
, listDataSetsResponse_dataSets
- 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.
Response Lenses
listDataSetsResponse_nextToken :: Lens' ListDataSetsResponse (Maybe Text) Source #
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.
listDataSetsResponse_httpStatus :: Lens' ListDataSetsResponse Int Source #
The response's http status code.
listDataSetsResponse_dataSets :: Lens' ListDataSetsResponse [DataSetSummary] Source #
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.