amazonka-workdocs-2.0: Amazon WorkDocs SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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
FromJSON 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 #

Show ShareResult Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.ShareResult

NFData ShareResult Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.ShareResult

Methods

rnf :: ShareResult -> () #

Eq ShareResult Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.ShareResult

Hashable 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" "amazonka-workdocs-2.0-2rElYnFvcad3yrUkWYMHCU" 'False) (C1 ('MetaCons "ShareResult'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "inviteePrincipalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "principalId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "role'") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe RoleType)))) :*: (S1 ('MetaSel ('Just "shareId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ShareStatusType)) :*: S1 ('MetaSel ('Just "statusMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive 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:inviteePrincipalId:ShareResult', shareResult_inviteePrincipalId - The ID of the invited user.

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

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

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

$sel:status:ShareResult', shareResult_status - The status.

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

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

The ID of the resource that was shared.