amazonka-kendra-2.0: Amazon KendraFrontendService SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kendra.ListEntityPersonas

Description

Lists specific permissions of users and groups with access to your Amazon Kendra experience.

Synopsis

Creating a Request

data ListEntityPersonas Source #

See: newListEntityPersonas smart constructor.

Constructors

ListEntityPersonas' 

Fields

  • maxResults :: Maybe Natural

    The maximum number of returned users or groups.

  • nextToken :: Maybe Text

    If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of users or groups.

  • id :: Text

    The identifier of your Amazon Kendra experience.

  • indexId :: Text

    The identifier of the index for your Amazon Kendra experience.

Instances

Instances details
ToJSON ListEntityPersonas Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

ToHeaders ListEntityPersonas Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

ToPath ListEntityPersonas Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

ToQuery ListEntityPersonas Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

AWSRequest ListEntityPersonas Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

Associated Types

type AWSResponse ListEntityPersonas #

Generic ListEntityPersonas Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

Associated Types

type Rep ListEntityPersonas :: Type -> Type #

Read ListEntityPersonas Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

Show ListEntityPersonas Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

NFData ListEntityPersonas Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

Methods

rnf :: ListEntityPersonas -> () #

Eq ListEntityPersonas Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

Hashable ListEntityPersonas Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

type AWSResponse ListEntityPersonas Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

type Rep ListEntityPersonas Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

type Rep ListEntityPersonas = D1 ('MetaData "ListEntityPersonas" "Amazonka.Kendra.ListEntityPersonas" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "ListEntityPersonas'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "indexId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newListEntityPersonas Source #

Create a value of ListEntityPersonas 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:

ListEntityPersonas, listEntityPersonas_maxResults - The maximum number of returned users or groups.

ListEntityPersonas, listEntityPersonas_nextToken - If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of users or groups.

ListEntityPersonas, listEntityPersonas_id - The identifier of your Amazon Kendra experience.

$sel:indexId:ListEntityPersonas', listEntityPersonas_indexId - The identifier of the index for your Amazon Kendra experience.

Request Lenses

listEntityPersonas_maxResults :: Lens' ListEntityPersonas (Maybe Natural) Source #

The maximum number of returned users or groups.

listEntityPersonas_nextToken :: Lens' ListEntityPersonas (Maybe Text) Source #

If the previous response was incomplete (because there is more data to retrieve), Amazon Kendra returns a pagination token in the response. You can use this pagination token to retrieve the next set of users or groups.

listEntityPersonas_id :: Lens' ListEntityPersonas Text Source #

The identifier of your Amazon Kendra experience.

listEntityPersonas_indexId :: Lens' ListEntityPersonas Text Source #

The identifier of the index for your Amazon Kendra experience.

Destructuring the Response

data ListEntityPersonasResponse Source #

See: newListEntityPersonasResponse smart constructor.

Constructors

ListEntityPersonasResponse' 

Fields

  • nextToken :: Maybe Text

    If the response is truncated, Amazon Kendra returns this token, which you can use in a later request to retrieve the next set of users or groups.

  • summaryItems :: Maybe [PersonasSummary]

    An array of summary information for one or more users or groups.

  • httpStatus :: Int

    The response's http status code.

Instances

Instances details
Generic ListEntityPersonasResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

Associated Types

type Rep ListEntityPersonasResponse :: Type -> Type #

Read ListEntityPersonasResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

Show ListEntityPersonasResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

NFData ListEntityPersonasResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

Eq ListEntityPersonasResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

type Rep ListEntityPersonasResponse Source # 
Instance details

Defined in Amazonka.Kendra.ListEntityPersonas

type Rep ListEntityPersonasResponse = D1 ('MetaData "ListEntityPersonasResponse" "Amazonka.Kendra.ListEntityPersonas" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "ListEntityPersonasResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "summaryItems") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [PersonasSummary])) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newListEntityPersonasResponse Source #

Create a value of ListEntityPersonasResponse 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:

ListEntityPersonas, listEntityPersonasResponse_nextToken - If the response is truncated, Amazon Kendra returns this token, which you can use in a later request to retrieve the next set of users or groups.

$sel:summaryItems:ListEntityPersonasResponse', listEntityPersonasResponse_summaryItems - An array of summary information for one or more users or groups.

$sel:httpStatus:ListEntityPersonasResponse', listEntityPersonasResponse_httpStatus - The response's http status code.

Response Lenses

listEntityPersonasResponse_nextToken :: Lens' ListEntityPersonasResponse (Maybe Text) Source #

If the response is truncated, Amazon Kendra returns this token, which you can use in a later request to retrieve the next set of users or groups.

listEntityPersonasResponse_summaryItems :: Lens' ListEntityPersonasResponse (Maybe [PersonasSummary]) Source #

An array of summary information for one or more users or groups.