code: @Override
      public DescribeActivitiesResult describeActivities(DescribeActivitiesRequest request) {
          request = beforeClientExecution(request);
          return executeDescribeActivities(request);
      }
docs: <p>
  Describes the user activities in a specified time period.
  </p>
  
  @param describeActivitiesRequest
  @return Result of the DescribeActivities operation returned by the service.
  @throws UnauthorizedOperationException
  The operation is not permitted.
  @throws UnauthorizedResourceAccessException
  The caller does not have access to perform the action on the resource.
  @throws InvalidArgumentException
  The pagination marker or limit fields are not valid.
  @throws FailedDependencyException
  The AWS Directory Service cannot reach an on-premises instance. Or a dependency under the control of the
  organization is failing, such as a connected Active Directory.
  @throws ServiceUnavailableException
  One or more of the dependencies is unavailable.
  @sample AmazonWorkDocs.DescribeActivities
  @see <a href="http://docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/DescribeActivities" target="_top">AWS
  API Documentation</a>