Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data Activity = Activity' {}
- newActivity :: Activity
- activity_resourceMetadata :: Lens' Activity (Maybe ResourceMetadata)
- activity_isIndirectActivity :: Lens' Activity (Maybe Bool)
- activity_initiator :: Lens' Activity (Maybe UserMetadata)
- activity_participants :: Lens' Activity (Maybe Participants)
- activity_originalParent :: Lens' Activity (Maybe ResourceMetadata)
- activity_type :: Lens' Activity (Maybe ActivityType)
- activity_commentMetadata :: Lens' Activity (Maybe CommentMetadata)
- activity_timeStamp :: Lens' Activity (Maybe UTCTime)
- activity_organizationId :: Lens' Activity (Maybe Text)
Documentation
Describes the activity information.
See: newActivity
smart constructor.
Activity' | |
|
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: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_type :: Lens' Activity (Maybe ActivityType) Source #
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.