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

Description

 
Synopsis

Documentation

data ShareResult Source #

Describes the share results of a resource.

See: newShareResult smart constructor.

Constructors

ShareResult' 

Fields

Instances

Instances details
Eq ShareResult Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.ShareResult

Show ShareResult Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.ShareResult

Generic ShareResult Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.ShareResult

Associated Types

type Rep ShareResult :: Type -> Type #

NFData ShareResult Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.ShareResult

Methods

rnf :: ShareResult -> () #

Hashable ShareResult Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.ShareResult

FromJSON ShareResult Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.ShareResult

type Rep ShareResult Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.ShareResult

type Rep ShareResult = D1 ('MetaData "ShareResult" "Amazonka.WorkDocs.Types.ShareResult" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "ShareResult'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ShareStatusType)) :*: (S1 ('MetaSel ('Just "principalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "inviteePrincipalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "role'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RoleType)) :*: (S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "shareId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newShareResult :: ShareResult Source #

Create a value of ShareResult 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:status:ShareResult', shareResult_status - The status.

$sel:principalId:ShareResult', shareResult_principalId - The ID of the principal.

$sel:inviteePrincipalId:ShareResult', shareResult_inviteePrincipalId - The ID of the invited user.

$sel:role':ShareResult', shareResult_role - The role.

$sel:statusMessage:ShareResult', shareResult_statusMessage - The status message.

$sel:shareId:ShareResult', shareResult_shareId - The ID of the resource that was shared.

shareResult_shareId :: Lens' ShareResult (Maybe Text) Source #

The ID of the resource that was shared.