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 |
Lists one or more access control configurations for an index. This includes user and group access information for your documents. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
Synopsis
- data ListAccessControlConfigurations = ListAccessControlConfigurations' {}
- newListAccessControlConfigurations :: Text -> ListAccessControlConfigurations
- listAccessControlConfigurations_maxResults :: Lens' ListAccessControlConfigurations (Maybe Natural)
- listAccessControlConfigurations_nextToken :: Lens' ListAccessControlConfigurations (Maybe Text)
- listAccessControlConfigurations_indexId :: Lens' ListAccessControlConfigurations Text
- data ListAccessControlConfigurationsResponse = ListAccessControlConfigurationsResponse' {}
- newListAccessControlConfigurationsResponse :: Int -> ListAccessControlConfigurationsResponse
- listAccessControlConfigurationsResponse_nextToken :: Lens' ListAccessControlConfigurationsResponse (Maybe Text)
- listAccessControlConfigurationsResponse_httpStatus :: Lens' ListAccessControlConfigurationsResponse Int
- listAccessControlConfigurationsResponse_accessControlConfigurations :: Lens' ListAccessControlConfigurationsResponse [AccessControlConfigurationSummary]
Creating a Request
data ListAccessControlConfigurations Source #
See: newListAccessControlConfigurations
smart constructor.
ListAccessControlConfigurations' | |
|
Instances
newListAccessControlConfigurations Source #
Create a value of ListAccessControlConfigurations
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:
ListAccessControlConfigurations
, listAccessControlConfigurations_maxResults
- The maximum number of access control configurations to return.
ListAccessControlConfigurations
, listAccessControlConfigurations_nextToken
- If the previous response was incomplete (because there's 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 access control
configurations.
$sel:indexId:ListAccessControlConfigurations'
, listAccessControlConfigurations_indexId
- The identifier of the index for the access control configuration.
Request Lenses
listAccessControlConfigurations_maxResults :: Lens' ListAccessControlConfigurations (Maybe Natural) Source #
The maximum number of access control configurations to return.
listAccessControlConfigurations_nextToken :: Lens' ListAccessControlConfigurations (Maybe Text) Source #
If the previous response was incomplete (because there's 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 access control configurations.
listAccessControlConfigurations_indexId :: Lens' ListAccessControlConfigurations Text Source #
The identifier of the index for the access control configuration.
Destructuring the Response
data ListAccessControlConfigurationsResponse Source #
See: newListAccessControlConfigurationsResponse
smart constructor.
ListAccessControlConfigurationsResponse' | |
|
Instances
newListAccessControlConfigurationsResponse Source #
Create a value of ListAccessControlConfigurationsResponse
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:
ListAccessControlConfigurations
, listAccessControlConfigurationsResponse_nextToken
- If the response is truncated, Amazon Kendra returns this token, which
you can use in the subsequent request to retrieve the next set of access
control configurations.
$sel:httpStatus:ListAccessControlConfigurationsResponse'
, listAccessControlConfigurationsResponse_httpStatus
- The response's http status code.
$sel:accessControlConfigurations:ListAccessControlConfigurationsResponse'
, listAccessControlConfigurationsResponse_accessControlConfigurations
- The details of your access control configurations.
Response Lenses
listAccessControlConfigurationsResponse_nextToken :: Lens' ListAccessControlConfigurationsResponse (Maybe Text) Source #
If the response is truncated, Amazon Kendra returns this token, which you can use in the subsequent request to retrieve the next set of access control configurations.
listAccessControlConfigurationsResponse_httpStatus :: Lens' ListAccessControlConfigurationsResponse Int Source #
The response's http status code.
listAccessControlConfigurationsResponse_accessControlConfigurations :: Lens' ListAccessControlConfigurationsResponse [AccessControlConfigurationSummary] Source #
The details of your access control configurations.