AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

DescribeActivitiesInput

import "github.com/aws/aws-sdk-go/service/workdocs"

type DescribeActivitiesInput struct { ActivityTypes *string `location:"querystring" locationName:"activityTypes" min:"1" type:"string"` AuthenticationToken *string `location:"header" locationName:"Authentication" min:"1" type:"string" sensitive:"true"` EndTime *time.Time `location:"querystring" locationName:"endTime" type:"timestamp"` IncludeIndirectActivities *bool `location:"querystring" locationName:"includeIndirectActivities" type:"boolean"` Limit *int64 `location:"querystring" locationName:"limit" min:"1" type:"integer"` Marker *string `location:"querystring" locationName:"marker" min:"1" type:"string"` OrganizationId *string `location:"querystring" locationName:"organizationId" min:"1" type:"string"` ResourceId *string `location:"querystring" locationName:"resourceId" min:"1" type:"string"` StartTime *time.Time `location:"querystring" locationName:"startTime" type:"timestamp"` UserId *string `location:"querystring" locationName:"userId" min:"1" type:"string"` }

ActivityTypes

Type: *string

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

AuthenticationToken

Type: *string

Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.

EndTime

Type: *time.Time

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

IncludeIndirectActivities

Type: *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).

Limit

Type: *int64

The maximum number of items to return.

Marker

Type: *string

The marker for the next set of results.

OrganizationId

Type: *string

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

ResourceId

Type: *string

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

StartTime

Type: *time.Time

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

UserId

Type: *string

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.

Method

GoString

func (s DescribeActivitiesInput) GoString() string

GoString returns the string representation

SetActivityTypes

func (s *DescribeActivitiesInput) SetActivityTypes(v string) *DescribeActivitiesInput

SetActivityTypes sets the ActivityTypes field's value.

SetAuthenticationToken

func (s *DescribeActivitiesInput) SetAuthenticationToken(v string) *DescribeActivitiesInput

SetAuthenticationToken sets the AuthenticationToken field's value.

SetEndTime

func (s *DescribeActivitiesInput) SetEndTime(v time.Time) *DescribeActivitiesInput

SetEndTime sets the EndTime field's value.

SetIncludeIndirectActivities

func (s *DescribeActivitiesInput) SetIncludeIndirectActivities(v bool) *DescribeActivitiesInput

SetIncludeIndirectActivities sets the IncludeIndirectActivities field's value.

SetLimit

func (s *DescribeActivitiesInput) SetLimit(v int64) *DescribeActivitiesInput

SetLimit sets the Limit field's value.

SetMarker

func (s *DescribeActivitiesInput) SetMarker(v string) *DescribeActivitiesInput

SetMarker sets the Marker field's value.

SetOrganizationId

func (s *DescribeActivitiesInput) SetOrganizationId(v string) *DescribeActivitiesInput

SetOrganizationId sets the OrganizationId field's value.

SetResourceId

func (s *DescribeActivitiesInput) SetResourceId(v string) *DescribeActivitiesInput

SetResourceId sets the ResourceId field's value.

SetStartTime

func (s *DescribeActivitiesInput) SetStartTime(v time.Time) *DescribeActivitiesInput

SetStartTime sets the StartTime field's value.

SetUserId

func (s *DescribeActivitiesInput) SetUserId(v string) *DescribeActivitiesInput

SetUserId sets the UserId field's value.

String

func (s DescribeActivitiesInput) String() string

String returns the string representation

Validate

func (s *DescribeActivitiesInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: