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 LF-tags that the requester has permission to view.
This operation returns paginated results.
Synopsis
- data ListLFTags = ListLFTags' {}
- newListLFTags :: ListLFTags
- listLFTags_catalogId :: Lens' ListLFTags (Maybe Text)
- listLFTags_maxResults :: Lens' ListLFTags (Maybe Natural)
- listLFTags_nextToken :: Lens' ListLFTags (Maybe Text)
- listLFTags_resourceShareType :: Lens' ListLFTags (Maybe ResourceShareType)
- data ListLFTagsResponse = ListLFTagsResponse' {}
- newListLFTagsResponse :: Int -> ListLFTagsResponse
- listLFTagsResponse_lFTags :: Lens' ListLFTagsResponse (Maybe (NonEmpty LFTagPair))
- listLFTagsResponse_nextToken :: Lens' ListLFTagsResponse (Maybe Text)
- listLFTagsResponse_httpStatus :: Lens' ListLFTagsResponse Int
Creating a Request
data ListLFTags Source #
See: newListLFTags
smart constructor.
ListLFTags' | |
|
Instances
newListLFTags :: ListLFTags Source #
Create a value of ListLFTags
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:
ListLFTags
, listLFTags_catalogId
- The identifier for the Data Catalog. By default, the account ID. The
Data Catalog is the persistent metadata store. It contains database
definitions, table definitions, and other control information to manage
your Lake Formation environment.
$sel:maxResults:ListLFTags'
, listLFTags_maxResults
- The maximum number of results to return.
ListLFTags
, listLFTags_nextToken
- A continuation token, if this is not the first call to retrieve this
list.
$sel:resourceShareType:ListLFTags'
, listLFTags_resourceShareType
- If resource share type is ALL
, returns both in-account LF-tags and
shared LF-tags that the requester has permission to view. If resource
share type is FOREIGN
, returns all share LF-tags that the requester
can view. If no resource share type is passed, lists LF-tags in the
given catalog ID that the requester has permission to view.
Request Lenses
listLFTags_catalogId :: Lens' ListLFTags (Maybe Text) Source #
The identifier for the Data Catalog. By default, the account ID. The Data Catalog is the persistent metadata store. It contains database definitions, table definitions, and other control information to manage your Lake Formation environment.
listLFTags_maxResults :: Lens' ListLFTags (Maybe Natural) Source #
The maximum number of results to return.
listLFTags_nextToken :: Lens' ListLFTags (Maybe Text) Source #
A continuation token, if this is not the first call to retrieve this list.
listLFTags_resourceShareType :: Lens' ListLFTags (Maybe ResourceShareType) Source #
If resource share type is ALL
, returns both in-account LF-tags and
shared LF-tags that the requester has permission to view. If resource
share type is FOREIGN
, returns all share LF-tags that the requester
can view. If no resource share type is passed, lists LF-tags in the
given catalog ID that the requester has permission to view.
Destructuring the Response
data ListLFTagsResponse Source #
See: newListLFTagsResponse
smart constructor.
Instances
newListLFTagsResponse Source #
Create a value of ListLFTagsResponse
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:
ListLFTagsResponse
, listLFTagsResponse_lFTags
- A list of LF-tags that the requested has permission to view.
ListLFTags
, listLFTagsResponse_nextToken
- A continuation token, present if the current list segment is not the
last.
$sel:httpStatus:ListLFTagsResponse'
, listLFTagsResponse_httpStatus
- The response's http status code.
Response Lenses
listLFTagsResponse_lFTags :: Lens' ListLFTagsResponse (Maybe (NonEmpty LFTagPair)) Source #
A list of LF-tags that the requested has permission to view.
listLFTagsResponse_nextToken :: Lens' ListLFTagsResponse (Maybe Text) Source #
A continuation token, present if the current list segment is not the last.
listLFTagsResponse_httpStatus :: Lens' ListLFTagsResponse Int Source #
The response's http status code.