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 |
Defines the specific permissions of users or groups in your IAM Identity Center identity source with access to your Amazon Kendra experience. You can create an Amazon Kendra experience such as a search application. For more information on creating a search application experience, see Building a search experience with no code.
Synopsis
- data AssociatePersonasToEntities = AssociatePersonasToEntities' {}
- newAssociatePersonasToEntities :: Text -> Text -> NonEmpty EntityPersonaConfiguration -> AssociatePersonasToEntities
- associatePersonasToEntities_id :: Lens' AssociatePersonasToEntities Text
- associatePersonasToEntities_indexId :: Lens' AssociatePersonasToEntities Text
- associatePersonasToEntities_personas :: Lens' AssociatePersonasToEntities (NonEmpty EntityPersonaConfiguration)
- data AssociatePersonasToEntitiesResponse = AssociatePersonasToEntitiesResponse' {}
- newAssociatePersonasToEntitiesResponse :: Int -> AssociatePersonasToEntitiesResponse
- associatePersonasToEntitiesResponse_failedEntityList :: Lens' AssociatePersonasToEntitiesResponse (Maybe (NonEmpty FailedEntity))
- associatePersonasToEntitiesResponse_httpStatus :: Lens' AssociatePersonasToEntitiesResponse Int
Creating a Request
data AssociatePersonasToEntities Source #
See: newAssociatePersonasToEntities
smart constructor.
AssociatePersonasToEntities' | |
|
Instances
newAssociatePersonasToEntities Source #
Create a value of AssociatePersonasToEntities
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:
AssociatePersonasToEntities
, associatePersonasToEntities_id
- The identifier of your Amazon Kendra experience.
$sel:indexId:AssociatePersonasToEntities'
, associatePersonasToEntities_indexId
- The identifier of the index for your Amazon Kendra experience.
$sel:personas:AssociatePersonasToEntities'
, associatePersonasToEntities_personas
- The personas that define the specific permissions of users or groups in
your IAM Identity Center identity source. The available personas or
access roles are Owner
and Viewer
. For more information on these
personas, see
Providing access to your search page.
Request Lenses
associatePersonasToEntities_id :: Lens' AssociatePersonasToEntities Text Source #
The identifier of your Amazon Kendra experience.
associatePersonasToEntities_indexId :: Lens' AssociatePersonasToEntities Text Source #
The identifier of the index for your Amazon Kendra experience.
associatePersonasToEntities_personas :: Lens' AssociatePersonasToEntities (NonEmpty EntityPersonaConfiguration) Source #
The personas that define the specific permissions of users or groups in
your IAM Identity Center identity source. The available personas or
access roles are Owner
and Viewer
. For more information on these
personas, see
Providing access to your search page.
Destructuring the Response
data AssociatePersonasToEntitiesResponse Source #
See: newAssociatePersonasToEntitiesResponse
smart constructor.
AssociatePersonasToEntitiesResponse' | |
|
Instances
Generic AssociatePersonasToEntitiesResponse Source # | |
Read AssociatePersonasToEntitiesResponse Source # | |
Show AssociatePersonasToEntitiesResponse Source # | |
NFData AssociatePersonasToEntitiesResponse Source # | |
Defined in Amazonka.Kendra.AssociatePersonasToEntities rnf :: AssociatePersonasToEntitiesResponse -> () # | |
Eq AssociatePersonasToEntitiesResponse Source # | |
type Rep AssociatePersonasToEntitiesResponse Source # | |
Defined in Amazonka.Kendra.AssociatePersonasToEntities type Rep AssociatePersonasToEntitiesResponse = D1 ('MetaData "AssociatePersonasToEntitiesResponse" "Amazonka.Kendra.AssociatePersonasToEntities" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "AssociatePersonasToEntitiesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "failedEntityList") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty FailedEntity))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newAssociatePersonasToEntitiesResponse Source #
Create a value of AssociatePersonasToEntitiesResponse
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:failedEntityList:AssociatePersonasToEntitiesResponse'
, associatePersonasToEntitiesResponse_failedEntityList
- Lists the users or groups in your IAM Identity Center identity source
that failed to properly configure with your Amazon Kendra experience.
$sel:httpStatus:AssociatePersonasToEntitiesResponse'
, associatePersonasToEntitiesResponse_httpStatus
- The response's http status code.
Response Lenses
associatePersonasToEntitiesResponse_failedEntityList :: Lens' AssociatePersonasToEntitiesResponse (Maybe (NonEmpty FailedEntity)) Source #
Lists the users or groups in your IAM Identity Center identity source that failed to properly configure with your Amazon Kendra experience.
associatePersonasToEntitiesResponse_httpStatus :: Lens' AssociatePersonasToEntitiesResponse Int Source #
The response's http status code.