code: public static ListObjectAttributesRequest getListObjectAttributesRequest(final String arnName,
                                                                               final String objectId) {
          return new ListObjectAttributesRequest()
              .withDirectoryArn(arnName)
              .withObjectReference(getObjectRefById(objectId));
      }
docs: Gets list object attributes request.
  
  @param arnName  the arn name
  @param objectId the object id
  @return the list object attributes request