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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-workdocs/types.rb

Overview

Describes the activity information.

Constant Summary collapse

SENSITIVE =
[]

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.



115
116
117
118
119
120
121
122
123
124
125
126
127
# File 'lib/aws-sdk-workdocs/types.rb', line 115

class Activity < Struct.new(
  :type,
  :time_stamp,
  :is_indirect_activity,
  :organization_id,
  :initiator,
  :participants,
  :resource_metadata,
  :original_parent,
  :comment_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#initiatorTypes::UserMetadata

The user who performed the action.

Returns:



115
116
117
118
119
120
121
122
123
124
125
126
127
# File 'lib/aws-sdk-workdocs/types.rb', line 115

class Activity < Struct.new(
  :type,
  :time_stamp,
  :is_indirect_activity,
  :organization_id,
  :initiator,
  :participants,
  :resource_metadata,
  :original_parent,
  :comment_metadata)
  SENSITIVE = []
  include Aws::Structure
end

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


115
116
117
118
119
120
121
122
123
124
125
126
127
# File 'lib/aws-sdk-workdocs/types.rb', line 115

class Activity < Struct.new(
  :type,
  :time_stamp,
  :is_indirect_activity,
  :organization_id,
  :initiator,
  :participants,
  :resource_metadata,
  :original_parent,
  :comment_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#organization_idString

The ID of the organization.

Returns:

  • (String)


115
116
117
118
119
120
121
122
123
124
125
126
127
# File 'lib/aws-sdk-workdocs/types.rb', line 115

class Activity < Struct.new(
  :type,
  :time_stamp,
  :is_indirect_activity,
  :organization_id,
  :initiator,
  :participants,
  :resource_metadata,
  :original_parent,
  :comment_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#original_parentTypes::ResourceMetadata

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



115
116
117
118
119
120
121
122
123
124
125
126
127
# File 'lib/aws-sdk-workdocs/types.rb', line 115

class Activity < Struct.new(
  :type,
  :time_stamp,
  :is_indirect_activity,
  :organization_id,
  :initiator,
  :participants,
  :resource_metadata,
  :original_parent,
  :comment_metadata)
  SENSITIVE = []
  include Aws::Structure
end

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



115
116
117
118
119
120
121
122
123
124
125
126
127
# File 'lib/aws-sdk-workdocs/types.rb', line 115

class Activity < Struct.new(
  :type,
  :time_stamp,
  :is_indirect_activity,
  :organization_id,
  :initiator,
  :participants,
  :resource_metadata,
  :original_parent,
  :comment_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#resource_metadataTypes::ResourceMetadata

The metadata of the resource involved in the user action.



115
116
117
118
119
120
121
122
123
124
125
126
127
# File 'lib/aws-sdk-workdocs/types.rb', line 115

class Activity < Struct.new(
  :type,
  :time_stamp,
  :is_indirect_activity,
  :organization_id,
  :initiator,
  :participants,
  :resource_metadata,
  :original_parent,
  :comment_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#time_stampTime

The timestamp when the action was performed.

Returns:

  • (Time)


115
116
117
118
119
120
121
122
123
124
125
126
127
# File 'lib/aws-sdk-workdocs/types.rb', line 115

class Activity < Struct.new(
  :type,
  :time_stamp,
  :is_indirect_activity,
  :organization_id,
  :initiator,
  :participants,
  :resource_metadata,
  :original_parent,
  :comment_metadata)
  SENSITIVE = []
  include Aws::Structure
end

#typeString

The activity type.

Returns:

  • (String)


115
116
117
118
119
120
121
122
123
124
125
126
127
# File 'lib/aws-sdk-workdocs/types.rb', line 115

class Activity < Struct.new(
  :type,
  :time_stamp,
  :is_indirect_activity,
  :organization_id,
  :initiator,
  :participants,
  :resource_metadata,
  :original_parent,
  :comment_metadata)
  SENSITIVE = []
  include Aws::Structure
end