AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::WorkDocs::Types::Activity

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Describes the activity information.

Instance Attribute Summary collapse

Instance Attribute Details

#comment_metadataTypes::CommentMetadata

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

Returns:

#initiatorTypes::UserMetadata

The user who performed the action.

Returns:

#is_indirect_activityBoolean

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

Returns:

  • (Boolean)

    Indicates whether an activity is indirect or direct.

#organization_idString

The ID of the organization.

Returns:

  • (String)

    The ID of the organization.

#original_parentTypes::ResourceMetadata

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

Returns:

#participantsTypes::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.

Returns:

#resource_metadataTypes::ResourceMetadata

The metadata of the resource involved in the user action.

Returns:

#time_stampTime

The timestamp when the action was performed.

Returns:

  • (Time)

    The timestamp when the action was performed.

#typeString

The activity type.

Possible values:

  • DOCUMENT_CHECKED_IN
  • DOCUMENT_CHECKED_OUT
  • DOCUMENT_RENAMED
  • DOCUMENT_VERSION_UPLOADED
  • DOCUMENT_VERSION_DELETED
  • DOCUMENT_VERSION_VIEWED
  • DOCUMENT_VERSION_DOWNLOADED
  • DOCUMENT_RECYCLED
  • DOCUMENT_RESTORED
  • DOCUMENT_REVERTED
  • DOCUMENT_SHARED
  • DOCUMENT_UNSHARED
  • DOCUMENT_SHARE_PERMISSION_CHANGED
  • DOCUMENT_SHAREABLE_LINK_CREATED
  • DOCUMENT_SHAREABLE_LINK_REMOVED
  • DOCUMENT_SHAREABLE_LINK_PERMISSION_CHANGED
  • DOCUMENT_MOVED
  • DOCUMENT_COMMENT_ADDED
  • DOCUMENT_COMMENT_DELETED
  • DOCUMENT_ANNOTATION_ADDED
  • DOCUMENT_ANNOTATION_DELETED
  • FOLDER_CREATED
  • FOLDER_DELETED
  • FOLDER_RENAMED
  • FOLDER_RECYCLED
  • FOLDER_RESTORED
  • FOLDER_SHARED
  • FOLDER_UNSHARED
  • FOLDER_SHARE_PERMISSION_CHANGED
  • FOLDER_SHAREABLE_LINK_CREATED
  • FOLDER_SHAREABLE_LINK_REMOVED
  • FOLDER_SHAREABLE_LINK_PERMISSION_CHANGED
  • FOLDER_MOVED

Returns:

  • (String)

    The activity type.