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 |
Returns the tags applied to a resource.
Synopsis
- data GetResourceLFTags = GetResourceLFTags' {}
- newGetResourceLFTags :: Resource -> GetResourceLFTags
- getResourceLFTags_showAssignedLFTags :: Lens' GetResourceLFTags (Maybe Bool)
- getResourceLFTags_catalogId :: Lens' GetResourceLFTags (Maybe Text)
- getResourceLFTags_resource :: Lens' GetResourceLFTags Resource
- data GetResourceLFTagsResponse = GetResourceLFTagsResponse' {}
- newGetResourceLFTagsResponse :: Int -> GetResourceLFTagsResponse
- getResourceLFTagsResponse_lFTagsOnTable :: Lens' GetResourceLFTagsResponse (Maybe (NonEmpty LFTagPair))
- getResourceLFTagsResponse_lFTagOnDatabase :: Lens' GetResourceLFTagsResponse (Maybe (NonEmpty LFTagPair))
- getResourceLFTagsResponse_lFTagsOnColumns :: Lens' GetResourceLFTagsResponse (Maybe [ColumnLFTag])
- getResourceLFTagsResponse_httpStatus :: Lens' GetResourceLFTagsResponse Int
Creating a Request
data GetResourceLFTags Source #
See: newGetResourceLFTags
smart constructor.
GetResourceLFTags' | |
|
Instances
Create a value of GetResourceLFTags
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:showAssignedLFTags:GetResourceLFTags'
, getResourceLFTags_showAssignedLFTags
- Indicates whether to show the assigned tags.
$sel:catalogId:GetResourceLFTags'
, getResourceLFTags_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:resource:GetResourceLFTags'
, getResourceLFTags_resource
- The resource for which you want to return tags.
Request Lenses
getResourceLFTags_showAssignedLFTags :: Lens' GetResourceLFTags (Maybe Bool) Source #
Indicates whether to show the assigned tags.
getResourceLFTags_catalogId :: Lens' GetResourceLFTags (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.
getResourceLFTags_resource :: Lens' GetResourceLFTags Resource Source #
The resource for which you want to return tags.
Destructuring the Response
data GetResourceLFTagsResponse Source #
See: newGetResourceLFTagsResponse
smart constructor.
GetResourceLFTagsResponse' | |
|
Instances
newGetResourceLFTagsResponse Source #
Create a value of GetResourceLFTagsResponse
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:lFTagsOnTable:GetResourceLFTagsResponse'
, getResourceLFTagsResponse_lFTagsOnTable
- A list of tags applied to a table resource.
$sel:lFTagOnDatabase:GetResourceLFTagsResponse'
, getResourceLFTagsResponse_lFTagOnDatabase
- A list of tags applied to a database resource.
$sel:lFTagsOnColumns:GetResourceLFTagsResponse'
, getResourceLFTagsResponse_lFTagsOnColumns
- A list of tags applied to a column resource.
$sel:httpStatus:GetResourceLFTagsResponse'
, getResourceLFTagsResponse_httpStatus
- The response's http status code.
Response Lenses
getResourceLFTagsResponse_lFTagsOnTable :: Lens' GetResourceLFTagsResponse (Maybe (NonEmpty LFTagPair)) Source #
A list of tags applied to a table resource.
getResourceLFTagsResponse_lFTagOnDatabase :: Lens' GetResourceLFTagsResponse (Maybe (NonEmpty LFTagPair)) Source #
A list of tags applied to a database resource.
getResourceLFTagsResponse_lFTagsOnColumns :: Lens' GetResourceLFTagsResponse (Maybe [ColumnLFTag]) Source #
A list of tags applied to a column resource.
getResourceLFTagsResponse_httpStatus :: Lens' GetResourceLFTagsResponse Int Source #
The response's http status code.