Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists the resources registered to be managed by the Data Catalog.
Synopsis
- data ListResources = ListResources' {}
- newListResources :: ListResources
- listResources_filterConditionList :: Lens' ListResources (Maybe (NonEmpty FilterCondition))
- listResources_nextToken :: Lens' ListResources (Maybe Text)
- listResources_maxResults :: Lens' ListResources (Maybe Natural)
- data ListResourcesResponse = ListResourcesResponse' {
- resourceInfoList :: Maybe [ResourceInfo]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListResourcesResponse :: Int -> ListResourcesResponse
- listResourcesResponse_resourceInfoList :: Lens' ListResourcesResponse (Maybe [ResourceInfo])
- listResourcesResponse_nextToken :: Lens' ListResourcesResponse (Maybe Text)
- listResourcesResponse_httpStatus :: Lens' ListResourcesResponse Int
Creating a Request
data ListResources Source #
See: newListResources
smart constructor.
ListResources' | |
|
Instances
newListResources :: ListResources Source #
Create a value of ListResources
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:filterConditionList:ListResources'
, listResources_filterConditionList
- Any applicable row-level and/or column-level filtering conditions for
the resources.
$sel:nextToken:ListResources'
, listResources_nextToken
- A continuation token, if this is not the first call to retrieve these
resources.
$sel:maxResults:ListResources'
, listResources_maxResults
- The maximum number of resource results.
Request Lenses
listResources_filterConditionList :: Lens' ListResources (Maybe (NonEmpty FilterCondition)) Source #
Any applicable row-level and/or column-level filtering conditions for the resources.
listResources_nextToken :: Lens' ListResources (Maybe Text) Source #
A continuation token, if this is not the first call to retrieve these resources.
listResources_maxResults :: Lens' ListResources (Maybe Natural) Source #
The maximum number of resource results.
Destructuring the Response
data ListResourcesResponse Source #
See: newListResourcesResponse
smart constructor.
ListResourcesResponse' | |
|
Instances
newListResourcesResponse Source #
Create a value of ListResourcesResponse
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:resourceInfoList:ListResourcesResponse'
, listResourcesResponse_resourceInfoList
- A summary of the data lake resources.
$sel:nextToken:ListResources'
, listResourcesResponse_nextToken
- A continuation token, if this is not the first call to retrieve these
resources.
$sel:httpStatus:ListResourcesResponse'
, listResourcesResponse_httpStatus
- The response's http status code.
Response Lenses
listResourcesResponse_resourceInfoList :: Lens' ListResourcesResponse (Maybe [ResourceInfo]) Source #
A summary of the data lake resources.
listResourcesResponse_nextToken :: Lens' ListResourcesResponse (Maybe Text) Source #
A continuation token, if this is not the first call to retrieve these resources.
listResourcesResponse_httpStatus :: Lens' ListResourcesResponse Int Source #
The response's http status code.