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 tags that the requester has permission to view.
Synopsis
- data ListLFTags = ListLFTags' {}
- newListLFTags :: ListLFTags
- listLFTags_resourceShareType :: Lens' ListLFTags (Maybe ResourceShareType)
- listLFTags_catalogId :: Lens' ListLFTags (Maybe Text)
- listLFTags_nextToken :: Lens' ListLFTags (Maybe Text)
- listLFTags_maxResults :: Lens' ListLFTags (Maybe Natural)
- data ListLFTagsResponse = ListLFTagsResponse' {}
- newListLFTagsResponse :: Int -> ListLFTagsResponse
- listLFTagsResponse_nextToken :: Lens' ListLFTagsResponse (Maybe Text)
- listLFTagsResponse_lFTags :: Lens' ListLFTagsResponse (Maybe (NonEmpty LFTagPair))
- 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:
$sel:resourceShareType:ListLFTags'
, listLFTags_resourceShareType
- If resource share type is ALL
, returns both in-account tags and shared
tags that the requester has permission to view. If resource share type
is FOREIGN
, returns all share tags that the requester can view. If no
resource share type is passed, lists tags in the given catalog ID that
the requester has permission to view.
$sel:catalogId: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 AWS Lake Formation environment.
$sel:nextToken:ListLFTags'
, listLFTags_nextToken
- A continuation token, if this is not the first call to retrieve this
list.
$sel:maxResults:ListLFTags'
, listLFTags_maxResults
- The maximum number of results to return.
Request Lenses
listLFTags_resourceShareType :: Lens' ListLFTags (Maybe ResourceShareType) Source #
If resource share type is ALL
, returns both in-account tags and shared
tags that the requester has permission to view. If resource share type
is FOREIGN
, returns all share tags that the requester can view. If no
resource share type is passed, lists tags in the given catalog ID that
the requester has permission to view.
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 AWS Lake Formation environment.
listLFTags_nextToken :: Lens' ListLFTags (Maybe Text) Source #
A continuation token, if this is not the first call to retrieve this list.
listLFTags_maxResults :: Lens' ListLFTags (Maybe Natural) Source #
The maximum number of results to return.
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:
$sel:nextToken:ListLFTags'
, listLFTagsResponse_nextToken
- A continuation token, present if the current list segment is not the
last.
$sel:lFTags:ListLFTagsResponse'
, listLFTagsResponse_lFTags
- A list of tags that the requested has permission to view.
$sel:httpStatus:ListLFTagsResponse'
, listLFTagsResponse_httpStatus
- The response's http status code.
Response Lenses
listLFTagsResponse_nextToken :: Lens' ListLFTagsResponse (Maybe Text) Source #
A continuation token, present if the current list segment is not the last.
listLFTagsResponse_lFTags :: Lens' ListLFTagsResponse (Maybe (NonEmpty LFTagPair)) Source #
A list of tags that the requested has permission to view.
listLFTagsResponse_httpStatus :: Lens' ListLFTagsResponse Int Source #
The response's http status code.