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

Description

 
Synopsis

Documentation

data Activity Source #

Describes the activity information.

See: newActivity smart constructor.

Constructors

Activity' 

Fields

Instances

Instances details
Eq Activity Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.Activity

Read Activity Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.Activity

Show Activity Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.Activity

Generic Activity Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.Activity

Associated Types

type Rep Activity :: Type -> Type #

Methods

from :: Activity -> Rep Activity x #

to :: Rep Activity x -> Activity #

NFData Activity Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.Activity

Methods

rnf :: Activity -> () #

Hashable Activity Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.Activity

Methods

hashWithSalt :: Int -> Activity -> Int #

hash :: Activity -> Int #

FromJSON Activity Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.Activity

type Rep Activity Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.Activity

newActivity :: Activity Source #

Create a value of Activity 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:resourceMetadata:Activity', activity_resourceMetadata - The metadata of the resource involved in the user action.

$sel:isIndirectActivity:Activity', activity_isIndirectActivity - Indicates whether an activity is indirect or direct. An indirect activity results from a direct activity performed on a parent resource. For example, sharing a parent folder (the direct activity) shares all of the subfolders and documents within the parent folder (the indirect activity).

$sel:initiator:Activity', activity_initiator - The user who performed the action.

$sel:participants:Activity', activity_participants - The list of users or groups impacted by this action. This is an optional field and is filled for the following sharing activities: DOCUMENT_SHARED, DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED, FOLDER_UNSHARED.

$sel:originalParent:Activity', activity_originalParent - The original parent of the resource. This is an optional field and is filled for move activities.

$sel:type':Activity', activity_type - The activity type.

$sel:commentMetadata:Activity', activity_commentMetadata - Metadata of the commenting activity. This is an optional field and is filled for commenting activities.

$sel:timeStamp:Activity', activity_timeStamp - The timestamp when the action was performed.

$sel:organizationId:Activity', activity_organizationId - The ID of the organization.

activity_resourceMetadata :: Lens' Activity (Maybe ResourceMetadata) Source #

The metadata of the resource involved in the user action.

activity_isIndirectActivity :: Lens' Activity (Maybe Bool) Source #

Indicates whether an activity is indirect or direct. An indirect activity results from a direct activity performed on a parent resource. For example, sharing a parent folder (the direct activity) shares all of the subfolders and documents within the parent folder (the indirect activity).

activity_initiator :: Lens' Activity (Maybe UserMetadata) Source #

The user who performed the action.

activity_participants :: Lens' Activity (Maybe Participants) Source #

The list of users or groups impacted by this action. This is an optional field and is filled for the following sharing activities: DOCUMENT_SHARED, DOCUMENT_SHARED, DOCUMENT_UNSHARED, FOLDER_SHARED, FOLDER_UNSHARED.

activity_originalParent :: Lens' Activity (Maybe ResourceMetadata) Source #

The original parent of the resource. This is an optional field and is filled for move activities.

activity_commentMetadata :: Lens' Activity (Maybe CommentMetadata) Source #

Metadata of the commenting activity. This is an optional field and is filled for commenting activities.

activity_timeStamp :: Lens' Activity (Maybe UTCTime) Source #

The timestamp when the action was performed.

activity_organizationId :: Lens' Activity (Maybe Text) Source #

The ID of the organization.