| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.WorkDocs.Types.Activity
Description
Synopsis
- data Activity = Activity' {}
- newActivity :: Activity
- activity_commentMetadata :: Lens' Activity (Maybe CommentMetadata)
- activity_initiator :: Lens' Activity (Maybe UserMetadata)
- activity_isIndirectActivity :: Lens' Activity (Maybe Bool)
- activity_organizationId :: Lens' Activity (Maybe Text)
- activity_originalParent :: Lens' Activity (Maybe ResourceMetadata)
- activity_participants :: Lens' Activity (Maybe Participants)
- activity_resourceMetadata :: Lens' Activity (Maybe ResourceMetadata)
- activity_timeStamp :: Lens' Activity (Maybe UTCTime)
- activity_type :: Lens' Activity (Maybe ActivityType)
Documentation
Describes the activity information.
See: newActivity smart constructor.
Constructors
| Activity' | |
Fields
| |
Instances
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:commentMetadata:Activity', activity_commentMetadata - Metadata of the commenting activity. This is an optional field and is
filled for commenting activities.
$sel:initiator:Activity', activity_initiator - The user who performed the 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:organizationId:Activity', activity_organizationId - The ID of the organization.
$sel:originalParent:Activity', activity_originalParent - The original parent of the resource. This is an optional field and is
filled for move activities.
$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:resourceMetadata:Activity', activity_resourceMetadata - The metadata of the resource involved in the user action.
$sel:timeStamp:Activity', activity_timeStamp - The timestamp when the action was performed.
Activity, activity_type - The activity type.
activity_commentMetadata :: Lens' Activity (Maybe CommentMetadata) Source #
Metadata of the commenting activity. This is an optional field and is filled for commenting activities.
activity_initiator :: Lens' Activity (Maybe UserMetadata) Source #
The user who performed the 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_originalParent :: Lens' Activity (Maybe ResourceMetadata) Source #
The original parent of the resource. This is an optional field and is filled for move activities.
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_resourceMetadata :: Lens' Activity (Maybe ResourceMetadata) Source #
The metadata of the resource involved in the user action.
activity_timeStamp :: Lens' Activity (Maybe UTCTime) Source #
The timestamp when the action was performed.
activity_type :: Lens' Activity (Maybe ActivityType) Source #
The activity type.