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 |
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
LF-tags. 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.
This operation returns paginated results.
Synopsis
- data SearchTablesByLFTags = SearchTablesByLFTags' {}
- newSearchTablesByLFTags :: NonEmpty LFTag -> SearchTablesByLFTags
- searchTablesByLFTags_catalogId :: Lens' SearchTablesByLFTags (Maybe Text)
- searchTablesByLFTags_maxResults :: Lens' SearchTablesByLFTags (Maybe Natural)
- searchTablesByLFTags_nextToken :: Lens' SearchTablesByLFTags (Maybe Text)
- searchTablesByLFTags_expression :: Lens' SearchTablesByLFTags (NonEmpty LFTag)
- data SearchTablesByLFTagsResponse = SearchTablesByLFTagsResponse' {
- nextToken :: Maybe Text
- tableList :: Maybe [TaggedTable]
- httpStatus :: Int
- newSearchTablesByLFTagsResponse :: Int -> SearchTablesByLFTagsResponse
- searchTablesByLFTagsResponse_nextToken :: Lens' SearchTablesByLFTagsResponse (Maybe Text)
- searchTablesByLFTagsResponse_tableList :: Lens' SearchTablesByLFTagsResponse (Maybe [TaggedTable])
- 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:
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 Lake Formation environment.
$sel:maxResults:SearchTablesByLFTags'
, searchTablesByLFTags_maxResults
- The maximum number of results to return.
SearchTablesByLFTags
, searchTablesByLFTags_nextToken
- A continuation token, if this is not the first call to retrieve this
list.
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 Lake Formation environment.
searchTablesByLFTags_maxResults :: Lens' SearchTablesByLFTags (Maybe Natural) Source #
The maximum number of results to return.
searchTablesByLFTags_nextToken :: Lens' SearchTablesByLFTags (Maybe Text) Source #
A continuation token, if this is not the first call to retrieve this list.
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:
SearchTablesByLFTags
, searchTablesByLFTagsResponse_nextToken
- A continuation token, present if the current list segment is not the
last.
$sel:tableList:SearchTablesByLFTagsResponse'
, searchTablesByLFTagsResponse_tableList
- A list of tables that meet the LF-tag conditions.
$sel:httpStatus:SearchTablesByLFTagsResponse'
, searchTablesByLFTagsResponse_httpStatus
- The response's http status code.
Response Lenses
searchTablesByLFTagsResponse_nextToken :: Lens' SearchTablesByLFTagsResponse (Maybe Text) Source #
A continuation token, present if the current list segment is not the last.
searchTablesByLFTagsResponse_tableList :: Lens' SearchTablesByLFTagsResponse (Maybe [TaggedTable]) Source #
A list of tables that meet the LF-tag conditions.
searchTablesByLFTagsResponse_httpStatus :: Lens' SearchTablesByLFTagsResponse Int Source #
The response's http status code.