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.Types.PermissionInfo

Description

 
Synopsis

Documentation

data PermissionInfo Source #

Describes the permissions.

See: newPermissionInfo smart constructor.

Constructors

PermissionInfo' 

Fields

Instances

Instances details
Eq PermissionInfo Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.PermissionInfo

Read PermissionInfo Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.PermissionInfo

Show PermissionInfo Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.PermissionInfo

Generic PermissionInfo Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.PermissionInfo

Associated Types

type Rep PermissionInfo :: Type -> Type #

NFData PermissionInfo Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.PermissionInfo

Methods

rnf :: PermissionInfo -> () #

Hashable PermissionInfo Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.PermissionInfo

FromJSON PermissionInfo Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.PermissionInfo

type Rep PermissionInfo Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.PermissionInfo

type Rep PermissionInfo = D1 ('MetaData "PermissionInfo" "Amazonka.WorkDocs.Types.PermissionInfo" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "PermissionInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "role'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RoleType)) :*: S1 ('MetaSel ('Just "type'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RolePermissionType))))

newPermissionInfo :: PermissionInfo Source #

Create a value of PermissionInfo 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:role':PermissionInfo', permissionInfo_role - The role of the user.

$sel:type':PermissionInfo', permissionInfo_type - The type of permissions.