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 |
Describes the processing of PUT
and DELETE
actions for mapping users
to their groups. This includes information on the status of actions
currently processing or yet to be processed, when actions were last
updated, when actions were received by Amazon Kendra, the latest action
that should process and apply after other actions, and useful error
messages if an action could not be processed.
DescribePrincipalMapping
is currently not supported in the Amazon Web
Services GovCloud (US-West) region.
Synopsis
- data DescribePrincipalMapping = DescribePrincipalMapping' {}
- newDescribePrincipalMapping :: Text -> Text -> DescribePrincipalMapping
- describePrincipalMapping_dataSourceId :: Lens' DescribePrincipalMapping (Maybe Text)
- describePrincipalMapping_indexId :: Lens' DescribePrincipalMapping Text
- describePrincipalMapping_groupId :: Lens' DescribePrincipalMapping Text
- data DescribePrincipalMappingResponse = DescribePrincipalMappingResponse' {}
- newDescribePrincipalMappingResponse :: Int -> DescribePrincipalMappingResponse
- describePrincipalMappingResponse_dataSourceId :: Lens' DescribePrincipalMappingResponse (Maybe Text)
- describePrincipalMappingResponse_groupId :: Lens' DescribePrincipalMappingResponse (Maybe Text)
- describePrincipalMappingResponse_groupOrderingIdSummaries :: Lens' DescribePrincipalMappingResponse (Maybe [GroupOrderingIdSummary])
- describePrincipalMappingResponse_indexId :: Lens' DescribePrincipalMappingResponse (Maybe Text)
- describePrincipalMappingResponse_httpStatus :: Lens' DescribePrincipalMappingResponse Int
Creating a Request
data DescribePrincipalMapping Source #
See: newDescribePrincipalMapping
smart constructor.
DescribePrincipalMapping' | |
|
Instances
newDescribePrincipalMapping Source #
Create a value of DescribePrincipalMapping
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:
DescribePrincipalMapping
, describePrincipalMapping_dataSourceId
- The identifier of the data source to check the processing of PUT
and
DELETE
actions for mapping users to their groups.
DescribePrincipalMapping
, describePrincipalMapping_indexId
- The identifier of the index required to check the processing of PUT
and DELETE
actions for mapping users to their groups.
DescribePrincipalMapping
, describePrincipalMapping_groupId
- The identifier of the group required to check the processing of PUT
and DELETE
actions for mapping users to their groups.
Request Lenses
describePrincipalMapping_dataSourceId :: Lens' DescribePrincipalMapping (Maybe Text) Source #
The identifier of the data source to check the processing of PUT
and
DELETE
actions for mapping users to their groups.
describePrincipalMapping_indexId :: Lens' DescribePrincipalMapping Text Source #
The identifier of the index required to check the processing of PUT
and DELETE
actions for mapping users to their groups.
describePrincipalMapping_groupId :: Lens' DescribePrincipalMapping Text Source #
The identifier of the group required to check the processing of PUT
and DELETE
actions for mapping users to their groups.
Destructuring the Response
data DescribePrincipalMappingResponse Source #
See: newDescribePrincipalMappingResponse
smart constructor.
DescribePrincipalMappingResponse' | |
|
Instances
newDescribePrincipalMappingResponse Source #
Create a value of DescribePrincipalMappingResponse
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:
DescribePrincipalMapping
, describePrincipalMappingResponse_dataSourceId
- Shows the identifier of the data source to see information on the
processing of PUT
and DELETE
actions for mapping users to their
groups.
DescribePrincipalMapping
, describePrincipalMappingResponse_groupId
- Shows the identifier of the group to see information on the processing
of PUT
and DELETE
actions for mapping users to their groups.
$sel:groupOrderingIdSummaries:DescribePrincipalMappingResponse'
, describePrincipalMappingResponse_groupOrderingIdSummaries
- Shows the following information on the processing of PUT
and DELETE
actions for mapping users to their groups:
- Status – the status can be either
PROCESSING
,SUCCEEDED
,DELETING
,DELETED
, orFAILED
. - Last updated – the last date-time an action was updated.
- Received – the last date-time an action was received or submitted.
- Ordering ID – the latest action that should process and apply after other actions.
- Failure reason – the reason an action could not be processed.
DescribePrincipalMapping
, describePrincipalMappingResponse_indexId
- Shows the identifier of the index to see information on the processing
of PUT
and DELETE
actions for mapping users to their groups.
$sel:httpStatus:DescribePrincipalMappingResponse'
, describePrincipalMappingResponse_httpStatus
- The response's http status code.
Response Lenses
describePrincipalMappingResponse_dataSourceId :: Lens' DescribePrincipalMappingResponse (Maybe Text) Source #
Shows the identifier of the data source to see information on the
processing of PUT
and DELETE
actions for mapping users to their
groups.
describePrincipalMappingResponse_groupId :: Lens' DescribePrincipalMappingResponse (Maybe Text) Source #
Shows the identifier of the group to see information on the processing
of PUT
and DELETE
actions for mapping users to their groups.
describePrincipalMappingResponse_groupOrderingIdSummaries :: Lens' DescribePrincipalMappingResponse (Maybe [GroupOrderingIdSummary]) Source #
Shows the following information on the processing of PUT
and DELETE
actions for mapping users to their groups:
- Status – the status can be either
PROCESSING
,SUCCEEDED
,DELETING
,DELETED
, orFAILED
. - Last updated – the last date-time an action was updated.
- Received – the last date-time an action was received or submitted.
- Ordering ID – the latest action that should process and apply after other actions.
- Failure reason – the reason an action could not be processed.
describePrincipalMappingResponse_indexId :: Lens' DescribePrincipalMappingResponse (Maybe Text) Source #
Shows the identifier of the index to see information on the processing
of PUT
and DELETE
actions for mapping users to their groups.
describePrincipalMappingResponse_httpStatus :: Lens' DescribePrincipalMappingResponse Int Source #
The response's http status code.