libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.LakeFormation.SearchTablesByLFTags

Description

This operation allows a search on TABLE resources by LFTags. 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 LFTags are valid to verify whether the returned resources can be shared.

Synopsis

Creating a Request

data SearchTablesByLFTags Source #

See: newSearchTablesByLFTags smart constructor.

Constructors

SearchTablesByLFTags' 

Fields

  • catalogId :: Maybe Text

    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.

  • nextToken :: Maybe Text

    A continuation token, if this is not the first call to retrieve this list.

  • maxResults :: Maybe Natural

    The maximum number of results to return.

  • expression :: NonEmpty LFTag

    A list of conditions (LFTag structures) to search for in table resources.

Instances

Instances details
Eq SearchTablesByLFTags Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

Read SearchTablesByLFTags Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

Show SearchTablesByLFTags Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

Generic SearchTablesByLFTags Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

Associated Types

type Rep SearchTablesByLFTags :: Type -> Type #

NFData SearchTablesByLFTags Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

Methods

rnf :: SearchTablesByLFTags -> () #

Hashable SearchTablesByLFTags Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

ToJSON SearchTablesByLFTags Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

AWSRequest SearchTablesByLFTags Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

Associated Types

type AWSResponse SearchTablesByLFTags #

ToHeaders SearchTablesByLFTags Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

ToPath SearchTablesByLFTags Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

ToQuery SearchTablesByLFTags Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

type Rep SearchTablesByLFTags Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

type Rep SearchTablesByLFTags = D1 ('MetaData "SearchTablesByLFTags" "Amazonka.LakeFormation.SearchTablesByLFTags" "libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation" 'False) (C1 ('MetaCons "SearchTablesByLFTags'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "catalogId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "expression") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty LFTag)))))
type AWSResponse SearchTablesByLFTags Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

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.

Constructors

SearchTablesByLFTagsResponse' 

Fields

Instances

Instances details
Eq SearchTablesByLFTagsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

Read SearchTablesByLFTagsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

Show SearchTablesByLFTagsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

Generic SearchTablesByLFTagsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

Associated Types

type Rep SearchTablesByLFTagsResponse :: Type -> Type #

NFData SearchTablesByLFTagsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

type Rep SearchTablesByLFTagsResponse Source # 
Instance details

Defined in Amazonka.LakeFormation.SearchTablesByLFTags

type Rep SearchTablesByLFTagsResponse = D1 ('MetaData "SearchTablesByLFTagsResponse" "Amazonka.LakeFormation.SearchTablesByLFTags" "libZSservicesZSamazonka-lakeformationZSamazonka-lakeformation" 'False) (C1 ('MetaCons "SearchTablesByLFTagsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "tableList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [TaggedTable])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

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_nextToken :: Lens' SearchTablesByLFTagsResponse (Maybe Text) Source #

A continuation token, present if the current list segment is not the last.