Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.WorkDocs.RemoveAllResourcePermissions
Description
Removes all the permissions from the specified resource.
Synopsis
- data RemoveAllResourcePermissions = RemoveAllResourcePermissions' {}
- newRemoveAllResourcePermissions :: Text -> RemoveAllResourcePermissions
- removeAllResourcePermissions_authenticationToken :: Lens' RemoveAllResourcePermissions (Maybe Text)
- removeAllResourcePermissions_resourceId :: Lens' RemoveAllResourcePermissions Text
- data RemoveAllResourcePermissionsResponse = RemoveAllResourcePermissionsResponse' {
- newRemoveAllResourcePermissionsResponse :: RemoveAllResourcePermissionsResponse
Creating a Request
data RemoveAllResourcePermissions Source #
See: newRemoveAllResourcePermissions
smart constructor.
Constructors
RemoveAllResourcePermissions' | |
Fields
|
Instances
newRemoveAllResourcePermissions Source #
Create a value of RemoveAllResourcePermissions
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:authenticationToken:RemoveAllResourcePermissions'
, removeAllResourcePermissions_authenticationToken
- Amazon WorkDocs authentication token. Not required when using AWS
administrator credentials to access the API.
$sel:resourceId:RemoveAllResourcePermissions'
, removeAllResourcePermissions_resourceId
- The ID of the resource.
Request Lenses
removeAllResourcePermissions_authenticationToken :: Lens' RemoveAllResourcePermissions (Maybe Text) Source #
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
removeAllResourcePermissions_resourceId :: Lens' RemoveAllResourcePermissions Text Source #
The ID of the resource.
Destructuring the Response
data RemoveAllResourcePermissionsResponse Source #
See: newRemoveAllResourcePermissionsResponse
smart constructor.
Constructors
RemoveAllResourcePermissionsResponse' | |
Instances
newRemoveAllResourcePermissionsResponse :: RemoveAllResourcePermissionsResponse Source #
Create a value of RemoveAllResourcePermissionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.