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 |
Deletes an access control configuration that you created for your documents in 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 DeleteAccessControlConfiguration = DeleteAccessControlConfiguration' {}
- newDeleteAccessControlConfiguration :: Text -> Text -> DeleteAccessControlConfiguration
- deleteAccessControlConfiguration_indexId :: Lens' DeleteAccessControlConfiguration Text
- deleteAccessControlConfiguration_id :: Lens' DeleteAccessControlConfiguration Text
- data DeleteAccessControlConfigurationResponse = DeleteAccessControlConfigurationResponse' {
- httpStatus :: Int
- newDeleteAccessControlConfigurationResponse :: Int -> DeleteAccessControlConfigurationResponse
- deleteAccessControlConfigurationResponse_httpStatus :: Lens' DeleteAccessControlConfigurationResponse Int
Creating a Request
data DeleteAccessControlConfiguration Source #
See: newDeleteAccessControlConfiguration
smart constructor.
Instances
newDeleteAccessControlConfiguration Source #
Create a value of DeleteAccessControlConfiguration
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:indexId:DeleteAccessControlConfiguration'
, deleteAccessControlConfiguration_indexId
- The identifier of the index for an access control configuration.
DeleteAccessControlConfiguration
, deleteAccessControlConfiguration_id
- The identifier of the access control configuration you want to delete.
Request Lenses
deleteAccessControlConfiguration_indexId :: Lens' DeleteAccessControlConfiguration Text Source #
The identifier of the index for an access control configuration.
deleteAccessControlConfiguration_id :: Lens' DeleteAccessControlConfiguration Text Source #
The identifier of the access control configuration you want to delete.
Destructuring the Response
data DeleteAccessControlConfigurationResponse Source #
See: newDeleteAccessControlConfigurationResponse
smart constructor.
DeleteAccessControlConfigurationResponse' | |
|
Instances
newDeleteAccessControlConfigurationResponse Source #
Create a value of DeleteAccessControlConfigurationResponse
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:httpStatus:DeleteAccessControlConfigurationResponse'
, deleteAccessControlConfigurationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteAccessControlConfigurationResponse_httpStatus :: Lens' DeleteAccessControlConfigurationResponse Int Source #
The response's http status code.