| Copyright | (c) 2013-2018 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 |
| Language | Haskell2010 |
Network.AWS.WorkDocs.RemoveResourcePermission
Description
Removes the permission for the specified principal from the specified resource.
Synopsis
- removeResourcePermission :: Text -> Text -> RemoveResourcePermission
- data RemoveResourcePermission
- rrpPrincipalType :: Lens' RemoveResourcePermission (Maybe PrincipalType)
- rrpAuthenticationToken :: Lens' RemoveResourcePermission (Maybe Text)
- rrpResourceId :: Lens' RemoveResourcePermission Text
- rrpPrincipalId :: Lens' RemoveResourcePermission Text
- removeResourcePermissionResponse :: RemoveResourcePermissionResponse
- data RemoveResourcePermissionResponse
Creating a Request
removeResourcePermission Source #
Arguments
| :: Text | |
| -> Text | |
| -> RemoveResourcePermission |
Creates a value of RemoveResourcePermission with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rrpPrincipalType- The principal type of the resource.rrpAuthenticationToken- Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.rrpResourceId- The ID of the resource.rrpPrincipalId- The principal ID of the resource.
data RemoveResourcePermission Source #
See: removeResourcePermission smart constructor.
Instances
Request Lenses
rrpPrincipalType :: Lens' RemoveResourcePermission (Maybe PrincipalType) Source #
The principal type of the resource.
rrpAuthenticationToken :: Lens' RemoveResourcePermission (Maybe Text) Source #
Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.
rrpResourceId :: Lens' RemoveResourcePermission Text Source #
The ID of the resource.
rrpPrincipalId :: Lens' RemoveResourcePermission Text Source #
The principal ID of the resource.
Destructuring the Response
removeResourcePermissionResponse :: RemoveResourcePermissionResponse Source #
Creates a value of RemoveResourcePermissionResponse with the minimum fields required to make a request.
data RemoveResourcePermissionResponse Source #
See: removeResourcePermissionResponse smart constructor.