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 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.
Synopsis
- data SearchDatabasesByLFTags = SearchDatabasesByLFTags' {}
- newSearchDatabasesByLFTags :: NonEmpty LFTag -> SearchDatabasesByLFTags
- searchDatabasesByLFTags_catalogId :: Lens' SearchDatabasesByLFTags (Maybe Text)
- searchDatabasesByLFTags_nextToken :: Lens' SearchDatabasesByLFTags (Maybe Text)
- searchDatabasesByLFTags_maxResults :: Lens' SearchDatabasesByLFTags (Maybe Natural)
- 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:
$sel:catalogId: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 AWS Lake Formation environment.
$sel:nextToken:SearchDatabasesByLFTags'
, searchDatabasesByLFTags_nextToken
- A continuation token, if this is not the first call to retrieve this
list.
$sel:maxResults:SearchDatabasesByLFTags'
, searchDatabasesByLFTags_maxResults
- The maximum number of results to return.
$sel:expression: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 AWS Lake Formation environment.
searchDatabasesByLFTags_nextToken :: Lens' SearchDatabasesByLFTags (Maybe Text) Source #
A continuation token, if this is not the first call to retrieve this list.
searchDatabasesByLFTags_maxResults :: Lens' SearchDatabasesByLFTags (Maybe Natural) Source #
The maximum number of results to return.
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 tag conditions.
$sel:nextToken: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 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.