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 |
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.
RemoveAllResourcePermissions' | |
|
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.
Instances
Eq RemoveAllResourcePermissionsResponse Source # | |
Read RemoveAllResourcePermissionsResponse Source # | |
Show RemoveAllResourcePermissionsResponse Source # | |
Generic RemoveAllResourcePermissionsResponse Source # | |
Defined in Amazonka.WorkDocs.RemoveAllResourcePermissions type Rep RemoveAllResourcePermissionsResponse :: Type -> Type # | |
NFData RemoveAllResourcePermissionsResponse Source # | |
Defined in Amazonka.WorkDocs.RemoveAllResourcePermissions rnf :: RemoveAllResourcePermissionsResponse -> () # | |
type Rep RemoveAllResourcePermissionsResponse Source # | |
Defined in Amazonka.WorkDocs.RemoveAllResourcePermissions type Rep RemoveAllResourcePermissionsResponse = D1 ('MetaData "RemoveAllResourcePermissionsResponse" "Amazonka.WorkDocs.RemoveAllResourcePermissions" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "RemoveAllResourcePermissionsResponse'" 'PrefixI 'False) (U1 :: Type -> Type)) |
newRemoveAllResourcePermissionsResponse :: RemoveAllResourcePermissionsResponse Source #
Create a value of RemoveAllResourcePermissionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.