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

Description

Describes the user activities in a specified time period.

This operation returns paginated results.

Synopsis

Creating a Request

data DescribeActivities Source #

See: newDescribeActivities smart constructor.

Constructors

DescribeActivities' 

Fields

  • resourceId :: Maybe Text

    The document or folder ID for which to describe activity types.

  • includeIndirectActivities :: Maybe Bool

    Includes indirect activities. 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).

  • startTime :: Maybe POSIX

    The timestamp that determines the starting time of the activities. The response includes the activities performed after the specified timestamp.

  • authenticationToken :: Maybe (Sensitive Text)

    Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

  • userId :: Maybe Text

    The ID of the user who performed the action. The response includes activities pertaining to this user. This is an optional parameter and is only applicable for administrative API (SigV4) requests.

  • marker :: Maybe Text

    The marker for the next set of results.

  • endTime :: Maybe POSIX

    The timestamp that determines the end time of the activities. The response includes the activities performed before the specified timestamp.

  • limit :: Maybe Natural

    The maximum number of items to return.

  • activityTypes :: Maybe Text

    Specifies which activity types to include in the response. If this field is left empty, all activity types are returned.

  • organizationId :: Maybe Text

    The ID of the organization. This is a mandatory parameter when using administrative API (SigV4) requests.

Instances

Instances details
Eq DescribeActivities Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

Show DescribeActivities Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

Generic DescribeActivities Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

Associated Types

type Rep DescribeActivities :: Type -> Type #

NFData DescribeActivities Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

Methods

rnf :: DescribeActivities -> () #

Hashable DescribeActivities Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

AWSPager DescribeActivities Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

AWSRequest DescribeActivities Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

Associated Types

type AWSResponse DescribeActivities #

ToHeaders DescribeActivities Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

ToPath DescribeActivities Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

ToQuery DescribeActivities Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

type Rep DescribeActivities Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

type AWSResponse DescribeActivities Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

newDescribeActivities :: DescribeActivities Source #

Create a value of DescribeActivities 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:resourceId:DescribeActivities', describeActivities_resourceId - The document or folder ID for which to describe activity types.

$sel:includeIndirectActivities:DescribeActivities', describeActivities_includeIndirectActivities - Includes indirect activities. 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:startTime:DescribeActivities', describeActivities_startTime - The timestamp that determines the starting time of the activities. The response includes the activities performed after the specified timestamp.

$sel:authenticationToken:DescribeActivities', describeActivities_authenticationToken - Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

$sel:userId:DescribeActivities', describeActivities_userId - The ID of the user who performed the action. The response includes activities pertaining to this user. This is an optional parameter and is only applicable for administrative API (SigV4) requests.

$sel:marker:DescribeActivities', describeActivities_marker - The marker for the next set of results.

$sel:endTime:DescribeActivities', describeActivities_endTime - The timestamp that determines the end time of the activities. The response includes the activities performed before the specified timestamp.

$sel:limit:DescribeActivities', describeActivities_limit - The maximum number of items to return.

$sel:activityTypes:DescribeActivities', describeActivities_activityTypes - Specifies which activity types to include in the response. If this field is left empty, all activity types are returned.

$sel:organizationId:DescribeActivities', describeActivities_organizationId - The ID of the organization. This is a mandatory parameter when using administrative API (SigV4) requests.

Request Lenses

describeActivities_resourceId :: Lens' DescribeActivities (Maybe Text) Source #

The document or folder ID for which to describe activity types.

describeActivities_includeIndirectActivities :: Lens' DescribeActivities (Maybe Bool) Source #

Includes indirect activities. 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).

describeActivities_startTime :: Lens' DescribeActivities (Maybe UTCTime) Source #

The timestamp that determines the starting time of the activities. The response includes the activities performed after the specified timestamp.

describeActivities_authenticationToken :: Lens' DescribeActivities (Maybe Text) Source #

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

describeActivities_userId :: Lens' DescribeActivities (Maybe Text) Source #

The ID of the user who performed the action. The response includes activities pertaining to this user. This is an optional parameter and is only applicable for administrative API (SigV4) requests.

describeActivities_marker :: Lens' DescribeActivities (Maybe Text) Source #

The marker for the next set of results.

describeActivities_endTime :: Lens' DescribeActivities (Maybe UTCTime) Source #

The timestamp that determines the end time of the activities. The response includes the activities performed before the specified timestamp.

describeActivities_limit :: Lens' DescribeActivities (Maybe Natural) Source #

The maximum number of items to return.

describeActivities_activityTypes :: Lens' DescribeActivities (Maybe Text) Source #

Specifies which activity types to include in the response. If this field is left empty, all activity types are returned.

describeActivities_organizationId :: Lens' DescribeActivities (Maybe Text) Source #

The ID of the organization. This is a mandatory parameter when using administrative API (SigV4) requests.

Destructuring the Response

data DescribeActivitiesResponse Source #

See: newDescribeActivitiesResponse smart constructor.

Constructors

DescribeActivitiesResponse' 

Fields

Instances

Instances details
Eq DescribeActivitiesResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

Read DescribeActivitiesResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

Show DescribeActivitiesResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

Generic DescribeActivitiesResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

Associated Types

type Rep DescribeActivitiesResponse :: Type -> Type #

NFData DescribeActivitiesResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

type Rep DescribeActivitiesResponse Source # 
Instance details

Defined in Amazonka.WorkDocs.DescribeActivities

type Rep DescribeActivitiesResponse = D1 ('MetaData "DescribeActivitiesResponse" "Amazonka.WorkDocs.DescribeActivities" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "DescribeActivitiesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "userActivities") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Activity])) :*: (S1 ('MetaSel ('Just "marker") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newDescribeActivitiesResponse Source #

Create a value of DescribeActivitiesResponse 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:userActivities:DescribeActivitiesResponse', describeActivitiesResponse_userActivities - The list of activities for the specified user and time period.

$sel:marker:DescribeActivities', describeActivitiesResponse_marker - The marker for the next set of results.

$sel:httpStatus:DescribeActivitiesResponse', describeActivitiesResponse_httpStatus - The response's http status code.

Response Lenses

describeActivitiesResponse_userActivities :: Lens' DescribeActivitiesResponse (Maybe [Activity]) Source #

The list of activities for the specified user and time period.