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 |
This operation allows a search on TABLE
resources by LFTag
s. This
will be used by admins who want to grant user permissions on certain
LFTags. Before making a grant, the admin can use SearchTablesByLFTags
to find all resources where the given LFTag
s are valid to verify
whether the returned resources can be shared.
Synopsis
- data SearchTablesByLFTags = SearchTablesByLFTags' {}
- newSearchTablesByLFTags :: NonEmpty LFTag -> SearchTablesByLFTags
- searchTablesByLFTags_catalogId :: Lens' SearchTablesByLFTags (Maybe Text)
- searchTablesByLFTags_nextToken :: Lens' SearchTablesByLFTags (Maybe Text)
- searchTablesByLFTags_maxResults :: Lens' SearchTablesByLFTags (Maybe Natural)
- searchTablesByLFTags_expression :: Lens' SearchTablesByLFTags (NonEmpty LFTag)
- data SearchTablesByLFTagsResponse = SearchTablesByLFTagsResponse' {
- tableList :: Maybe [TaggedTable]
- nextToken :: Maybe Text
- httpStatus :: Int
- newSearchTablesByLFTagsResponse :: Int -> SearchTablesByLFTagsResponse
- searchTablesByLFTagsResponse_tableList :: Lens' SearchTablesByLFTagsResponse (Maybe [TaggedTable])
- searchTablesByLFTagsResponse_nextToken :: Lens' SearchTablesByLFTagsResponse (Maybe Text)
- searchTablesByLFTagsResponse_httpStatus :: Lens' SearchTablesByLFTagsResponse Int
Creating a Request
data SearchTablesByLFTags Source #
See: newSearchTablesByLFTags
smart constructor.
SearchTablesByLFTags' | |
|
Instances
newSearchTablesByLFTags Source #
Create a value of SearchTablesByLFTags
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:catalogId:SearchTablesByLFTags'
, searchTablesByLFTags_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:SearchTablesByLFTags'
, searchTablesByLFTags_nextToken
- A continuation token, if this is not the first call to retrieve this
list.
$sel:maxResults:SearchTablesByLFTags'
, searchTablesByLFTags_maxResults
- The maximum number of results to return.
$sel:expression:SearchTablesByLFTags'
, searchTablesByLFTags_expression
- A list of conditions (LFTag
structures) to search for in table
resources.
Request Lenses
searchTablesByLFTags_catalogId :: Lens' SearchTablesByLFTags (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.
searchTablesByLFTags_nextToken :: Lens' SearchTablesByLFTags (Maybe Text) Source #
A continuation token, if this is not the first call to retrieve this list.
searchTablesByLFTags_maxResults :: Lens' SearchTablesByLFTags (Maybe Natural) Source #
The maximum number of results to return.
searchTablesByLFTags_expression :: Lens' SearchTablesByLFTags (NonEmpty LFTag) Source #
A list of conditions (LFTag
structures) to search for in table
resources.
Destructuring the Response
data SearchTablesByLFTagsResponse Source #
See: newSearchTablesByLFTagsResponse
smart constructor.
SearchTablesByLFTagsResponse' | |
|
Instances
newSearchTablesByLFTagsResponse Source #
Create a value of SearchTablesByLFTagsResponse
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:tableList:SearchTablesByLFTagsResponse'
, searchTablesByLFTagsResponse_tableList
- A list of tables that meet the tag conditions.
$sel:nextToken:SearchTablesByLFTags'
, searchTablesByLFTagsResponse_nextToken
- A continuation token, present if the current list segment is not the
last.
$sel:httpStatus:SearchTablesByLFTagsResponse'
, searchTablesByLFTagsResponse_httpStatus
- The response's http status code.
Response Lenses
searchTablesByLFTagsResponse_tableList :: Lens' SearchTablesByLFTagsResponse (Maybe [TaggedTable]) Source #
A list of tables that meet the tag conditions.
searchTablesByLFTagsResponse_nextToken :: Lens' SearchTablesByLFTagsResponse (Maybe Text) Source #
A continuation token, present if the current list segment is not the last.
searchTablesByLFTagsResponse_httpStatus :: Lens' SearchTablesByLFTagsResponse Int Source #
The response's http status code.