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 DATABASE
resources by
TagCondition
. This operation is used by admins who want to grant user
permissions on certain TagConditions
. Before making a grant, the admin
can use SearchDatabasesByTags
to find all resources where the given
TagConditions
are valid to verify whether the returned resources can
be shared.
This operation returns paginated results.
Synopsis
- data SearchDatabasesByLFTags = SearchDatabasesByLFTags' {}
- newSearchDatabasesByLFTags :: NonEmpty LFTag -> SearchDatabasesByLFTags
- searchDatabasesByLFTags_catalogId :: Lens' SearchDatabasesByLFTags (Maybe Text)
- searchDatabasesByLFTags_maxResults :: Lens' SearchDatabasesByLFTags (Maybe Natural)
- searchDatabasesByLFTags_nextToken :: Lens' SearchDatabasesByLFTags (Maybe Text)
- searchDatabasesByLFTags_expression :: Lens' SearchDatabasesByLFTags (NonEmpty LFTag)
- data SearchDatabasesByLFTagsResponse = SearchDatabasesByLFTagsResponse' {
- databaseList :: Maybe [TaggedDatabase]
- nextToken :: Maybe Text
- httpStatus :: Int
- newSearchDatabasesByLFTagsResponse :: Int -> SearchDatabasesByLFTagsResponse
- searchDatabasesByLFTagsResponse_databaseList :: Lens' SearchDatabasesByLFTagsResponse (Maybe [TaggedDatabase])
- searchDatabasesByLFTagsResponse_nextToken :: Lens' SearchDatabasesByLFTagsResponse (Maybe Text)
- searchDatabasesByLFTagsResponse_httpStatus :: Lens' SearchDatabasesByLFTagsResponse Int
Creating a Request
data SearchDatabasesByLFTags Source #
See: newSearchDatabasesByLFTags
smart constructor.
SearchDatabasesByLFTags' | |
|
Instances
newSearchDatabasesByLFTags Source #
Create a value of SearchDatabasesByLFTags
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:
SearchDatabasesByLFTags
, searchDatabasesByLFTags_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:SearchDatabasesByLFTags'
, searchDatabasesByLFTags_maxResults
- The maximum number of results to return.
SearchDatabasesByLFTags
, searchDatabasesByLFTags_nextToken
- A continuation token, if this is not the first call to retrieve this
list.
SearchDatabasesByLFTags
, searchDatabasesByLFTags_expression
- A list of conditions (LFTag
structures) to search for in database
resources.
Request Lenses
searchDatabasesByLFTags_catalogId :: Lens' SearchDatabasesByLFTags (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.
searchDatabasesByLFTags_maxResults :: Lens' SearchDatabasesByLFTags (Maybe Natural) Source #
The maximum number of results to return.
searchDatabasesByLFTags_nextToken :: Lens' SearchDatabasesByLFTags (Maybe Text) Source #
A continuation token, if this is not the first call to retrieve this list.
searchDatabasesByLFTags_expression :: Lens' SearchDatabasesByLFTags (NonEmpty LFTag) Source #
A list of conditions (LFTag
structures) to search for in database
resources.
Destructuring the Response
data SearchDatabasesByLFTagsResponse Source #
See: newSearchDatabasesByLFTagsResponse
smart constructor.
SearchDatabasesByLFTagsResponse' | |
|
Instances
newSearchDatabasesByLFTagsResponse Source #
Create a value of SearchDatabasesByLFTagsResponse
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:databaseList:SearchDatabasesByLFTagsResponse'
, searchDatabasesByLFTagsResponse_databaseList
- A list of databases that meet the LF-tag conditions.
SearchDatabasesByLFTags
, searchDatabasesByLFTagsResponse_nextToken
- A continuation token, present if the current list segment is not the
last.
$sel:httpStatus:SearchDatabasesByLFTagsResponse'
, searchDatabasesByLFTagsResponse_httpStatus
- The response's http status code.
Response Lenses
searchDatabasesByLFTagsResponse_databaseList :: Lens' SearchDatabasesByLFTagsResponse (Maybe [TaggedDatabase]) Source #
A list of databases that meet the LF-tag conditions.
searchDatabasesByLFTagsResponse_nextToken :: Lens' SearchDatabasesByLFTagsResponse (Maybe Text) Source #
A continuation token, present if the current list segment is not the last.
searchDatabasesByLFTagsResponse_httpStatus :: Lens' SearchDatabasesByLFTagsResponse Int Source #
The response's http status code.