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.SharePrincipal

Description

 
Synopsis

Documentation

data SharePrincipal Source #

Describes the recipient type and ID, if available.

See: newSharePrincipal smart constructor.

Constructors

SharePrincipal' 

Fields

Instances

Instances details
Eq SharePrincipal Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.SharePrincipal

Read SharePrincipal Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.SharePrincipal

Show SharePrincipal Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.SharePrincipal

Generic SharePrincipal Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.SharePrincipal

Associated Types

type Rep SharePrincipal :: Type -> Type #

NFData SharePrincipal Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.SharePrincipal

Methods

rnf :: SharePrincipal -> () #

Hashable SharePrincipal Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.SharePrincipal

ToJSON SharePrincipal Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.SharePrincipal

type Rep SharePrincipal Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.SharePrincipal

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

newSharePrincipal Source #

Create a value of SharePrincipal 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:id:SharePrincipal', sharePrincipal_id - The ID of the recipient.

$sel:type':SharePrincipal', sharePrincipal_type - The type of the recipient.

$sel:role':SharePrincipal', sharePrincipal_role - The role of the recipient.

sharePrincipal_id :: Lens' SharePrincipal Text Source #

The ID of the recipient.