libZSservicesZSamazonka-workdocsZSamazonka-workdocs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkDocs.RemoveResourcePermission

Description

Removes the permission for the specified principal from the specified resource.

Synopsis

Creating a Request

data RemoveResourcePermission Source #

See: newRemoveResourcePermission smart constructor.

Constructors

RemoveResourcePermission' 

Fields

Instances

Instances details
Eq RemoveResourcePermission Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

Show RemoveResourcePermission Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

Generic RemoveResourcePermission Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

Associated Types

type Rep RemoveResourcePermission :: Type -> Type #

NFData RemoveResourcePermission Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

Hashable RemoveResourcePermission Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

AWSRequest RemoveResourcePermission Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

ToHeaders RemoveResourcePermission Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

ToPath RemoveResourcePermission Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

ToQuery RemoveResourcePermission Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

type Rep RemoveResourcePermission Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

type Rep RemoveResourcePermission = D1 ('MetaData "RemoveResourcePermission" "Amazonka.WorkDocs.RemoveResourcePermission" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "RemoveResourcePermission'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "principalType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PrincipalType)) :*: S1 ('MetaSel ('Just "authenticationToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text)))) :*: (S1 ('MetaSel ('Just "resourceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "principalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse RemoveResourcePermission Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

newRemoveResourcePermission Source #

Create a value of RemoveResourcePermission 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:principalType:RemoveResourcePermission', removeResourcePermission_principalType - The principal type of the resource.

$sel:authenticationToken:RemoveResourcePermission', removeResourcePermission_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

$sel:resourceId:RemoveResourcePermission', removeResourcePermission_resourceId - The ID of the resource.

$sel:principalId:RemoveResourcePermission', removeResourcePermission_principalId - The principal ID of the resource.

Request Lenses

removeResourcePermission_authenticationToken :: Lens' RemoveResourcePermission (Maybe Text) Source #

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

Destructuring the Response

data RemoveResourcePermissionResponse Source #

See: newRemoveResourcePermissionResponse smart constructor.

Instances

Instances details
Eq RemoveResourcePermissionResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

Read RemoveResourcePermissionResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

Show RemoveResourcePermissionResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

Generic RemoveResourcePermissionResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

Associated Types

type Rep RemoveResourcePermissionResponse :: Type -> Type #

NFData RemoveResourcePermissionResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

type Rep RemoveResourcePermissionResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.RemoveResourcePermission

type Rep RemoveResourcePermissionResponse = D1 ('MetaData "RemoveResourcePermissionResponse" "Amazonka.WorkDocs.RemoveResourcePermission" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "RemoveResourcePermissionResponse'" 'PrefixI 'False) (U1 :: Type -> Type))

newRemoveResourcePermissionResponse :: RemoveResourcePermissionResponse Source #

Create a value of RemoveResourcePermissionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.